3 ms·
That's probably because I use HTML Canvas. The balls are currently not animated with CSS but with Javascript (in a requestAnimationFrame loop). Making a full DO
by gren 15y ago
That's probably because I use HTML Canvas. The balls are currently not animated with CSS but with Javascript (in a requestAnimationFrame loop).
Making a full DOM version with CSS Transitions (or Animations) would be probably better because it's hardware accelerated (especially on iOS).
Android browser has different support/behavior between android versions. Using lot of CSS Animations is in my opinion a little too ambitious (for now), that's why I stayed on a slower HTML Canvas solution.
But for iPhone / iPad, that's not the case, animations work better than Canvas, I have to try a DOM solution to increase these performance :)