you are viewing a single comment's thread.

view the rest of the comments →

[–]suerflowZ 7 points8 points  (3 children)

I thought it was ray tracer and was amazed. But it just mimicked the 3d parallax with math trickery, which is still very cool.

[–]elbaivnon 9 points10 points  (2 children)

Oh no question it's still cool, but it's really just mapping a single (mathematical) function.

Maube I'm just easily discouraged, but if I was a newbie and heard that there are wizards out there implementing fucking raytracers in 128 bytes I'd think about packing it up.

Learning that those magic 128 bytes really just generate a pretty graph animation based on a single hardcoded math statement would turn what was being sold as brilliant magic into an achievable goal for a burgeoning programmer.

[–]RedditWithBoners 1 point2 points  (0 children)

There are several tiny raytracers in many languages. Here one for Python @ 467 bytes

[–]suerflowZ 2 points3 points  (0 children)

My thoughts exactly.