Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

WebGL Confetti

Interactive confetti simulation written with raw WebGL.

Features:

  • Scene can be rotated with the mouse.
  • Emitter's emitting-rate can be controlled via a slider.
  • Emitter and floor are 3D models made of triangles.
  • The particles can collide with the floor.
  • Fully shader-based

Usage

First build the Docker image:

docker build -t webgl_confetti .

Compile SASS and CoffeeScript with:

rake docker_build_dist

# To recompile assets when files change (uses fswatch):

rake docker_build_dist_and_watch

Serve assets via a local server:

cd src && python -m SimpleHTTPServer

Navigate to http://localhost:8000 in your browser.

Production

To build the public/ folder:

rake docker_build_public

Open public/index.html.

About

Interactive confetti simulation in raw WebGl.

Resources

Releases

No releases published

Packages

No packages published