Tag Archives: Demo


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

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).

OpenGL Multi-Window, Multi-Context Demo


A demo of a small demo I created showing off multiple OpenGL windows, each with its own context. Note that the lag is because I was recording it, normally it runs just fine.

The demo was created using GLFW3, GLEW (compiled with the GLEW_MX directive) and GLM. You can see the full code here.

I tried multi-threading the demo but the frame rate dropped to around 60 fps from what is shown in the video, it also caused the Nvidia drivers to crash.

See here for some general information on using multiple OpenGL contexts.