A GPU-accelerated light simulation web application that renders dynamic light sources
- Real-time light rendering with GPU.js acceleration
- Multiple light sources with color and intensity control
- Interactive light placement and manipulation
- Obstacle rendering with opacity effects
- Progressive Web App (PWA) support
Visit the live demo at: https://light..a-laud.ru
- Click: Add a new light source
- C key: Change the color of the main light source
- Mouse wheel: Change light intensity
- R key: Release control of the main light source
- H key: Hide/show all obstacles
- Space: Add/move random light sources
- Clone the repository:
git clone https://github.com/kshshe/light.git
cd light
- Install dependencies:
npm install
- Start the development server:
npm start
- Open your browser and navigate to
http://localhost:1234
npm run build
The production-ready files will be available in the dist
directory.