A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Drawing an arc dynamically

Threaded View

  1. #2
    Senior Member realMakc's Avatar
    Join Date
    Oct 2002
    Posts
    923
    flash's curveTo draws bezier arc. it looks like this:

    so yes, if that's what you mean by arc, it will help. if you mean circle arc, you still could use multiple curveTo-s to draw it approximately. in either case, you will first have to decide how to deal with user input that does not resemble arc. commonly used method for this is least squares, but I bet the formula will turn out rather complex for the arc (edit: check this paper), so you should try something else.
    Last edited by realMakc; 10-07-2013 at 11:44 AM.
    who is this? a word of friendly advice: FFS stop using AS2

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center