Maths and Graphs
By Maurice on Mar 29, 2009 in AS3, math
I often had a problem where I wanted something to look normal when the mousecursor was in the center of the stage, but had to look different when pointing to the left and/or right.
I remembered a formula at mathclass in which you could get a parabola graph, which was which I needed basically.
I also wanted to test out how to implement glow and blur filters which needed to change dynamically. My first attempts naturally caused Flash to crash. When you create a new filter every frame Flash kinda does that. When I finally came up with a solution I was amazed how smooth it suddenly ran. Ever since I've been interested with performance tuning.
URL: http://www.mauricemelchers.nl/experiments/10_math/index.html
Date: 2007


Sorry, comments for this entry are closed at this time.