Last active
February 28, 2024 16:25
-
-
Save JanisErdmanis/8c2b46ce2c7d9822e76629854355790b to your computer and use it in GitHub Desktop.
PeaceFounder logo update
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
using Luxor | |
function make_path() | |
A = Point(-50, 0) | |
B = Point(50, 0) | |
C = Point(50, -100) | |
D = Point(150, -100) | |
move(A) | |
line(B) | |
carc2r(C, B, D) | |
line(C) | |
carc2r(B, C, A) | |
end | |
Drawing(600, 600, "logo.png") | |
origin(Point(300, 300)) # Set the origin to the center of the drawing area | |
background("black") | |
setcolor("#0c2636") | |
squircle(O, 180, 180, action=:fill) # Draw and fill the squircle | |
w = 8 | |
setline(w) | |
make_path() | |
sethue("#a51246") | |
fillpath() | |
# make_path() | |
# sethue(strokecolor) | |
# strokepath() | |
translate(-100, +100) | |
make_path() | |
sethue("#b76302") | |
fillpath() | |
# make_path() | |
# sethue(strokecolor) | |
# strokepath() | |
finish() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment