Unit 6: Formula Sheet
2025, December 14
mindmap
root((Hardware Math))
Pixels
Resolution (WxH)
Aspect Ratio (W/H)
Speed
Refresh Rate (Hz)
Frame Time (1/Hz)
Dot Clock (Px * Hz)
Storage
Frame Buffer
W * H * Depth
mindmap
root((Algo Math))
Lines
DDA (Decimals)
Bresenham (2dy - dx)
Circles
Mid-Point (1-r)
Next if <0 (2x+1)
Next if >0 (2x-2y+1)
| Type | Formula |
|---|---|
| Translation | $x' = x + t_x$ $y' = y + t_y$ |
| Scaling | $x' = x \cdot s_x$ $y' = y \cdot s_y$ |
| Rotation | $x' = x\cos\theta - y\sin\theta$ $y' = x\sin\theta + y\cos\theta$ |
mindmap
root((Matrix Math))
Move
Translate (+)
Resize
Scale (*)
Spin
Rotate (Trig)
Distort
Shear (Add factor)
mindmap
root((3D Formulas))
Depth
Plane Eq (Ax+By..)
Z-Buffer (Compare Z)
View
Perspective (div Z)
Oblique (+ Offset)
Hidden
Dot Product
V dot N