Skip to content

toji/webgl2-particles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGL 2.0 particles test

View online at http://toji.github.io/webgl2-particles/

Uses Transform Feedback, a new feature of WebGL 2.0, to simulate 1 million particles. If WebGL 2.0 isn't available will fall back to WebGL 1.0 and track the simulation with render to floating point texture. Particles will spell out "WebGL 2" when using the 2.0 backend and "WebGL" when using WebGL 1.0.

Demo is based on a mashup of code from http://mrdoob.com/lab/javascript/webgl/particles/particles_zz85_2m.html and http://mrdoob.com/projects/christmasexperiments/2013/, both by the talented Ricardo Cabello (Mr. Doob)

Bonus: If you have a Leap Motion plug it in and wave your hands around. :)

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.3%
  • HTML 1.7%