{data} = curve {data}

{head_rotX} @ {data} -> 45'
{head_posX} @ {data} -> 0
{head_posY} @ {data} -> 0
{head_posZ} @ {data} -> 0

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

{rightArm_rotX} @ {data} -> 0
{rightArm_rotY} @ {data} -> 0
{rightArm_rotZ} @ {data} -> 60'
{leftArm_rotX} @ {data} -> 0
{leftArm_rotY} @ {data} -> 0
{leftArm_rotZ} @ {data} -> -60'

{d} = sin(pi{data})
{leftLeg_rotX} @ {data} -> 0
{leftLeg_rotY} @ {data} -> -15'
{leftLeg_rotZ} @ {data} -> 0
{leftLeg_posX} @ {data} -> 4
{leftLeg_posY} @ {data} -> 6
{leftLeg_posZ} @ {data} -> 2{d}
{leftLeg_rotX} += 0{d}
{leftLeg_posZ} -= 0{d}
{rightLeg_rotX} @ {data} -> 85'
{rightLeg_rotY} @ {data} -> 15'
{rightLeg_rotZ} @ {data} -> 0
{rightLeg_posX} @ {data} -> -5
{rightLeg_posY} @ {data} -> 14
{rightLeg_posZ} @ {data} -> -2
{rightLeg_rotX} += 0{d}
{rightLeg_posY} -= 0{d}
{rightLeg_posZ} -= 0{d}

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