3 ms·
That looks pretty neat: the use of context managers seems very nice. But is "canvas" (and "HtmlCanvas") meant to refer to the HTML5 <canvas> element? If not, I
by dbaupp 14y ago
That looks pretty neat: the use of context managers seems very nice.
But is "canvas" (and "HtmlCanvas") meant to refer to the HTML5 <canvas> element? If not, I can see that being a point of huge confusion.
- malbs 14y agono it isn't, and you raise a good point, I'll change it canvas.canvas() would definitely look weird