Re:It's always been you, Canvas2D
by rikroots on Friday March 04, 2022 @08:58AM
(#30554762)
I, too, had to look it up. This is about adding a (pseudo) perspective effect to the 2D canvas yes? There is an open issue in the whatwg/html repo[1] asking for this functionality - I have no idea whether the request will be taken forward by any browsers.
The current solution is to "roll your own" functionality. It is doable - for instance I've added such functionality to my canvas library[2]. The results work, but are slower than ideal.
The current solution is to "roll your own" functionality. It is doable - for instance I've added such functionality to my canvas library[2]. The results work, but are slower than ideal.
[1] - https://github.com/whatwg/html/issues/5620
[2] - https://scrawl-v8.rikweb.org.uk/demo/dom-015.html