Calculating Cubic Bezier Bounds

When working with path nodes, one very useful operation is rendering a Bezier curve. In most cases you don't really care about the bounds of the curve itself because it is a line, and usually the drawing area is of fixed size, or the view is movable. On the other…

Finding Initial Velocity Given Angle and Destination

Most of the time a physics problem involves using a given angle and velocity to figure out where a projectile lands. This is all well and good, but when working on a game with projectiles you already know where it should land, and what angle it should be launched at.…