ASCII Donut
The Rotating Torus
See the original blog post for more information.
This program was originally written in C, and then compiled to WebAssembly using Emscripten.
This program projects a parameterized 3D torus onto a 2D screen. Furthermore, all mathematical functions needed to render the torus are numerically appromixated with custom functions. This program was primarily written to utilize mathematical concepts learned from school.