The brown cross slide is power-fed square to the axis of rotation of the blue workpiece. The green upper slide carrying pink roller is forced by yellow spring towards the orange template.
The tool traces a curve that corresponds to the template profile.