Free · no signup to try · runs on Chromebooks

Particle Accelerator Lab

A particle accelerator is a machine students hear about and never touch. Its one idea fits in a sentence: magnets steer, electric fields push, and everything has to be set exactly. Particle Accelerator Lab gives every student a small proton ring, 64 meters round, and a program to write in Blocks or Python. Set the bending magnets a little too weak and the beam swings out and hits the pipe; work out the field from the beam's momentum and it goes round. Then the levels add what a real ring needs: focusing, a cavity that pushes, a tune kept off whole numbers, an orbit fixed from noisy monitors, and magnets raised in step as the beam speeds up.

This is the whole app, opening on Level 1 with the starter program ready. Press the round play button or the space bar to run it. The guide walks through the first minute: one run, and why the beam hit the wall.

Open it full screen

Using this with a class? Make a free class and add your students yourself: each gets a username and password, with no email or Google account needed. Or give them one join code. Using Google Classroom? Post the link there; with a free class, the link also puts each student in your class, so you see their work. mytekDev is also available from the Google Workspace Marketplace, so your school's Google admin can install it for everyone.A first lesson: Open it on the projector at Level 1 and press play. The starter sets every bending magnet to 1.0 tesla, and the beam is lost in the first magnet, swinging out into the pipe's wall. Ask what would make it turn more. The card gives the sum, field = angle x rigidity / length: 0.3927 x 3.336 / 1, about 1.31 tesla. Change the number and play again: the beam goes round 10 times.

Set up a free class Share to Google Classroom
Put this on your class site

Students can use Particle Accelerator Lab right on your page, with no account. What they make stays on that page; to keep their work, they make a free account.

Google Sites: Insert, then Embed, then By URL, and paste this address.

https://mytekdev.com/try/particleacceleratorlab?embed=1

Canvas, a blog, or any page that takes HTML: paste this code where you edit the page as HTML.

<iframe src="https://mytekdev.com/try/particleacceleratorlab?embed=1" width="100%" height="640" style="border:0" allow="fullscreen" title="Particle Accelerator Lab demo from mytekDev"></iframe>

What a student actually does

Level 1 runs a starter program that sets all 16 bending magnets to 1.0 tesla, and the beam is lost in the first one: too weak a field turns it too little, and it swings out into the wall. The card says where it was lost, which way it went, and how to work out the field that closes the circle: each magnet must turn the beam one sixteenth of a turn, 0.3927 radians, so the field is 0.3927 times the beam's rigidity over the magnet's 1 meter. At 1.31 tesla it goes round 10 times. At 1.30 it is lost after 3 magnets, 0.8% too weak.

Level 2 turns the cavity on, the only part of the ring that pushes. A hundred kilovolts for 10 turns adds 1.000 MeV, and the readout shows the speed changed at the cavity every time and in a bending magnet never: 0 of 480 passes. Level 3 adds the focusing magnets. One kind squeezes the beam across and spreads it up and down, the other does the opposite, and only alternating them holds it both ways.

Level 4 moves to the real 30 mm pipe with one bending magnet 0.1% strong and the focusing turned down so the beam swings almost exactly once a turn. The small error then adds up every turn and the beam is lost on turn 6; with the tune back at 1.17 it goes 300 turns. Level 5 puts one focusing magnet 4 mm out of line. Students read eight position monitors, each about a millimeter noisy, and scan a correcting magnet's kick until the orbit is within 2 mm everywhere.

Level 6 is a new machine, a tabletop cyclotron like the first one from 1931: one magnet, two hollow D's, and a voltage that must go back and forth as often as the protons go round, 12.5 million times a second in its 0.82 tesla field. The wrong frequency falls out of step within a couple of turns. Level 7 times the cavity: on the wave's rising side the bunch stays together, at the top every pass pushes it faster than the fixed magnets can bend, and on the falling side it spreads apart.

Levels 8 and 9 speed the beam up for real. The program must raise the bending field every turn from the beam's rigidity or the stiffer beam swings out; that is what makes a ring a synchrotron. To double the energy, the focusing has to rise too. Doubling it, from 433 to 866 MeV, makes the beam only 17% faster, 0.729 to 0.854 of light's speed: close to light, a push adds momentum, not much speed.

Build a ring, in the Machine menu, sets six numbers (cells, magnet length, straights, pipe, the beam's momentum and the focusing) and says what they mean: how far round it is, the field each magnet needs, how many swings the beam makes a turn, and whether a test beam survives 200 turns. A beam too stiff for iron magnets, past about 2 tesla, gets a plain answer: more magnets or a bigger ring. The machine sheet prints the ring, the last run, the magnets, the levels and the program on one page.

Level 6, the tabletop cyclotron on a lab bench at its true size: a gray iron yoke, a round blue magnet pole wound with copper coils, and on top a shallow chamber holding two copper D-shaped electrodes with a dark gap between them. A ring of glowing dots shows the protons spiraling out, and a copper wire runs off to the oscillator. The top of the magnet is left off so the inside can be seen.

Level 6, a tabletop cyclotron like the first one (1931), at its true size: one magnet, two hollow D's and a voltage going back and forth across the gap. At 12.5 million times a second in this magnet the protons spiral out to about 80 thousand electron volts.

What they are learning while they work

Nothing here is presented as a lesson. This is what the levels are made of.

What the student doesWhat it is
Works out 0.3927 x 3.336 / 1 and sets 1.31 tesla Magnetic force on a moving charge. A magnetic field turns a moving charged particle sideways. How far it turns depends on the field, the magnet's length and how hard the particle is to bend, its rigidity.
Watches the speed change at the cavity and nowhere else Magnets do no work. A magnetic force is always sideways to the motion, so it changes the direction and never the speed. Only an electric field speeds the beam up.
Sets QD to minus and holds the beam both ways Alternating focusing. A magnet that focuses one way spreads the other. Alternating the two kinds holds the beam in both directions, the way almost every big ring built since the late 1950s does.
Moves the tune from 0.99 to 1.17 Resonance. When the beam meets the same small error at the same point of its swing every turn, the pushes add up. Away from a whole number, they cancel.
Scans a corrector from noisy monitor readings Measurement, noise and feedback. One reading can be a millimeter off. Adding up many and comparing settings finds the kick that puts the orbit back.
Matches the cyclotron's frequency to the magnet Frequency and timing. A proton goes round a magnet at a rate set by the field, whatever its speed, so a voltage going back and forth at that rate pushes it every half turn.
Raises the field every turn from the rigidity Momentum and energy. A faster beam carries more momentum and is harder to bend, so the magnets must rise with it.
Doubles the energy for 17% more speed The speed of light as a limit. Close to light's speed, more energy means more momentum and almost no more speed.
Writes a loop that waits a turn and sets the magnets Control programs. A program reads the beam, does a sum and sets the machine, every turn, the way an accelerator's control system does.

How to tell whether it landed

Ask, and let them show you on the ring or in the program. A student who has understood it can answer these without help.

Use it in your subject

Not a technology class? Then the app is how students show what they learned in your unit. More projects for every subject.

Physical science (MS-PS2-3, MS-PS2-5, HS-PS3-1, HS-PS3-5)

Magnetic and electric forces on a moving charge, why a magnetic field changes direction but not speed, and where the beam's energy comes from.

Engineering (HS-ETS1-4)

A computer model of a machine, used to test a design before it is built: Build a ring tries cells, magnets and focusing and says whether a beam survives.

Computer science (CSTA 2-AP-12, 2-AP-17, 2-DA-08, 3A-AP-16)

Loops that run every turn, variables read from the machine, testing and fixing a program from what the beam does, and noisy data averaged before acting on it.

Math (HSG-C.B.5)

Angles in radians: sixteen bends of 0.3927 radians make one full turn of 2 pi.

Practical notes

For classes that will never stand next to an accelerator

Most of the world's accelerators treat cancer, make medical isotopes or work in factories, and the big research rings are underground and closed while they run. Here every student runs a ring at once, sets every magnet, and finds out for themselves why a field off by under one percent loses the beam. Nothing is radioactive and nobody is in the way: the glowing beam is a drawing, because a real proton beam cannot be seen.

Common questions

Is it free?

Yes. Particle Accelerator Lab has no paid tier, and it can be tried right on this page without an account. Saving needs a free account.

Does it work on a Chromebook?

Yes. It runs in the browser with nothing to install.

Do students need to know how to code?

No. Level 1 runs a starter program and the fix is one number, and the Blocks tab is drag and drop. Python is there for students who want it, and the Python tab shows what the blocks say.

Are the numbers real?

The physics is: a proton's rigidity, 3.3356 tesla meters for each GeV/c of its momentum, the field each bend needs, the speed against light's, and a proton's 15.2 million turns a second in one tesla. The ring itself is our own small design, 64 meters round with 16 bending magnets, and every run is the same on every computer, to the last digit.

What does it simplify?

Each magnet acts all at once at its middle instead of along its length, and 12 particles stand for a bunch. Particles do not push on each other, the beam gives off no light, and the magnets are perfect except for the faults a level puts in on purpose. The cavity's push and the way a bunch's timing swings are made simple: the timing follows the rule for slower beams, though a real ring this small would be past the energy where it flips. The monitors' noise is a fixed millimeter or so, and the cyclotron leaves out the electric fields that also focus its beam. The first cyclotron, in 1931, had one D and sped up hydrogen molecule ions; ours has two D's and protons, as later ones did. The glowing beam is a drawing: a real proton beam in a vacuum pipe cannot be seen.

Are more levels coming?

Yes. Levels 1 to 9 are open: bending, the cavity, focusing, the tune, fixing the orbit, a cyclotron like the 1931 one, timing, raising the field and the speed limit. The levels listed after them in the Levels menu, an electron ring that glows, a medical synchrotron aimed at a water tank, and two beams meeting in a collider, open in later versions.

Can students share their work?

Yes. A project saves every level's best run, the program and any ring built, with a picture of the hall. Typed words in a shared project, its name and the program, pass the platform's filter.

Still have a question? Ask us, and a person will write back.

Where to go next

Start with Particle Accelerator Lab

Trying it costs nothing and takes about five minutes. An account is what makes the work last.

Particle Accelerator Lab is one of the making apps on the platform. Every level runs on one model of the ring, so the field a student works out on Level 1 is the one their program raises turn by turn on Level 8.
Page last reviewed December 2026.
Google, Google Classroom and Chromebook are trademarks of Google LLC.