first angle of rotation
speed for first angle of rotation
second angle of rotation
speed for second angle of rotation
thickness of donut
width of donut hole
distance of donut from camera
used to create cross section of donut
used to create donut
Based on the famous donut.c, rewritten in zig and compiled to wasm. Config values are sent from the html page to the wasm binary, with the output frame calculated and returned.
Please refer to donut.c
No, every frame of the animation above is ascii text output generated by a wasm program compiled from zig