Skip to content Skip to sidebar Skip to footer

How To Make My Drawing Put On The 1st Plan Of Canvas?

This blue circle is spawning back there, when I need him spawning on the front. What can be wrong? Is it because the canvas background loads only onmouseover? or because it's rando

Solution 1:

You simply forgot to call toit() after joonistaKohad(g); in the main draw loop. Since you clear the canvas, you have to redraw everything afterwise. Nice result by the way.

http://jsbin.com/UVoXOreV/1/

Post a Comment for "How To Make My Drawing Put On The 1st Plan Of Canvas?"