Hacker News new | ask | show | jobs
by tst 4394 days ago
As someone with no experience in computer graphics it's always insane to see demos like this. Especially using just around 250 lines of javascript. Really impressive.

Also on the topic, the demo scene stuff is mind blowing, too. [0]

[0]: http://awards.scene.org/awards.php

4 comments

The nice thing about this implementation is that the code is very clear and easy to follow. You could easily make it much shorter if that were the goal.
Exactly. I think that's wonderful about this example, it's not just 250 lines of heavily compressed code, it's readable and clean.
Me three. It's covered the 're-read in 6 months time' criteria. I must confess I do change from reading to scanning as soon as the heavy math kicks in.
There's a niche for a website that does a bunch of sub-500 LOC javascript examples of tiny bits of computer graphics, to give a very brief introduction and demonstration of the math, and which then chains them together for some other software.
Scripting languages are good for achieving low line count results.