# Geometry Love

So this week I played on processing with some basic triangles. I used a bunch of math to do perfect locations, theres probably a less tedious way, but this will have to do until I learn some more about processing. I didn’t want to do anything too complicated.

Geometric Art

http://www.openprocessing.org/sketch/110419

The coding was relatively simple.

size (960, 560);
background (79,225,255);
noStroke ();

fill(72,205,255);
triangle (415,242, 480,205, 480,280);
fill(65,184,229);
triangle (415,242, 415,318, 480,280);
fill(54,154,191);
triangle (480,355, 415,318, 480,280);
fill(43,123,153);
triangle (480,355, 545,318, 480,280);
fill(36,102,127);
triangle (545,242, 545,318, 480,280);

fill(72,205,255);
triangle (415-2*65,242, 480-2*65,205, 480-2*65,280);
fill(65,184,229);
triangle (415-2*65,242, 415-2*65,318, 480-2*65,280);
fill(54,154,191);
triangle (480-2*65,355, 415-2*65,318, 480-2*65,280);
fill(43,123,153);
triangle (480-2*65,355, 545-2*65,318, 480-2*65,280);
fill(36,102,127);
triangle (545-2*65,242, 545-2*65,318, 480-2*65,280);

fill(72,205,255);
triangle (415+2*65,242, 480+2*65,205, 480+2*65,280);
fill(65,184,229);
triangle (415+2*65,242, 415+2*65,318, 480+2*65,280);
fill(54,154,191);
triangle (480+2*65,355, 415+2*65,318, 480+2*65,280);
fill(43,123,153);
triangle (480+2*65,355, 545+2*65,318, 480+2*65,280);
fill(36,102,127);
triangle (545+2*65,242, 545+2*65,318, 480+2*65,280);

fill(72,205,255);
triangle (415+65,242+2*65, 480+65,205+2*65, 480+65,280+2*65);
fill(65,184,229);
triangle (415+65,242+2*65, 415+65,318+2*65, 480+65,280+2*65);
fill(54,154,191);
triangle (480+65,355+2*65, 415+65,318+2*65, 480+65,280+2*65);
fill(43,123,153);
triangle (480+65,355+2*65, 545+65,318+2*65, 480+65,280+2*65);
fill(36,102,127);
triangle (545+65,242+2*65, 545+65,318+2*65, 480+65,280+2*65);

fill(72,205,255);
triangle (415-65,242+2*65, 480-65,205+2*65, 480-65,280+2*65);
fill(65,184,229);
triangle (415-65,242+2*65, 415-65,318+2*65, 480-65,280+2*65);
fill(54,154,191);
triangle (480-65,355+2*65, 415-65,318+2*65, 480-65,280+2*65);
fill(43,123,153);
triangle (480-65,355+2*65, 545-65,318+2*65, 480-65,280+2*65);
fill(36,102,127);
triangle (545-65,242+2*65, 545-65,318+2*65, 480-65,280+2*65);

fill(72,205,255);
triangle (415+65,242-2*65, 480+65,205-2*65, 480+65,280-2*65);
fill(65,184,229);
triangle (415+65,242-2*65, 415+65,318-2*65, 480+65,280-2*65);
fill(54,154,191);
triangle (480+65,355-2*65, 415+65,318-2*65, 480+65,280-2*65);
fill(43,123,153);
triangle (480+65,355-2*65, 545+65,318-2*65, 480+65,280-2*65);
fill(36,102,127);
triangle (545+65,242-2*65, 545+65,318-2*65, 480+65,280-2*65);

fill(72,205,255);
triangle (415-65,242-2*65, 480-65,205-2*65, 480-65,280-2*65);
fill(65,184,229);
triangle (415-65,242-2*65, 415-65,318-2*65, 480-65,280-2*65);
fill(54,154,191);
triangle (480-65,355-2*65, 415-65,318-2*65, 480-65,280-2*65);
fill(43,123,153);
triangle (480-65,355-2*65, 545-65,318-2*65, 480-65,280-2*65);
fill(36,102,127);
triangle (545-65,242-2*65, 545-65,318-2*65, 480-65,280-2*65);