90
edits
Line 6: | Line 6: | ||
==Group D== | ==Group D== | ||
==Rubab Paracha== | |||
void setup () { | |||
size (800,800); | |||
} | |||
void draw (){ | |||
element (); | |||
} | |||
void element () { | |||
frameRate(3); | |||
background (0); | |||
stroke(0); | |||
pushMatrix(); | |||
translate(width * 0.5, width * 0.5 ); | |||
for(int i= 3; i < width; i++){ | |||
rotate(mouseX * 0.0005); | |||
rect(i,i,30,30); | |||
fill(random(255),random(255),random(255), 150); | |||
} | |||
popMatrix(); | |||
} | |||
[[File:rubabpattern1.jpg|350px|thumb|]] | |||
[[File:rubabpattern2.jpg|350px|thumb|]] | |||
[[File:rubabpattern3.jpg|350px|thumb|]] | |||
=Maria Estel= | =Maria Estel= |
edits