three.proton
** This is a fork from https://github.com/a-jie/three.proton that I published on npm so I could use it in a project. I am not the original author. **
three.proton is a magical 3d particle engine using three.js. It is based on the Proton Engine library. It inherited Proton's most Api, and it was very, very easy to use.
I think it is the simplest three.js particle engine.Check out examples at https://a-jie.github.io/three.proton/
Features
-
Four kinds of renderers
- MeshRender
- SpriteRender
- PointsRender
- CustomRender
-
Three kinds of emitters which can simulate many different physical effects
- Emitter
- BehaviourEmitter
- FollowEmitter
-
Perfectly compatible with the three.js library.
Usage
var proton = ;var emitter = ; //setRateemitterrate = 4 16 01; //addInitializeemitter;emitter;emitter;emitter;emitter; //addBehaviouremitter;emitter; var color1 = ;var color2 = ;var colorBehaviour = color1 color2;emitter;emitter; //add emitterproton; //add rendererproton;
Building three.proton
Node is a dependency, use terminal to install it with with:
git clone git://github.com/a-jie/three.proton.git
Then navigate to the build directory by running:
cd ./build
Finally run the build command:
node build.js
License
Proton is released under the MIT License. http://www.opensource.org/licenses/mit-license