If we now imagine that in the top right of the setup, you have a compass needle pointing towards the center of mass of the collection of pendulum masses (say the masses are magnetized), the compass needle will have a 'quite random' behavior, as the animations show, but it stays somewhat centered.