The orthographic projection of a torus with a major radius R and a minor radius r.

R = 2.00

r = 1.00


Layers (from back to front): axes use SDF raymarching

ray-casted image, SVG wireframe, discretized outline, vectorized outline.


Drag graph to rotate, scroll graph to zoom, shift+drag to roll camera.


If there are black blobs on the ray-casted image, try to check the “use SDF ray marching” checkbox.

Chrome is the recommended web browser.