Links und Funktionen
Sprachumschaltung

Navigationspfad


Inhaltsbereich

b15.4.

awesome.py — text/python-source, 1 KB

Dateiinhalt

# Testskript PSI 2011
#

from visual import *

teddy = frame()
scene.background = (1,1,1)
scene.foreground = (1,0,1)
kopf = frame(frame = teddy)
arml = frame(frame = teddy)
armr = frame(frame = teddy)
fussl = frame(frame = teddy)
fussr = frame(frame = teddy)
bauch = frame(frame = teddy)

kopfel= ellipsoid(pos=(0,3,0), length=1, height=0.9, width=0.9, frame = kopf)
kopfel2 = ellipsoid(pos=(.2,2.9,0), length=.8, height=.6, width=.6, frame = kopf)
nase = sphere(pos=(.59,2.95,0), radius = .05, color = (0,0,0), frame = kopf)
ohr1 = cone(pos=(-.05,3.2,-.2), axis=(0,.2,-.2),radius=.3, frame = kopf)
ohr2 = cone(pos=(-.05,3.2,.2), axis=(0,.2,.2),radius=.3, frame = kopf)
augel= ellipsoid(pos=(.4,3.1,-.2), length=.1, height=0.2, width=0.1,color = (0,0,0), frame = kopf)
auge2 = ellipsoid(pos=(.4,3.1,.2), length=.1, height=.2, width=.1, color=(0,0,0), frame = kopf)


Funktionsleiste