News for hackers. Stuff that matters.
Re:It's always been you, Canvas2D by resonious on Friday March 04, 2022 @09:06AM (#30554880)
Makes sense but smells like a massive oversight in the API design. Really? No "clear the bitmap" function?
Re:It's always been you, Canvas2D by SQueeeeeL on Friday March 04, 2022 @09:16AM (#30555039)
Web dev is full of this kind of oversight (not defending it, it just has a lot of precedence)
Re:It's always been you, Canvas2D by jakelazaroff on Friday March 04, 2022 @09:51AM (#30555582)
There is now! Why it took so long is anyone’s guess.
Re:It's always been you, Canvas2D by greggman3 on Friday March 04, 2022 @12:40PM (#30557824)
there is clearRect
Re:It's always been you, Canvas2D by resonious on Friday March 04, 2022 @07:23PM (#30562475)
Right! But given the mysterious pink line that appears after drawing again (per the article), it seems that clearRect does something else.