Type: Posts; User: bennyone

Search: Search took 0.00 seconds.

  1. that comman doesnt work properly i simplify my code

    var c=document.getElementById("myCanvas");

    var ctx=c.getContext("2d");


    ctx.clearRect(0, 0, canvas.width, canvas.height); // here we erase the screen...
  2. i dont know how to clear the screen properly whnever i do so i cant redraw the shapes

    i cant redraw the shapes again
    the code:


    <canvas id="myCanvas" width="1300" height="650" style="border:1px solid #d3d3d3;">
    Your browser does not support the HTML5 canvas...
Results 1 to 2 of 2
HTML5 Development Center

Recent Articles