Text this: Non-linear deformation of rocks