a = 0 (slider from -5 to 10, step 0.1)
b = 0 (slider from -5 to 10, step 0.1)
c = 0 (slider from -5 to 10, step 0.1)
Dx: {{1, 0, 0}, {0, cos(a), (-sin(a))}, {0, sin(a), cos(a)}}
Dy: {{cos(b), 0, sin(b)}, {0, 1, 0}, {(-sin(b)), 0, cos(b)}}
Dz: {{cos(c), (-sin(c)), 0}, {sin(c), cos(c), 0}, {0, 0, 1}}
M: {{1, 2 / 3, 0}, {0, 1 / 3, 1}}
p1: (0, 0, 0)
p2: (1, 0, 0)
p3: (1, 1, 0)
p4: (0, 1, 0)
p5: (0, 0, 1)
p6: (1, 0, 1)
p7: (1, 1, 1)
p8: (0, 1, 1)
A: ((((M * Dx) * Dy) * Dz) * p1)
B: ((((M * Dx) * Dy) * Dz) * p2)
C: ((((M * Dx) * Dy) * Dz) * p3)
D: ((((M * Dx) * Dy) * Dz) * p4)
E: ((((M * Dx) * Dy) * Dz) * p5)
F: ((((M * Dx) * Dy) * Dz) * p6)
G: ((((M * Dx) * Dy) * Dz) * p7)
H: ((((M * Dx) * Dy) * Dz) * p8)
k1: B - A
k2: C - B
k3: D - A
k4: C - D
k5: E - A
k6: F - B
k7: G - C
k8: H - D
k9: F - E
k10: G - F
k11: H - E
k12: G - H