Live data from Hacker News

Zen Photon Garden - Ray Tracing in the Browser

zenphoton.com

21–30 of 49 posts

Re: Zen Photon Garden - Ray Tracing in the Browser

#23
post #5

Talking about CPU intensive. Just opening the page consumes 50% of my CPU. While drawing it reached 70%.

On my machine - firefox 21 running on linux - it completely obliterates my RAM and the machine starts swapping.

Edit: tried it with a separate profile with no extensions installed. Same story. Just drawing ten walls and letting it sit there not doing anything, it's actively leaking memory. Right now, with just that page open, the firefox process has RSIZE of 450MB and VSIZE of 1.4GB.

Edit²: tried with chrome Version 29.0.1521.3 dev. Same thing.

Re: Zen Photon Garden - Ray Tracing in the Browser

#29
Piecewise, type-1, Wolter optics. From a useability perspective, I'd love the ability to either draw freehand lines, or splines. Also, a button / key to constantly keep the drawn lines visible would be nice. Amazingly cool little project though. http://zenphoton.com/#AAQAAkACAAEgdwEuACQA+wBdAPsA/wAAXQD7AK...

Re: Zen Photon Garden - Ray Tracing in the Browser

#30

Failed to make a laser: http://zenphoton.com/#AAQAAkACAAEgfwAFABkBCwAZATgA/wAADwErAy...

Not a laser, but I did make a parabolic reflector: http://zenphoton.com/#AAQAAkACAAEgfwAPAc4BCwHOATEA/wABygEQAd...

EDIT: this is broken. Here is fixed: http://zenphoton.com/#AAQAAkACAAEghQANAekBFwHqAS4A/wAB5wEbAf...

Post reply on HN