Re:It's always been you, Canvas2D
by TazeTSchnitzel on Friday March 04, 2022 @06:55PM
(#30562253)
If they want to improve performance, it would be good to be able to specify a colour without invoking the CSS parser. If you animate 1000 coloured shapes at 60fps, the CSS parser is invoked 60,000 times per second. Seriously.
[ Parent
| on HN ]
We are on it. TypedOM for colors are coming very soon.
Re:It's always been you, Canvas2D
by TazeTSchnitzel on Sunday March 06, 2022 @08:17AM
(#30577388)
I'm very glad to hear that!