News for hackers. Stuff that matters.
Re:Show HN: Canvas engines performance comparison – PixiJS, ... by bufferoverflow on Tuesday May 05, 2020 @10:16PM (#23087322)
> just draw a rectangle to a Texture once, and create a bunch of sprites using that Texture.

But then all of your boxes are the same. Which is not what this benchmark is.

We can conclude that Pixi.js is probably faster for drawing sprites, but is definitely slower than Two.js at drawing randomly sized rectangles.

Re:Show HN: Canvas engines performance comparison – PixiJS, ... by Aeolun on Tuesday May 05, 2020 @11:38PM (#23087693)
Not on my phone it isn’t. PixiJS is the only library that stays at 60fps, Two is at 30fps and Paper is at 15fps.
Re:Show HN: Canvas engines performance comparison – PixiJS, ... by thdrdt on Wednesday May 06, 2020 @05:25AM (#23089212)
I'm on a very slow phone but even here PixiJS is usable @ 10fps while the others barely touch 2fps.
Re:Show HN: Canvas engines performance comparison – PixiJS, ... by disqard on Wednesday May 06, 2020 @04:54AM (#23089081)
Same here (Samsung Note 8)
Re:Show HN: Canvas engines performance comparison – PixiJS, ... by georeith on Wednesday May 06, 2020 @09:18AM (#23090583)
but is definitely slower than Two.js at drawing randomly sized rectangles.

I pushed a fix, the way it was drawing randomly sized rectangles was an unfair comparison. It is much faster than Two.js now (tried it at 10000 rectangles too) and initialises much faster also.