Lessons Learned from Gravity Animations


This entry is about programming computer animations based on the laws of physics. Gravity is probably one of the easiest and most fun computer animations to work on. Set a bunch of objects in motion and see what happens. Maybe add in a size for the objects and get some crashes, or add some walls and see these things bounce around, or… The animations […]

Adding Relativity to Gravity Animations


My last entry dealt with lessons learned while building a gravity animation. The animation works just like frames in a movie. Between each frame, the gravitational force between objects is calculated displayed on the screen as “Force”. This force is added to the current motion (momentum) of the object. The motion is added to the prior location of the object to get the new location of the object. […]

Modelling Black Holes and Singularities


Falling into a gravitational singularity presents a difficult challenge when animating the laws of physics. Although not discussing quite the same aspect of motion, Richard Feynman in The Character of Physical Law (1965) sums things up It always bothers me that according to the laws as we understand them today, it takes a computing machine an infinite number of logical operations to figure out […]