the points of graphic

Klaus major-k klaus at major-k.de
Sun Jan 19 10:45:46 EST 2014


Hi Michael,

Am 19.01.2014 um 16:41 schrieb Michael Kristensen <michael-kristensen at dsa-net.dk>:

> hi Jim
> 
> ...
> I put it in a button in alejandros stack and get errors.

Replace cosine with COS and sine with SIN in the handler:
...
>    add L * cos(j*tAngle) to dx
>    subtract L * sin(j*tAngle) from dy
...
That does the trick :-)
And of course you need a polygon graphic named "polygon"!

> ...
> 
> Michael

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list