News for hackers. Stuff that matters.
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.
Re:It's always been you, Canvas2D by fserb on Saturday March 05, 2022 @07:26PM (#30573549)
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!