There really is no hope of making this code even half-way decent without
spending the time to rewrite them all properly. Don't want to do any of
that
This commit is contained in:
2025-11-03 17:08:35 +01:00
parent 21a17e33fa
commit ede0ee318b
48 changed files with 1219 additions and 582 deletions

View File

@@ -1,9 +1,10 @@
from turtle import*
from turtle import *
lt(90)
width(3)
speed(1000)
def stiel(orientation):
color("green")
for i in range(50):
@@ -13,31 +14,29 @@ def stiel(orientation):
else:
fd(7)
rt(1)
def leaves():
color("red")
for i in range(100):
fd(3)
rt(360/100)
def blume(orientation_in,blaetter):
rt(360 / 100)
def blume(orientation_in, blaetter):
stiel(orientation_in)
for i in range(blaetter):
leaves()
rt(360/blaetter)
rt(360 / blaetter)
ht()
blume(2,5)
blume(2, 5)
pu()
home()
fd(50)
lt(90)
pd()
blume(1,10)
exitonclick()
blume(1, 10)
exitonclick()