Resize canvas
I think it would be a good idea to have a resizeable canvas (to shrink and to grow the canvas size)
Needs more than just a title to be an accepted issue.
I have edit the issue
@andraantariksa Do you have an idea how the API for this could look like?
Due to the way pixels are stored, a mutating (changing the canvas it is called on) version of this is hard to implement.
The existing function Canvas.paste(canvas, x, y) can be used to insert a smaller canvas into a larger one.
A Canvas.cut(x, y, width, height) : Canvas function would be a nice addition, as a more flexible way to shrink a canvas.
@redcodefinal what do you think about that?