A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Generate parabola?

Threaded View

  1. #1
    anyone else hear that? flashpipe1's Avatar
    Join Date
    Jan 2003
    Location
    Upstate NY
    Posts
    1,929

    Generate parabola?

    I need to create a parabola between 3 points which are controlled by a slider:
    the two points where the parabola crosses the x plane
    the y location of the vertex of the parabola

    I've tried adapting the code in:
    http://www.flashkit.com/movies/Scrip...1568/index.php
    but that doesn't let you set the x points.

    I've got the code to set the location of the 3 points, but not sure what formula/convention I can use to draw the parabola between the points and have the ends extend across the grid?

    Anyone have any idea what formula I might use?

    See the attached file to see what I'm talking about...
    Last edited by flashpipe1; 08-27-2007 at 08:37 AM.
    Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.

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