Now with affine transform and real variations.