Hacker News new | ask | show | jobs
by taikahessu 791 days ago
OP script feels way more performant on mobile.
2 comments

And on Firefox for Mac. Noticed dropped frames pretty consistently in party.js. No such problem with Canvas Confetti, even when there are significantly more particles on screen. I had to increase the count to a point where I couldn't see gaps between them before I saw any lag whatsoever.
OP is more performant on desktop Windows as well. The other one visibly lags when animating even a single cannon of confetti.