Skip to content
Advertisement

Tag: rectangles

Javascript Canvas draw rectangles or circles

I’m searching for a way to “live” draw rectangles or circles on a canvas. I found various ways with fillRect() to draw rectangles, but not live. What I mean is, to be able to mouseDown() on one point and move it to another point in the canvas, which defines the size of the canvas, just like for example in Microsoft

Advertisement