title: How do I make one image appear in random locations on a canvas each time it is loaded?
body: <p>I am making a simple game in which the player must find an image somewhere on a canvas. However, I would like to make this single image appear at different locations on the canvas and then stay there until the canvas is loaded again. In other words, I do not want the image to just keep randomly appearing on the canvas after a certain time interval. Instead, I would like for the position of the image to be randomized every time the canvas is loaded. Any suggestions?</p>