Analytical modelling of period spacings across the HR diagram — arXiv2