Skip to content
The "Zen photon garden", an HTML5 raytracing art-toy.
C++ CoffeeScript Python JavaScript HTML Shell Makefile
Branch: master
Clone or download

Latest commit

scanlime Merge pull request #6 from PiOverFour/master
Exporters + ignore option
Latest commit caca2a9 Jun 26, 2018

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hqz Enable spot angle export + remove freestyle render Jun 26, 2018
html Reorganization to support hqz, initial import of RayChomper sources Apr 25, 2013
media Simple new logo Apr 12, 2013
.gitignore Exposure scaling by render area Apr 26, 2013
README.md Links to the hqz intro video May 14, 2013

README.md

Zen photon garden

This is a little HTML5 art toy about raytracing.

It's built for modern web browsers with a fast JavaScript engine, Web Workers, Typed Arrays, and Canvas.

There's a blog where you can read more about it, or you can try it out online.

Web App

The web app is written in a mix of JavaScript and CoffeeScript. You'll need the CoffeeScript compiler and jsmin to build it.

Everything related to the web app is contained in the html directory. The included shell scripts build.sh and deploy.sh are responsible for compiling, minifying and deploying the site.

During development, you will need to make the html directory accessible to a local web server. The file:// URI scheme won't work with Web Workers.

A debug mode is available by running build.sh debug. Minification is disabled, and it uses a fake implementation of Web Workers to facilitate source-level debugging.

Batch Renderer

An experimental batch rendererer called hqz (High Quality Zen) is under development in the hqz directory.

Contact

Zen photon garden was created by Micah Elizabeth Scott.

You can’t perform that action at this time.