4 ms·
Do you know of any good resources that talk about using multiple canvases as layers? I have tried searching for some good examples, but I have been coming up em
by sunnynagra 14y ago
Do you know of any good resources that talk about using multiple canvases as layers? I have tried searching for some good examples, but I have been coming up empty.
Thanks
- shardling 14y agoI don't think there'd really be any trick to it -- you just have multiple canvases, and render different stuff on each one. The most trivial example would be to have a single background canvas that has stuff that'll never be redrawn. Remember that each canvas element is still part of the DOM, so you can put one on top of another just like you could with ordinary HTML.