forked from: Heart Math
forked from Heart Math (diff: 7)
ActionScript3 source code
/**
* Copyright tsu_droid ( http://wonderfl.net/user/tsu_droid )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/gUeF
*/
// forked from fila's Heart Math
package {
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
super.graphics.lineStyle(0.1, 0x123456);
with (Math) {
for(var t:Number = 0; t < 2; t+= 0.025) {
super.graphics.drawCircle(
50+15*16*sin(t)*sin(t)*sin(t),
100+15*(13*cos(t)-5*cos(2*t)-2*cos(3*t)-cos(4*t)),
20
);
}
}
}
}
}
