wuerfel

Seitenmitten anzeigen

Verzerrung = 0.45 (slider from -1 to 1, step 0.05)
Größe = 3.3 (slider from 0 to 5, step 0.1)
a: 2.0 * Größe * cos(3.141592653589793 / 4.0)
Drehung = 0.7225663103256524 (slider from 0 to 12.566370614359172, step 0.031415926535897934)
b = CurveCartesian(Größe * cos(t), Verzerrung * Größe * sin(t) - 0.5 * a, t, 0.0, 6.28319)
W_01: b(Drehung + 3.141592653589793 / 2.0)
W_02: b(Drehung + 3.141592653589793)
W_04: b(Drehung)
W_03: b(Drehung - 3.141592653589793 / 2.0)
c = CurveCartesian(Größe * cos(t), Verzerrung * Größe * sin(t) + 0.5 * a, t, 0.0, 6.28319)
W_11: c(Drehung + 3.141592653589793 / 2.0)
W_12: c(Drehung + 3.141592653589793)
W_13: c(Drehung - 3.141592653589793 / 2.0)
W_14: c(Drehung)
w_{oben}, w_14, w_13, w_12, w_11 = Polygon(W_14, W_13, W_12, W_11)
w_{unten}, w_04, w_03, w_02, w_01 = Polygon(W_04, W_03, W_02, W_01)
w_r, w_1, w_2, w_3, w_4 = Polygon(W_11, W_01, W_02, W_12)
w_h, w_5, w_6, w_7, w_8 = Polygon(W_03, W_13, W_14, W_04)
w_{17}, w_9, w_{10}, w_{11}, w_{12} = Polygon(W_13, W_12, W_02, W_03)
w_v, w_{13}, w_{14}, w_{15}, w_{16} = Polygon(W_04, W_14, W_11, W_01)
A = Midpoint(W_01, W_12)
B = Midpoint(W_12, W_14)
C = Midpoint(W_11, W_04)
D = Midpoint(W_01, W_03)
E = Midpoint(W_03, W_14)
F = Midpoint(W_03, W_12)
d = false