I have a JavaScript that renders a drawing on canvas taking into account three given variables. I would like it to function as an image that can be referred to
canvas