2D Only Perspective Transform

One project that came up during my Master's program involved taking an arbitrarily manipulated pair of vectors (to form an oriented quad) in 2D and extending the information to derive the single-point perspective it represents. The goal was to subdivide the provided quad in a perspective-aware manner. The two main…

Calculating Cubic Bezier Bounds

One advantageous operation is rendering a Bezier curve when working with path nodes. In most cases, you do not care about the bounds of the curve itself because it is a line, the drawing area is of fixed size, or the view is movable. On the other hand, wanting to…

Finding Initial Velocity Given Angle and Destination

A physics problem typically involves using a given angle and velocity to determine 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 at what angle it should be launched. This article shows the…