Donut-shaped C code that generates a 3D spinning donut
9.2M views · 6 years ago · explainer · intermediate · evergreen
A video on the famous donut-shaped C program that prints a spinning 3D donut in ASCII characters. It shows the code and the rotation and projection math behind it.
HN people treat the C donut as a classic piece of programmer art, and bring it up in threads about ASCII graphics.
“Never forget the C donut”
4 comments from Hacker News