kkw-21 / Lumen-2D

2D javascript renderer using web workers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lumen 2D javascript renderer

How to use

  1. You need to enable this chrome flag to be able to use this project

    --enable-experimental-web-platform-features

    This is currently required because the project uses es6 modules inside webworkers

  2. Download the repo

  3. Inside the script ./libs/createScene.js you can code the scene you want to render

  4. Then simply open index.html with a local server


For an in-depth explanation on how to use Lumen-2D consult the wiki

Credits

I can't thank Benedikt Bitterli enough for his post The Secret Life of Photons, where he presented the derivation and usage of few BRDFs which I used in this project

Zhang Yuning / codeworm96 for his awesome renderer light2d-rs and his inspiring work with simulating Beer-Lambert absorption in dielectric materials

Nicholas Sherlock - webm-writer-js

Thom Chiovoloni - quick-noise.js

dandavis - download.js

About

2D javascript renderer using web workers

License:MIT License


Languages

Language:JavaScript 99.8%Language:HTML 0.1%Language:CSS 0.0%