Skip to content

Commit

Permalink
use convenient values
Browse files Browse the repository at this point in the history
  • Loading branch information
Dipam Sen committed Sep 27, 2023
1 parent 7b636c8 commit 276c682
Showing 1 changed file with 28 additions and 29 deletions.
57 changes: 28 additions & 29 deletions sketch.js
Original file line number Diff line number Diff line change
@@ -1,47 +1,46 @@
function setup() {
createCanvas(400, 400);
strokeWeight(2.9166);
strokeWeight(11.6);
strokeCap(ROUND);
strokeJoin(ROUND);
}

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("#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(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("#30C5F3");
line(228, 158, 221, 112);
line(221, 112, 272, 112);
line(272, 112, 265, 158);

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);
stroke("#EF63A4");
line(313, 266, 289, 237);
line(289, 237, 305, 195);
line(305, 195, 289, 158);

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

stroke('#30C5F3');
strokeWeight(2.7978);
circle(55.298, 67.558, 4.516 * 2);
stroke("#30C5F3");
strokeWeight(11.2);
circle(221, 270, 18 * 2);

strokeWeight(2.7735);
circle(68.054, 67.597, 4.477 * 2);
strokeWeight(11.1);
circle(272, 270, 18 * 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);
stroke("#F89E4F");
strokeWeight(11.6);
line(267, 178, 267, 213);
line(247, 178, 247, 213);
line(227, 178, 227, 213);

line(68.005, 59.075, 55.308, 59.075);
line(272, 236, 221, 236);
}

0 comments on commit 276c682

Please sign in to comment.