32 cubes are positioned randomly, and set to move along random vectors. This is then rendered to a texture which is applied to the background of the scene, and which can be stretched and rotated by the user via the node's attributes.
stretchiness SFFloat (input) How much the texture is stretched by in the x direction (bigger numbers == better).
rotation SFFloat (input) How much the texture is rotated (range: 0->1).
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE X3D> <X3D profile="Full"> <Scene> <NavigationInfo type="ANY"/> <Transform translation="0 0 -12"> <Shape> <Appearance> <Material diffuseColor="0.75 1 0.85"/> </Appearance> <StretchyBackground DEF="bob"/> </Shape> </Transform> </Scene> </X3D>