Text this: Variational model of scoliosis