Bezier Curve

Tutorials Shared by the Internet Community

Advertisements


Synopsis

Using the combination of drawing script and mouse detection script

Statistics

  • Total Hits - 26846

  • Total Votes - 100 votes

  • Vote Up - 43 votes

  • Vote Down - 57 votes

  • Domain - www.webzo.org

  • Category - Flash/Interactivity

  • Submitted By - Devesh Khanna

  • Submitted on - 2008-04-02 11:03:09

Description

In this tutorial you will learn how to make a curve using flash API and draw with a mouse movement.

This function is used to draw a curve, anchorX and anchorY are the position of the end of the curve. And controlX and controlY tell to which direction the curve is going to be draw.

If you test the code now you will notice that the framerate will go down after a while, that's because it's drawing to many lines. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements