Skip to main content

Demonstrating Chaos Theory using a Double Pendulum

Journal Category

SnopyDogy

from

So I was watching the following video on YouTube the other day about Chaos and the Butterfly Effect.

After watching the video I though I’d have a go at duplicating the Double Pendulum demonstration in Unity. Turns out it wasn't that hard, just a few 2D rigid bodies and some hinge joints. After playing with the result for a while I added some interaction via the mouse so you can move the pendulum weights and a settings menu so you can tweak things I ended up with a cool little demo. Its really quite pretty. You can play around with it your self here or, if you prefer, you can try the WebGL/Plugin free version here (tho you will need a recent version of Chrome or Firefox).