Text this: Adaptive sampling and modal expansions in pattern-forming systems.