mix, smoothstep, clamp
mix(a, b, t) blends smoothly between two values — perfect for color gradients and transitions. smoothstep(edge0, edge1, x) maps a value into a smooth S-curve between 0 and 1, giving you soft edges instead of harsh cutoffs. clamp(x, min, max) keeps a value within bounds. Mastering these three functions lets you shape and blend almost any visual effect.