The magnets produce a circular magnetic field. An oscillating voltage creates an electric field across the gap to accelerate the particles each time around. As the particles moved faster, the radius of the their circular path becomes bigger until they hit the target on the outermost circle.