Skip to content

Commit

Permalink
Merge pull request #5 from kaitabuchi314/main
Browse files Browse the repository at this point in the history
Port to processing.py and processing.java
  • Loading branch information
shiffman authored Sep 27, 2023
2 parents 4b8efd3 + 75d7c93 commit 27c520f
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 0 deletions.
46 changes: 46 additions & 0 deletions processingjava_logo.pde
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
void setup() {
size(400, 400);
strokeWeight(2.9166);
strokeCap(ROUND);
strokeJoin(ROUND);
}

void draw() {
background(255);
scale(4);
stroke(112, 50, 126);
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(48, 197, 243);
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(239, 99, 164);
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(112, 50, 126);
circle(35.104, 58.745, 13.23 * 2);

stroke(48, 197, 243);
strokeWeight(2.7978);
circle(55.298, 67.558, 4.516 * 2);

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

stroke(248, 158, 79);
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);
}
44 changes: 44 additions & 0 deletions processingpy_logo.pyde
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
def setup():
size(400, 400)
strokeWeight(2.9166)
strokeCap(ROUND)
strokeJoin(ROUND)

def draw():
background(255)
scale(4)
stroke(112, 50, 126)
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(48, 197, 243)
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(239, 99, 164)
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(112, 50, 126)
circle(35.104, 58.745, 13.23 * 2)

stroke(48, 197, 243)
strokeWeight(2.7978)
circle(55.298, 67.558, 4.516 * 2)

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

stroke(248, 158, 79)
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)

0 comments on commit 27c520f

Please sign in to comment.