Recent Posts

Thursday, June 27, 2013

Radarbackground(0, 0, 0);

var angle = 0;

var draw = function() {
    resetMatrix();

    // draw a semi-transparent rectangle
    // over the whole screen
    fill(0, 0, 0, 10);
    stroke(0, 0, 0);
    rect(0, 0, 400, 400);

    // move (0, 0) to the center of the canvas
    // and rotate!
    translate(200, 200);
    rotate(angle);

    // draw the circles
    stroke(0, 245, 8);
    strokeWeight(1);
    noFill();
    ellipse(0, 0, 300, 300);
    ellipse(0, 0, 200, 200);
    ellipse(0, 0, 100, 100);
   
    // draw the line
    strokeWeight(3);
    line(0, 0, 0, -150);

    angle += 1;
};

0 comments:

Post a Comment

 

Subscribe to our Newsletter

Contact our Support

Email us: youremail@gmail.com

Our Team Memebers