Try Particle Accelerator Lab free in your browser, with nothing to install and no account. Program a particle accelerator in Blocks or Python and keep a beam of protons going round the ring. Set the bending magnets to the field that turns the beam, focus it, find the tune that keeps it from shaking apart, and fix a crooked orbit with a corrector. Run a tabletop cyclotron like the first one from 1931, time the cavity so the bunch stays together, and raise the field as the beam speeds up, until it nears the speed of light. An honest small model with its limits said, the same beam on every computer.