Helitorus

A helix with n windings around a torus, swept into a tube. Scittle computes the surface, the frame, the projection and the shading of every vertex on every frame. Output is a 2D canvas, no WebGL. Drag to turn, scroll to zoom.

fps
-
ms compute
-
ms draw
-
vertices / s
-

The surface comes from the MathBox.cljs helitorus notebook, where Emmy derives it symbolically. Emmy runs before the page does. What is left at runtime is arithmetic. The tangent here is the analytic derivative of the spine, written out.