image is probably separated into parts and layers with logic on how to scale and morph and trial and error to make it look nice
I would guess there are thresholds which interpolate in different directions where each image represents an orthogonal axis.