roxor Registered User |
Quote
|
2011-07-18 18:28:52 |
|
Quick question: we give CopperLicht the "desired" fps ie. 30 and then Copper does its magic. What I'm curious about is this, are you using JavaScript's setInterval to redraw, the "best practice" recommended "requestAnimationFrame" function provided by the modern browsers (WebKit, Mozilla, I think Opera too) or simply an infinite loop in a web worker?
|
niko Moderator |
Quote
|
2011-07-18 19:21:06 |
|
No, currently setInterval, unfortunately. Planning to move to requestAnimationFrame later. (This was added to the browsers when copperLicht was already several months old.)
|