Text this: Grain-size analysis