Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Domenicobrz/Lumen-2D
2D javascript renderer using web workers
https://github.com/Domenicobrz/Lumen-2D
Last synced: about 2 months ago
JSON representation
2D javascript renderer using web workers
- Host: GitHub
- URL: https://github.com/Domenicobrz/Lumen-2D
- Owner: Domenicobrz
- License: mit
- Created: 2019-03-11T13:34:14.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-29T02:09:01.000Z (about 5 years ago)
- Last Synced: 2024-08-01T22:01:17.842Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 232 KB
- Stars: 473
- Watchers: 16
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - Domenicobrz/Lumen-2D - 2D javascript renderer using web workers (JavaScript)
- awesome - Domenicobrz/Lumen-2D - 2D javascript renderer using web workers (JavaScript)
README
# 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](https://github.com/Domenicobrz/Lumen-2D/wiki)
Credits
------
I can't thank [Benedikt Bitterli](https://benedikt-bitterli.me/) enough for his post [The Secret Life of Photons](https://benedikt-bitterli.me/tantalum/), where he presented the derivation and usage of few BRDFs which I used in this project[Zhang Yuning / codeworm96](https://github.com/codeworm96) for his awesome renderer [light2d-rs](https://github.com/codeworm96/light2d-rs) and his inspiring work with simulating Beer-Lambert absorption in dielectric materials
[Nicholas Sherlock](https://github.com/thenickdude) - [webm-writer-js](https://github.com/thenickdude/webm-writer-js)
[Thom Chiovoloni](https://github.com/thomcc) - [quick-noise.js](https://github.com/thomcc/quick-noise.js)
[dandavis](https://github.com/rndme) - [download.js](https://github.com/rndme/download)