Note: a more up-to-date version is shown at http://johnvalentine.co.uk/index.php?art=ray2
Renders a small ball, inside a reflective ellipsiod, producing complicated patterns.
Uses WebGL shaders, which may result in real-time animation: 60fps on a good graphics card [2014]. Works on mobile devices (even Galaxy S3), but typically with limited precision.
Currently comprises HTML+Javascript, and a supporting JavaScript framework.
-
Inject parameters into the script, and recompile shaders (detach, delete, etc).
-
UI for parameters.
-
UI for setting canvas size.
-
Resume after recompile, enabling seamless parameter changes, pausing, and URL-encoded state.
-
Produce high-resolution still image (requires all the above)