Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

heartsymbol #23

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 112 additions & 0 deletions place.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,117 @@ def draw_star(size, x, y):
penup()


<<<<<<< HEAD
# Ubuntu by Alen
forward(500)
pendown()
setup(640,640)
bgcolor('black')
col = '#DD4814'
R = 75
r = 38.91*R/100
w = 19.25*R/100
r2 = 13.39*R/100
r3 = 5.02*R/100
h = 3.77*R/100
l = 68.62*R/100
color(col)
up()
fd(R)
lt(90)
down()
begin_fill()
circle(R)
end_fill()
up()
color('white')
lt(90)
fd(R-(r+w))
rt(90)
down()
begin_fill()
circle(r+w)
end_fill()
up()
lt(90)
color(col)
fd(w)
rt(90)
down()
begin_fill()
circle(r)
end_fill()
up()
lt(90)
fd(r)
rt(120)
down()
color('white')
for i in range(3):
up()
fd(l+r2+r3)
lt(90)
down()
color(col)
begin_fill()
circle(r2+r3)
end_fill()
up()
lt(90)
fd(r3)
rt(90)
color('white')
down()
begin_fill()
circle(r2)
end_fill()
up()
color('white')
lt(90)
fd(l+r2)
rt(90)
down()
color(col)
begin_fill()
fd(h)
lt(90)
fd(r+w)
lt(90)
fd(h*2)
lt(90)
fd(r+w)
lt(90)
fd(h)
end_fill()
up()
lt(30)

# Draw heart
pen = Turtle()
def curve():
for i in range(200):
pen.right(1)
pen.forward(1)
def heart():
pen.left(140)
pen.forward(113)
curve()
pen.left(120)
curve()
pen.forward(112)
def txt():
pen.up()
pen.setpos(-200, 195)
pen.down()

pen.color('lightgreen')
pen.write("FOSSMEET'23", font=(
"Verdana", 12, "bold"))
heart()
txt()
pen.ht()
pen.end_fill()
=======

#turtle.Screen().bgcolor("black")
#turtle.speed(0)
Expand Down Expand Up @@ -574,3 +685,4 @@ def ring(col, rad):
r.forward(90.8)


>>>>>>> 1b178933f8ccd68a17e6e116973d74075d297991