Pendulum



History
I was 10th class scoolboy, and visit Ural Federal University’s “Open doors day”. Laboratory of Mechanics shows visitors computer simulation of the two pendulums with the rigid connection. They tell us that’s is difficult to made.

But I was inspired and made not rigid, by rubber-stick connected system of pendulums. It was implemented on Borland Pascal, DOS.

Namely, I model motion of the several balls, where one ball joined to to the fulcrum, the second to the first etc., all using the rubber sticks.

Since pendulum connected withfulcrum by a rubber stick is my “Hello world” app which I program on every new programming tool (Delphi, C++, openFrameworks, Processing).

Later in 2013 I started my book “Mastering openFramrworks” with this project.

Idea

Physical model

Code

Several pendulums


Remarks
How about using TensorFlow for pendulum simulation?
Also, Pendulum in Unreal Engine?





Video 1. Pendulum project



Fig. 1. Pendulum joined to fulcrum by a rubber stick
 



DENIS PEREVALOV, EKATERINBURG, RUSSIA.