Live data from Hacker News

A first-person engine in 265 lines of JS

playfuljs.com

11–20 of 99 posts

Re: A first-person engine in 265 lines of JS

#13
this is incredible. I remember doing something in C in openGL with triple the line count and not nearly as impressive results during a bachelor computer graphics class. This would have been a much more interesting lab.

Thanks for the great work, i can't wait to play around with this!

Re: A first-person engine in 265 lines of JS

#15
post #12

I'm really surprised that it's 265 and not 256... I mean, there's got to be a good reason not to make it a round number, right? I'm mind blown anyways...

Was shooting for 256 but went over to implement touch events ;)

Well I guess that's the downfall of the touch screen era

Re: A first-person engine in 265 lines of JS

#16
Raycasting brings back memories! I remember poring through raycasting techniques to make my Wolf and Doom clones as a teenager. When I was almost done I demoed this for a group of friends at our school's computer club and boy were they were impressed up until the point the clipping algorithm failed and objects stopped disappearing when they fell out of the players field of view. Was teased for months after that. ... .

Re: A first-person engine in 265 lines of JS

#19
post #3

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

Yep, kkrieger is the one I remember:

https://www.scene.org/file.php?file=%2Fparties%2F2004%2Fbrea...

Post reply on HN