davidedc / livecodelab

a web based livecoding environment
http://livecodelab.net/
MIT License
329 stars 63 forks source link

matrixes and geometry don't need to be moved around in "dead" frames #187

Closed davidedc closed 7 years ago

davidedc commented 11 years ago

"dead frames" are the frames too close to the playing of the next sample.

Still, in the "dead frames" the program is run and a bunch of matrixes and geometry is moved around (although not painted, which saves a lot of time). That doesn't need to happen, a simple flag could avoid that and hopefully make the samples playing even less laggy.

rumblesan commented 7 years ago

so now that the audio system has been simplified with either the web audio api or buzz, this isn't actually an issue any more is it?

rumblesan commented 7 years ago

going to close this as after having a look it's not an issue any more. the animation loop is totally separate from the audio triggering now.