line crushing to process raw animated diagram