Live data from Hacker News

Zen Photon Garden - Ray Tracing in the Browser

zenphoton.com

41–49 of 49 posts

Re: Zen Photon Garden - Ray Tracing in the Browser

#41
post #8
post #3

http://zenphoton.com/#AAQAAkACAAEgcgBRAdQBNQE2AZf/AAAB4wEAAW... http://zenphoton.com/#AAQAAkACAAEgfwAMAhwBUQJzAkT/AAACIAFWAb... http://zenphoton.com/#AAQAAkACAAEgfwBBAowA7ALwAML/AAACjwDrAo...

The first of those was enough to crash Chrome. Caution!

Somehow the site by itself was enough to crash firefox instantly. I tried it 3 times in a row, it consistently crashed on open, I'm using Firefox 18.0 on Ubuntu Precise, just in case the creator of the site runs around here.

Re: Zen Photon Garden - Ray Tracing in the Browser

#43

Sierpinski! http://zenphoton.com/#AAQAAkACAAEgXgB8AaYA2wJdANlWUlUCXgDZAg... Welp, that was way better than being productive. Shame it doesn't save the exposure level in the share link.

It's supposed to save the exposure in that link, and when I click the link it does open with a non-default exposure value. Hmm!

Re: Zen Photon Garden - Ray Tracing in the Browser

#44
post #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...

With zenphoton I really wanted to keep the user interaction model as simple as possible, since part of the 'zen' was in the drawing experience itself.

I made a more complex tool based on the same raytracing style, called High Quality Zen (HQZ). It has some support for representing curves as many small line segments with interpolated normals.

https://github.com/scanlime/zenphoton/tree/master/hqz

Re: Zen Photon Garden - Ray Tracing in the Browser

#47

It would be great if people actually checked the version of IE that you are using instead of just punting to an "oh noes!" screen.

It's checking for features, not the version and browser. And as for features, UInt8ClampedArray is missing from IE (it was seemingly a late addition to Typed Arrays and might not have been picked up in time).

That being said, it appears that there is a slower alternative that works just as well, but someone would have to code up a workaround for IE in this case. I would have done it if I knew any JS (or CoffeeScript in this case).

Re: Zen Photon Garden - Ray Tracing in the Browser

#48

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...

Two parabolic mirrors, to refocus the beam: http://zenphoton.com/#AAQAAkACAAEgXAAkAbIBEwGxASYA/wABsQEoAb...
Post reply on HN