# 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 approximated using built in arithmetic, such that no libraries are needed to run the program, except for printing functionality. This was primarily done as an exercise to utilize mathematical concepts from school.