zz85 / sparks.js

a lightweight 3d particle engine in javascript, compatible with THREE.js and TWEEN.js
435 stars 47 forks source link

"initialized" event ? #2

Closed jeromeetienne closed 12 years ago

jeromeetienne commented 12 years ago

many examples contains a "initialized" event which is never called from Sparks.js

is that obsolete code ?

jeromeetienne commented 12 years ago

pull request welcomed if i remove them ?

zz85 commented 12 years ago

yes, i guessed that's obsolete code.

the event created is used after a particle gets generated, and perhaps i was thinking of using initialized as a callback event after the emitter got initialized.

i'll be happy to accept a pull request! :)

jeromeetienne commented 12 years ago

pull request #5

zz85 commented 12 years ago

thanks again, jerome! :)