Physics-based simulation of a double pendulum using the 2D Rigid Body Physics Engine.
Also available: source code, documentation and how to customize.
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.