# Translation : Math eqns into Actionscript

**URL:** <https://forum.kirupa.com/t/translation-math-eqns-into-actionscript/210133>\
**Category:** flash\
**Created:** [December 15, 2006, 7:40am UTC](https://forum.kirupa.com/t/translation-math-eqns-into-actionscript/210133 "2006-12-15T07:40:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![manikk](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/manikk/32/3083_2.png) [@manikk](https://forum.kirupa.com/u/manikk)\
**Post date:** [December 15, 2006, 7:40am UTC](https://forum.kirupa.com/t/translation-math-eqns-into-actionscript/210133/1 "2006-12-15T07:40:40Z")

</div>

x = a (-t² + 40t +1200) sin(pi_t/180)  
y = a (-ti² + 40t +1200) cos(pi_t/180)

Can any one translates these equations into AS ? I take this eqn from [http://www.mathematische-basteleien.de/heart.htm](http://www.mathematische-basteleien.de/heart.htm) . Its basically the equation to create a heart shaped curve.
