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.


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.


Page chargée en 0.001 sec.

Dernière Modification : Jeu 12 Mai 2022 10:33
Copyright © 1999-2022 Jean-Paul Molina Tous droits réservés.


to Google