DigiNews

Tech Watch by Johan Denoyer

← Back to articles

I wrote a ray tracer in Brainfuck

Quality: 8/10 Relevance: 7/10

Summary

A detailed account of implementing a ray tracer in Brainfuck, exploring fixed-point arithmetic (Q8.8, Q16.16), a custom SSA-like IR, and manual math in an esoteric language. The piece discusses design decisions, implementation tricks (move/copy primitives, short loops), and an open-source repo; it also reports performance estimates and output characteristics (23MB binary, about 100 ray calculations per minute, 400x225 image).

🚀 Service construit par Johan Denoyer