DEV Community

Cover image for HTML5 canvas - part 3: Images

HTML5 canvas - part 3: Images

Guillaume Martigny on May 22, 2018

Images In the second part, we used transformation give life to our rectangle. However, it was still a black rectangle ... not that aweso...
Collapse
 
matthewodle profile image
Matthew Odle

Nice post, Guillaume!

I'm curious: have you had problems with hundreds of images per frame? I find that past a certain point, the total disk read time is slower than the frame interval, and things slow way down.

Collapse
 
gmartigny profile image
Guillaume Martigny

Hi Matthew,

I never tried this, but you inspire me to. And in fact I face the same problem with even a few images (depend on computer perfs I guess).
I'll keep digging and maybe get back to you ;)

jsbin.com/jeruboj/edit?html,js,output