{data} = curve {data}

{head_rotX} @ {data} -> -45'
{head_rotY} @ {data} -'> -35'
{head_rotZ} @ {data} -> 0
{head_posX} @ {data} -> 0.5
{head_posY} @ {data} -> 0
{head_posZ} @ {data} -> -1

{body_rotX} @ {data} -> 0
{body_rotY} @ {data} -> 5'
{body_rotZ} @ {data} -> 0
{body_posX} @ {data} -> 0
{body_posY} @ {data} -> 0
{body_posZ} @ {data} -> 0

{rightArm_rotX} @ {data} -> -40'
{rightArm_rotY} @ {data} -'> 30'
{rightArm_rotZ} @ {data} -> 60'
{rightArm_posX} @ {data} -> -3
{rightArm_posY} @ {data} -> 5
{rightArm_posZ} @ {data} -> 2.5
{leftArm_rotX} @ {data} -> -60'
{leftArm_rotY} @ {data} -'> -10'
{leftArm_rotZ} @ {data} -> -30'
{leftArm_posX} @ {data} -> 4
{leftArm_posY} @ {data} -> 3
{leftArm_posZ} @ {data} -> -1

{d} = sin(pi{data})
{rightLeg_rotX} @ {data} -> -60'
{rightLeg_rotY} @ {data} -'> -5'
{rightLeg_rotZ} @ {data} -> -10'
{rightLeg_posX} @ {data} -> -3
{rightLeg_posY} @ {data} -> 8
{rightLeg_posZ} @ {data} -> -0.5
{rightLeg_rotX} += 40'{d}
{rightLeg_posY} -= 2{d}
{rightLeg_posZ} -= 4{d}
{leftLeg_rotX} @ {data} -> 0'
{leftLeg_rotY} @ {data} -> 5'
{leftLeg_rotZ} @ {data} -> -10
{leftLeg_posX} @ {data} -> 3
{leftLeg_posY} @ {data} -> 8
{leftLeg_posZ} @ {data} -> 0.5
{leftLeg_rotX} += 0'{d}
{leftLeg_posY} -= 2{d}
{leftLeg_posZ} -= 4{d}

out "pivot" (0, 0.56, 0)
out "translate" (0, -0.35{data}, 0.25{data})
out "rotate" (25{data}, 0, 0, 1)
out "rotate" (-20{data}, 0, 1, 0)
out "rotate" (-75{data}, 1, 0, 0)
