News for hackers. Stuff that matters.
Re:A first-person engine in 265 lines of JS by masterj on Tuesday June 03, 2014 @03:26PM (#7842226)
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.
Re:A first-person engine in 265 lines of JS by huskyr on Wednesday June 04, 2014 @05:07AM (#7844664)
Exactly. I think that's wonderful about this example, it's not just 250 lines of heavily compressed code, it's readable and clean.