Newton's cradle twist

  • Email
  • Sharebar
  • Email
Andy's picture

Recently, there is discussion about pendulum wave effect produced using the Newton's cradle. There are many YouTube videos about pendulum waves. Having seen some of these "amazing" wave effect, I thought that VRMath2 Editor should be able to produce a fake, but good enough to show the effect of pendulum wave simulation. And here you go, see the 3D simulation below.

 In the above 3D virtual world, you will not see the wave start from the beginning. This is because that the startTime of the animating balls are set to an earlier time. In order to see the wave from the beginning, you will need to run the Logo program below in VRMath2 Editor.

The real pendulum simulation has gradual decreasing length for each ball to set its swing period. This fake simulation however, can directly set the swing period (i.e., cycleInterval in line 29-30). Another key tricky idea to synchronise the swing of 20 balls is to set the startTime of all the TimeSensors (see line 31). 

Files: pendulum_wave.x3d  pendulum_wave.logo

Facebook Comments Box