Following the previous post, I have re-created the animation using a non-linear dynamic analysis inside Strand7, rather than by feeding in the positions of each ball at each time step. The input using this approach is much simpler; just set each pendulum with an equal angular off-set, and specify the direction of gravity, and then let the program work out where they go. The first animation generated with this approach was visually nearly identical to the version generated with specified coordinates, which was encouraging, but didn’t make for a very interesting video. To add a bit of variety, and to replicate the behaviour of real pendulums more closely, I have also added some “viscous damping”, which gradually reduces the amplitude of each pendulums movement:

Pingback: Yet more pendulums | Newton Excel Bach, not (just) an Excel Blog

Pingback: Dancing Pendulums Revisited | Newton Excel Bach, not (just) an Excel Blog