Reminder: This code was hallucinated as an experiment using Gemini 2.5 Pro & Flash, so please approach it with caution. I directed and controlled the process, and I also fixed the compilation errors it contained.
This project is a software rasterizer written from scratch in the Nim programming language. Its goal is to faithfully emulate the iconic visual aesthetic of the original Sony PlayStation (PS1) by implementing the specific hardware limitations and graphical tricks that defined that era.
The entire renderer is contained in a single file (ps1_rasterizer.nim) with no external dependencies, making it a clear and self-contained educational resource.