Live data from Hacker News

Laservex: HTML5 Laser Puzzle Game

laservex.com

11–15 of 15 posts

Re: Laservex: HTML5 Laser Puzzle Game

#14
post #9

This is very cool. I would be interested in collaborating with you to add some more physics: refraction (laser passing through slabs of glass) and curved surfaces (parabolic mirrors and lenses using the thin-lens approximation). This would be the coolest way to learn about ray-optics.

Nice ideas! I have a small list of higher priority features to add first, but I am adding these to my queue:

- refraction polygons - concave/convex lenses - concave/convex mirrors

I think the easiest way to add these would be to just make them fixed objects in the level (so the only drag-able items would still be the straight mirrors).

Re: Laservex: HTML5 Laser Puzzle Game

#15
post #8

Earlier quoted context omitted.

I don't know if you want a hint, but... If you do it the right way, no tweaking is needed at all. (The puzzle can be viewed as a very nice illustration of ergodic trajectories.)

infinite power! http://imgur.com/AbvXE

In case people are curious, the reflection limit per laser is currently set to 500 to avoid infinite loops.
Post reply on HN