Vector Animator

tags: flash · actionscript2 · vector

Javascript & Flash required.
Step1: Get Flash Here
Step2: Enable Javascript.
Step3: Refresh.

This little Vector Animator Application was a side project that developed as I was working on implementing a simple physics model in flash that was meant to use a series of vectors to define the velocity, acceleration, steering force, etc.

Anyway, I didn't get much farther then defining my vector class, when I stumbled upon some interesting animations I could produce with this new class's rotation function. Essentially the function allows the vector to be rotated around an arbitrary point, and I noticed that manipulating this variable and the rotational angle could produce some interesting effects.

Some of the issues I would still like to work into this application include:

  • Ability to color the vectors (independently of each other)
  • Going along with the coloration ability, I'd like the user to be able to define a gradient (defined by a couple of colors) that the vector iterates over on each change of the frame, producing a transitional color fade.
  • The possibility to change the rotational centers at runtime (using an animated dragging handle).

Add A Comment

Some html formatting accepted. Please use Markdown syntax for entering formatting markup. All comments are moderated and we reserve the right to remove inappropriate material.