Kjells FigurFinal
FigurKjell.py — Python Source, 1 KB (1901 bytes)
Dateiinhalt
from visual import * figur = frame() koerper = ellipsoid(frame = figur, height = 1,length = 0.5, width = 0.5,pos = (0,0,0),color = color.red, material = materials.wood) hitbox = box(frame = figur, pos = (0,0,0),height = 3, width = 2, length = 2, opacity = 0.001) gesicht = pyramid(frame = figur ,pos= (-0.1,0.7,0),size = (0.75,0.3,0.5),color = color.red, material = materials.wood, axis = (1,-1,0)) beinlinks = curve(frame = figur ,pos=[(0,-0.2,0),(0.2,-0.8,0.1),(-0.25,-1.1,0.25)], radius = 0.08,color = color.red, material = materials.wood) beinrechts = curve(frame = figur ,pos=[(0,-0.2,0),(0.25,-0.8,-0.25),(0.25,-1.1,-0.25)], radius = 0.08,color = color.red, material = materials.wood) armlinks = curve(frame = figur ,pos=[(0,0.45,0),(0,0,0.3),(0.25,-0.3,0.25)], radius = 0.08,color = color.red, material = materials.wood) armlinks = curve(frame = figur ,pos=[(0,0.45,0),(0,0,-0.3),(0.25,-0.3,-0.25)], radius = 0.08,color = color.red,material = materials.wood) augelinks = ellipsoid(frame = figur, pos = (0.1,0.68,0.1), length = 0.08,height = 0.05, width = 0.05, axis = (-0.5,0.9,0.25), material = materials.chrome,color = color.orange) augerechts = ellipsoid(frame = figur, pos = (0.1,0.68,-0.1), length = 0.08,height = 0.05, width = 0.05, axis = (-0.5,0.9,-0.25), material = materials.chrome,color = color.orange) ohrlinks = pyramid(frame = figur, pos = (-0.05,0.75,0.1), size = (0.35,0.1,0.1),axis = (-0.5,1,0), color = color.red, material = materials.wood) ohrrechts = pyramid(frame = figur, pos = (-0.05,0.75,-0.1), size = (0.35,0.1,0.1),axis = (-0.5,1,0), color = color.red, material = materials.wood) figur.pos =(0,0,0)