"olaf" - Processing

ID Autor Duplicat din Ultima modificare
#152 Petrusca Sergiu (PetruscaSergiu) - Marti, 14 iun 2016, 09:03
x
 
1
function setup() {
2
    createCanvas(400, 400);
3
    frameRate(0.90);
4
    
5
}
6
7
function draw() {
8
    background("#80ffff");
9
    strokeWeight(1);
10
    for( var i = 1; i <= 40; i++)
11
    {
12
      fill("white");
13
      stroke("lightgrey");
14
      ellipse(random(400), random(400), 10, 10);
15
    }
16
  
17
    fill("#b3ffff");
18
    stroke("#b3ffff");
Du-te sus!