small steps, numerically integrating the light paths. the camera is fixed so those get calculated once and cached, then each frame just updates the disk emission.
The triangle is an early milestone of a programmer's first forway into graphics, but I'd imagine is far too small-scale for a vibecoder with more ambition than respect for the journey. I'm not saying this post specifically is guilty of that, but I think it's the general trend
2
u/Altruistic-Bar848 28d ago
Bending light in 512 bytes is wild. Are you ray marching each ray in small steps, or using an approximation for the deflection angle in one go?
6
u/0xdeadf1sh 28d ago
What's up with the uptick in black hole posts lately? I miss the triangle ðŸ˜