i did add some simple ellipses within another ellipse with point at the centre for eyes, but it reduced the images stylised strength.
![](http://photos1.blogger.com/blogger/2576/3935/320/face%20and%20lines2.0.jpg)
the coding can be found here - http://www.ashthegreat.pwp.blueyonder.co.uk/facecodeblog.txt
Here i attempted to incorparate some for loops.
![](http://photos1.blogger.com/blogger/2576/3935/400/week4blog.jpg)
size (550,500);
for(int i=2; i<20; i++)
{
println(i);
fill(255,i*20,0);
rect(i*25,25,25,30);
}
The use of random
![](http://photos1.blogger.com/blogger/2576/3935/320/week5randomrectCC.jpg)
size(250,250);
background(0,0,0);
rect(random(250),random(250),random(250),random(250));
randomly placing the rectangle and having a random size.
the back ground colour and rectangle color can also easily be randomized by using
size(250,250);
background(random(255),random(255),random(255));
stroke(random(255),random(255),random(255),random(255));
fill(random(255),random(255),random(255),random(255));
rect(random(250),random(250),random(250),random(250));
BLOODY MAD FOR IT!!! :D
No comments:
Post a Comment