The classification and analysis of spirals in decorative designs