3D Graphics in Coda (Spinning Cube = 'Hello World')

Now that COVID lockdowns are gone, the Coder Dojo groups are meeting again.
I am teaching 3D graphics to youngsters to run on their smartphones and impress their friends.

In the world of 3d graphics programming, the simple spinning cube is equivalent to the first “Hello world” program that all students make as their first program.

This uses javascript and webgl via the famous three.js library to render a spinning cube. The code is sent from coda to my agile-dynamics server running on github, where it is returned as an <iframe> object containing the executing code.

Sometimes you have to toggle the Render? switch off and on again to restart the rendering.