Tute 2

by Nathan Dagher
  • Show Sketch
/**@peep sketchcode */
size(200, 200); // window size
background(0,255,255); // change color to green
 
println("Hello World!");
println("This is the console.");
 
stroke(255);
line(40, 40, 150, 150); // diagonal line
/* 
 begin
 shape figure
 diagonal design
*/
fill(250);
rect(150,150,6,6);
rect(120,120,8,8);
rect(90,90,10,10);
rect(60,60,15,15);
rect(30,30,20,20);

Comments

Nobody has said anything yet.