An open API service indexing awesome lists of open source software.

https://github.com/zalo/locuslucis

Light Simulation for HTML Elements
https://github.com/zalo/locuslucis

radiosity styling webgl2

Last synced: 3 months ago
JSON representation

Light Simulation for HTML Elements

Awesome Lists containing this project

README

        

# [LocusLucis](https://zalo.github.io/LocusLucis/)







Experiments in 2D Radiosity, trying to find the fastest method.

See Experiments here:
- [Analytic 2D Radiosity via Visible Angle Computation](https://zalo.github.io/LocusLucis/) (based on [Analytic Direct Illumination](https://www.shadertoy.com/view/NttSW7) by mathis)
- [2D Line Sweep Radiosity via Isovist Precomputation](https://raw.githack.com/zalo/LocusLucis/feat-line-sweep/index.html)
- [2D Radiosity via Per-Pixel Raytracing](https://raw.githack.com/zalo/LocusLucis/feat-raytracing/index.html)

# Building

This can either be run without building (in Chrome/Edge/Opera since raw three.js examples need [Import Maps](https://caniuse.com/import-maps)), or built with:
```
npm install
npm run build
```
If building manually, make sure to edit the index .html to point from `"./src/main.js"` to `"./build/main.js"`.

# Dependencies
- [three.js](https://github.com/mrdoob/three.js/) (3D Rendering Engine)
- [esbuild](https://github.com/evanw/esbuild/) (Bundler)