define 200 200
// Define crease pattern
c3d 0 1 c3d 0 3 c3d 0 2 c3d 1 3 c3d 0 8 c3d 8 3
c3d 0 4 c3d 4 1 c3d 6 0 c3d 6 1 c3d 6 2 c3d 6 3
// Movements with Accelerate Decelerate Interpolator (iad)
iad
t 100 ty 180;
// Fold one corner
offset 1 13 14 30 31
t 100 r 54 -180 3 17 19;
t 100 ty 180;
// Fold from top
t 100 rotate 27 165 5 22 2
// Lift up top right corner
t 100 r 53 -90 22 a 2 18
// Fold from right
t 100 r 45 165 7 12 1 a 2 18
// Flatten leg
t 100 r 53 60 22 a 2 18
// Lay leg flat
t 100 r 53 30 22 2 18
// Lift up bottom right corner
t 100 r 50 -90 12 a 1 24
// Fold from bottom
t 100 r 23 165 0 21 4 a 1 24
// Flatten leg
t 100 r 51 -60 12 a 1 24
// Lay leg flat
t 100 r 51 130 12 1 24;
// Lift bottom left corner
t 100 r 48 -90 21 a 0 9
// Fold from left
t 100 r 37 -165 8 a 0 9
// Flatten leg
t 100 r 48 -60 9 a 0 9
// Lay leg flat
t 100 r 48 -80 21 9 0
// Fold along median
t 100 r 28 -90 19 5 22 2 14 15 18 23 7 r 38 -90 3;
t 100 r 28 -80 19 5 22 2 14 15 18 23 7 a 3;
// Open front leg
t 100 r 28 0 9 10 21 20 8;
// Pretty
r 50 -5 12
offset // Remove offset for all faces
r 55 5 17 a 3 r 55 -5 19 a 3 // Beak
a 12
// Show
t 100 tz -45
iao
t 1000 z 0.5
t 1000 zf
iao
t 1000 ty 360