⟨‹ Controls ›⟩ - 'Electromagnet Strength' controls how strong the electromagnet is. (And which atoms are being selected for) - 'Simulation Speed' controls how fast the simulation runs. (And how quickly the graph grows) ⟨‹ The Science ›⟩ A Mass spectrometer is a machine used to detect what elements are in a sample of material. The material is vaporized - e.g. turned into a gas - and then sent through several stages that filter out all but a specific element. The first stage is called the ionizer. It turns the vaporized particles into ions - atoms that have a positive charge - by passing many electrons through them. The second stage is an electromagnet. The electromagnet applies a force onto the particles that causes them to change their path through the machine. The amount of force that is applied is inversely dependent on the mass/charge ratio of the atoms. In other words, bigger atoms are harder to budge. The final stage is a detector. When an ion lands on it, it knocks electrons around and creates a measurable current.