Skip to content
项目

关于

使用 Web Worker 的 2D JavaScript 渲染器

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
-2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…