Physics-based simulation of a double pendulum using the 2D Rigid Body Physics Engine.
Also available are: open source code, documentation and a simple-compiled version which is more customizable.
This also demonstrates drawing gradient and a bitmap image into a DisplayShape. The image of the truck is licensed under Creative Commons Attribution 3.0 License from Free FatCow-Farm Fresh Icons.
This web page was first published November 2016.