-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from kaitabuchi314/main
Port to processing.py and processing.java
- Loading branch information
Showing
2 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |