Personal tools
You are here: o studio 110 2016-17 tmp Inf 11 doku doku s py s upload haus klein - emily.py

Die einzige Konstante im Universum ist die Veränderung.

Heraklit von Ephesus

When you need a function, just declare it.

Anonymous 

 

Ego ist eine Illusion.

Marco Asam

Life is like a camera -
focus on what's important
capture the good times,
develop from the negatives
and if things don't work out
take another shot.

Anonymous

reset the rules.

sonnja genia riedl

creativity is subtraction.

Austin Kleon

Art is theft: It's not where you take things from, it's where you take them to. 

Daniel Cordera about the quote of Pablo Picasso

art ist for live, not live for art.

 

 

 

 

 

 

 

 

 

haus klein - emily.py

Emily

haus klein - emily.py — Python Source, 0Kb

File contents

from turtle import *


width(5)
#Häuschen
forward(50)
right(90)
forward(50)
right(90)
forward(50)
right(90)
forward(50)
#Dach
color("red")
right(45)
forward(36)
right(90)
forward(36)
penup()
setposition(17,-50)
right(45)
right(180)
#Tür
color("black")
down()
forward(25)
right(90)
forward(15)
right(90)
forward(25)
up()
#Sonne
ht()
setposition(100,100)
down()
st()
color("yellow")
begin_fill()
circle(20,360,20)
end_fill()
right(90)
forward(20)
up()
left(180)
forward(60)
down()
forward(20)
up()
left(180)
forward(40)
right(90)
forward(20)
down()
forward(20)
up()
right(180)
forward(60)
down()
forward(20)
up()
right(180)
forward(40)
right(45)
forward(20)
down()
forward(20)
up()
right(180)
forward(60)
down()
forward(20)
up()
right(180)
forward(40)
left(90)
forward(20)
down()
forward(20)
up()
right(180)
forward(60)
down()
forward(20)





Document Actions