nicbytes / webgl-line-animation

1 stars 0 forks source link

Threejs Support #1

Open sanchez opened 4 years ago

sanchez commented 4 years ago

I was hoping to add this to my threejs project but noticed there is no documentation on how to do this. Is there planed support in the future?

nicbytes commented 4 years ago

@sanchez threejs was looked at. The current approach is using canvas and manual webgl. The purpose of this project is to proviode clean and controlled 2d animations with a pixle based coordinate system. There's no planned support now, however, if threeJS can provide this and animation of lines with less difficulty, that would be awesome.

nicbytes commented 4 years ago

For the animation, perhaps using a function like requestAnimationFrame will be useful? What kind of support are you looking for?

sanchez commented 4 years ago

requestAnimationFrame is not a three.js feature and more a general browser thing that should be explored and utilized when looking at doing smooth and performant animations