You can change the radius or distance between two coil and set up a magnetic mirror field.
The field can trapped charged particle between two coils.

DOWNLOAD ejs xml source
then click to translate strings for selected locale.

Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop.