I made a raytracer

i made a small ray tracing engine. for each pixel, it sends out a "ray" from the camera and detects a color based on the sphere it touches, where the light is, and if it can reflect. this is definitely lacking in features and could definitely be optimized, however.

Wow!good

hah thanks! i mostly just took the code from another site, but i still think it's great.

It doesn't seem to do anything for me :frowning: also congratulations on 6,000 topic!

it's very slow, and the spheres are randomly placed every time. however, as i said in the notes, higher resolution and lower bounces = faster render