Using Triangles

I have been into processing more and through the use of the tools I have learnt. I have used tools such as translate, setting integers for rotate and using scale. As can be seen below.

color[] reds={#FF0000, #BF3030, #A60000, #FF4040, #FF7373};
color[] yellows={#FFFD00, #BFBE30, #A6A500, #FFFE40, #FFFE73};
PFont f;
void setup(){
size(800,1600);
background(0);
smooth();
f = createFont(“Arial”,16,true); // Arial, 16 point, anti-aliasing on

}
int r=+1;
void draw(){
translate( width/2 , height/4 );
rotate(r);
noFill();
scale(2.5);
for(int i=0; i<width; i=i+50){
house(10,20);
stroke(255,12);
r=((r+1)%1000);
}
}

triangles

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s