Liquid-Red

A Python 3D rasterizer engine running entirely in the terminal. No GPU, no display server - just ASCII characters and math.

Built on perspective projection, barycentric rasterization, a z-buffer, and Lambert shading.

Features

  • Perspective projection with configurable focal length and zoom

  • Z-buffer for correct depth ordering

  • Barycentric triangle rasterization

  • Lambert shading with ASCII intensity ramp

  • Camera with yaw/pitch rotation and jump physics

  • Plane helpers (draw_plane_xy, draw_plane_xz, draw_plane_yz)

  • Solid cube + wireframe edges

  • Keyboard input via pynput