zz85 / sparks.js

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

Lastest Three.js lib #18

Closed tud0r closed 12 years ago

tud0r commented 12 years ago

Hey was just checking out your example here http://jabtunes.com/labs/particles/webgl_particles_shapes.html

For some reason when I update the urls for the js libraries to a relative urls pointing to my local copies of the Three.js it doesn't work ? RequestAnimationFrame.js doesn't seem to be in the examples directory in the lastest version of the Three.js library

I was wondering if the example is out of date with the newest version of the Three.js Library?

Thanks

T

tud0r commented 12 years ago

Updated the relevant lines to work with the latest Three.js library

zz85 commented 12 years ago

@tud0r yes, that's because the three.js library api has changed.

the examples in this github repository or even those on the three.js repo should work.

http://mrdoob.github.com/three.js/examples/webgl_particles_shapes.html

tud0r commented 12 years ago

Cool thanks