Project Description
The aim of this project was to perform real-world like
animation, perform numerically controlled steering and
discover how small distortions influence mechanical system.
There is a piston and user sets its initial properties like initial
angular velocity, piston mass, rod mass, wheel’s mass. Next he
can make it animating. There is a Hamilton mechanics task
solved on each animation step. For solving differential
equations I used Runge-Kutta 4th
order method. While
animating user can change error of rod’s length (normal
probabilistic distribution), or change another parameters and
see how does it influence mechanical system on charts.

The mechanics of the system and numerical solution has been explained at my blog:

Last edited Feb 4, 2012 at 9:18 AM by gpone, version 4