Share your repls and programming experiences

← Back to all posts
Console Ray Tracer
masonclayton (13)

https://repl.it/@masonclayton/console-ray-tracer

Here's a ray tracer in go which outputs colored ascii. It only supports basic solid spheres and cheats by tracing backwards from the camera. By default it renders a scene with two lights rotating around a sphere.
Read more about ray tracers here https://en.wikipedia.org/wiki/Ray_tracing_(graphics\)

Commentshotnewtop
JacobRogers (30)

cool. I have a javascript one too. It has similar capabilities to your ray-tracer.