void setup()
{
size(800,600);
}
void draw()
{ background(200);
smooth();
letterO(20,0,1,0,0,250);
letterK(140,30,1.3,100,200,0);
letterA(250,30,1.6,200,0,200);
letterY(400,30,1.9,200,200,0);
letterY(20,200,1.9,200,0,0);
letterA(140,235,1.6,200,100,0);
letterK(320,270,1.3,0,0,100);
letterO(440,270,1,0,0,0);
}
void letterY(int X, int Y,float S,int R,int G,int B)
{
stroke(R,G,B);
strokeWeight(S*20);
line(S*0+X,S*0+Y,S*30+X,S*50+Y);
line(S*30+X,S*50+Y,S*60+X,S*0+Y);
line(S*30+X,S*50+Y,S*30+X,S*100+Y);
}
void letterK(int X, int Y,float S,int R,int G,int B)
{
stroke(R,G,B);
strokeWeight(S*20);
line(S*0+X,S*0+Y,S*0+X,S*100+Y);
line(S*0+X,S*50+Y,S*60+X,S*0+Y);
line(S*0+X,S*50+Y,S*60+X,S*100+Y);
}
void letterA(int X, int Y,float S,int R,int G,int B)
{
stroke(R,G,B);
strokeWeight(S*20);
line(S*40+X,S*0+Y,S*0+X,S*100+Y);
line(S*40+X,S*0+Y,S*80+X,S*100+Y);
line(S*20+X,S*60+Y,S*60+X,S*60+Y);
}
void letterO(int X, int Y,float S,int R,int G,int B)
{
stroke(R,G,B);
fill(R,G,B);
ellipse(S*30+X,S*80+Y,60,100);
fill(200);
ellipse(S*30+X,S*80+Y,50,80);
}