An experiment to showcase the new StageGL functionality in EaselJS
Check the index.js file for the code that runs the demo. If you want to modify index.js, make sure that the index.html file is pointed to it. There is no build process or testing setup for this. Use whatever HTTP server you have installed locally. If you don't have one I recommend the npm package
If you're interested in the Vector3 implementation, it's from our Vexr library. I ended up using less of it that I had initially planned because Vector math can get a bit CPU intensive. It really adds up with 5-10k particles flying around. But if you're on a desktop Core i7, you should be able to chew through quite a few.
If you want to be able to add beams with the click of a button, set the
true on Line 129