The purpose is to show how to draw a circle using a script and to the difference between the use of methods curveto and lineTo.

⇒ animation ⇐

1 - Set up movie sizes 600x400. Any Frame Rate and background color 'll fit.

2 - In Outline, select Scene_1. Enter the following script :

Remarks :
First define level which clip 'll be inserted in, centre (xc,yc), ray R then colors we 'll use (hexa)
With curveto, to understand what happens, watch out how the 4th is drawn.

A circle is drawn using param coordinates with 1000 points to get a fine resolution.

Conclusion : You can thus notice that using curveTo isn't a good way to proceed.


Member of the Anti Hacker Alliance

Select a language if you need :

Page chargée en 0.002 sec.

Dernière Modification : Mar 8 Octobre 2019 10:43
Copyright © 1999-2020 Jean-Paul Molina Tous droits réservés.

to Google