There’s an artist named Piter Pasma that prominently displayed his code as part of the art. He made a lightweight ray tracing algorithm that uses SDFs to draw anything from any perspective. His ray tracing algorithm is only like 400 characters or something so he released it alongside the art.
Here’s his site: https://piterpasma.nl/