TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Zen Photon Garden

114 pointsby GeorgeHahnover 9 years ago

9 comments

gbergerover 9 years ago
Pretty cool!<p>I like the shareable URLs, but I don&#x27;t like how it breaks the back button.<p>Use `location.replace` to avoid this.
lifthrasiirover 9 years ago
Pretty.<p>I had obviously expected that, but the large number of reflective surfaces [1] greatly reduces the performance. The author explained in the blog post [2] that it is a path tracing (Monte Carlo simulation of multiple random rays incrementally averaged) and probably it is hard to limit the number of bounces small while maintaining the image quality. Indeed, the source code [3] says a hard limit of 1000 bounces, not big but not that small either.<p>[1] Something like <a href="http:&#x2F;&#x2F;is.gd&#x2F;cFDlq5" rel="nofollow">http:&#x2F;&#x2F;is.gd&#x2F;cFDlq5</a><p>[2] <a href="http:&#x2F;&#x2F;scanlime.org&#x2F;2013&#x2F;04&#x2F;zen-photon-garden&#x2F;" rel="nofollow">http:&#x2F;&#x2F;scanlime.org&#x2F;2013&#x2F;04&#x2F;zen-photon-garden&#x2F;</a><p>[3] <a href="https:&#x2F;&#x2F;github.com&#x2F;scanlime&#x2F;zenphoton&#x2F;blob&#x2F;bea23c1&#x2F;hqz&#x2F;src&#x2F;zrender.cpp#L329" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;scanlime&#x2F;zenphoton&#x2F;blob&#x2F;bea23c1&#x2F;hqz&#x2F;src&#x2F;z...</a>
评论 #11032458 未加载
dylanzover 9 years ago
I just played with this for too long, and I made some images I&#x27;d want to hang on my wall.
smlacyover 9 years ago
Every time I see this link, which is about every year or so, I spend an inordinate amount of time trying to build a &quot;laser&quot;. It really feels possible, using a combination of diffuse&#x2F;reflective to &quot;corral&quot; all the light into going mostly in the same direction. Would love to see if anyone has gotten close.
评论 #11033362 未加载
评论 #11034044 未加载
评论 #11032495 未加载
tobrover 9 years ago
I would love to see a version where you could draw Bézier curves!
thenomadover 9 years ago
Very cool indeed. Surprisingly expressive.<p>My one issue - the diffuse&#x2F;reflective&#x2F;transmissive sliders don&#x27;t seem to cause the image to update?
评论 #11034166 未加载
eruover 9 years ago
We had a good discussion going on when this was submitted before.<p>Zen Photon Garden is always a nice thing to play around with.<p>I even wrote a patch that made the rays deterministic when you draw extra walls. It reduced the flickering, but I learned that this was part of the aesthetics, so it was less fun to play with.
personjerryover 9 years ago
I thought it was a pretty good quality simulation, because after drawing some surfaces, dragging the Exposure tab from bottom to top made me flinch at the seeming &quot;brightness&quot;.
progrocks9over 9 years ago
A stupid question, how this is related to zen?
评论 #11031732 未加载
评论 #11032099 未加载
评论 #11032081 未加载