This demo was developed by Steve Hannah as part of a tutorial to teach low level graphics programming, this tutorial was folded into the developer guide graphics section. We modernized some of the boilerplate code that was improved since the original demo.
You can try the demo live in the web using the JavaScript port here or check out other ports in the demo page.