An IFS defines a fractal as the unique attractor of a set of affine contractions: x' = ax+by+e, y' = cx+dy+f. The chaos game iterates a random transform at each step, weighted by probability.