Skip to content

Commit

Permalink
Merge pull request #6 from dipamsen/fix-vals
Browse files Browse the repository at this point in the history
Using whole numbers (easier to work with)
  • Loading branch information
shiffman authored Sep 27, 2023
2 parents 7b636c8 + 69a5bf6 commit 4b8efd3
Showing 1 changed file with 34 additions and 37 deletions.
71 changes: 34 additions & 37 deletions sketch.js
Original file line number Diff line number Diff line change
@@ -1,47 +1,44 @@
function setup() {
createCanvas(400, 400);
strokeWeight(2.9166);
strokeCap(ROUND);
strokeJoin(ROUND);
noFill();
}

function draw() {
background(255);
scale(4);

stroke('#70327E');
line(25.631, 44.613, 25.631, 34.251);
line(25.631, 34.251, 22.581, 34.251);
line(22.581, 34.251, 22.581, 27.926);
line(22.581, 27.926, 49.61, 27.926);
line(49.61, 27.926, 49.61, 39.409);

stroke('#30C5F3');
line(57.015, 39.409, 55.198, 27.926);
line(55.198, 27.926, 68.114, 27.926);
line(68.114, 27.926, 66.298, 39.409);

stroke('#EF63A4');
line(78.126, 66.499, 72.372, 59.146);
line(72.372, 59.146, 76.229, 48.65);
line(76.229, 48.65, 72.282, 39.409);

noFill();
stroke('#70327E');
circle(35.104, 58.745, 13.23 * 2);

stroke('#30C5F3');
strokeWeight(2.7978);
circle(55.298, 67.558, 4.516 * 2);

strokeWeight(2.7735);
circle(68.054, 67.597, 4.477 * 2);

stroke('#F89E4F');
strokeWeight(2.9166);
line(66.68, 44.613, 66.68, 53.135);
line(61.656, 44.613, 61.656, 53.135);
line(56.632, 44.613, 56.632, 53.135);

line(68.005, 59.075, 55.308, 59.075);
strokeWeight(11.6);
stroke("#70327E");
line(103, 178, 103, 137);
line(103, 137, 90, 137);
line(90, 137, 90, 112);
line(90, 112, 198, 112);
line(198, 112, 198, 158);

stroke("#30C5F3");
line(228, 158, 221, 112);
line(221, 112, 272, 112);
line(272, 112, 265, 158);

stroke("#EF63A4");
line(313, 266, 289, 237);
line(289, 237, 305, 195);
line(305, 195, 289, 158);

stroke("#70327E");
circle(140, 235, 53 * 2);

strokeWeight(11.2);
stroke("#30C5F3");
circle(221, 270, 18 * 2);
circle(272, 270, 18 * 2);

stroke("#F89E4F");
strokeWeight(11.6);
line(267, 178, 267, 213);
line(247, 178, 247, 213);
line(227, 178, 227, 213);

line(272, 236, 221, 236);
}

0 comments on commit 4b8efd3

Please sign in to comment.