Curve Experiment 2 – Plant Growth

Creating the slug has taught me a ton about the new capabilities in AS2. I have used the curve developed for the slug to create a fern. The leaves of the frond grow as you stretch the curve which required calculating the length of the curve. The most surprising part of this is what is involved in calculating the length of a quadratic bezier curve. Initially I figured there would be a nice simple equation to spit out the length. Apparently there isn’t. And you have to iterate over the curve to get an approximate length which hurts a bit. Oh well…

Don’t have flash? Get it here

One Response to “Curve Experiment 2 – Plant Growth”

  1. skye Says:

    yo brett add me on linkedin
    whats cracking?

Leave a Reply