Systems

The Donut Of Great Rotation

A C++ renderer that projects a rotating torus onto the terminal with perspective projection, a depth buffer and surface lighting mapped to an ASCII luminance ramp. It reads the terminal size with ioctl to scale and center the frame, and it needs only the C++ standard library.

Stack
C++17, POSIX ioctl, ANSI escapes
Code
github.com/ADM1SH/the-donut-of-great-rotation

Overview

Install

Run the executable in your terminal:

./Donut

To stop execution, press Ctrl+C.

Updates

  • docs: update README with comprehensive documentation
  • docs: expand README to open source standards
  • docs: add detailed README with project overview and build instructions
  • final itteration

Docs

The full documentation covers how it works, configuration and results.