Tutorial 11 of 14
The Sim Gallery: orbits, field lines, fractals, Life and the Drake equation
Beginner 12 min
Play with five live simulations in the Sim Gallery view and turn any setup into a notebook cell with its figure, key figures and report entry.
Proofline has a fourth view next to Notebook, Data and Report: the Sim Gallery. It holds five playgrounds: three-body orbits, field lines, a fractal explorer, the Game of Life with elementary rules, and the Drake equation. Each one uses the same engine as the matching notebook cell and tool page (N-Body & Three-Body Orbit Simulator, Electric & Magnetic Field Line Plotter, Mandelbrot & Julia Deep Zoom Renderer, Game of Life & Cellular Automata Lab and Drake Equation Explorer). Add to notebook turns what you see into a cell.

1. Open the Sim gallery template
Choose Notebook → Templates…, open Sim gallery and press Run all. The notebook has a note and eight cells: the figure-eight orbit, the Pythagorean problem, an electric dipole, two antiparallel currents, Seahorse Valley at zoom 10²², the Gosper glider gun, rule 30 and the Drake equation.
The figure-eight cell reports a largest relative energy error of 1.5e-11 and a distance from the start after one period of 7.6e-8: the three bodies come back to where they started. The Pythagorean cell shows the closest approach of 0.000414 just before one body escapes.
2. Watch the orbits move
Press 4 or click Sim Gallery, then Orbits. Pick a preset in Initial conditions. The list groups the Šuvakov–Dmitrašinović orbits (2013), the refined families of Li and Liao (2017) and the classic problems. Press Play: the whole orbit is drawn faintly and the bodies trace it, while the readout shows the time, the relative energy error and the return distance.

Switch Integrator to Yoshida or velocity Verlet and compare the energy error. Increase Periods to run (periodic orbits) to see how the rounded five-digit orbits slowly drift apart. When you like a run, press Add to notebook.
3. Build a field by clicking
Open Field lines. The box Charges and wires (one per line) starts with a dipole. Choose what Clicking the picture adds (a positive or negative charge, or a wire carrying current out of or into the page) and click into the picture to place it. Moving the pointer shows |E|, V and |B| at that point. The example buttons load a quadrupole, two parallel currents and more; Remove the last line undoes the last source.

4. Zoom into the Mandelbrot set
Open Fractals. Click a point to zoom in four times there; Shift+click zooms out. With the picture focused, the arrow keys move the view and + or Enter zooms in. The centre fields fill with as many digits as the zoom needs, and below a width of 1e-10 the worker switches to perturbation theory automatically. With Choose the iterations automatically on, the iteration limit grows with the zoom.

Julia set for this centre shows the Julia set of the point you are looking at. PNG downloads the picture; it is byte-for-byte the same image the Mandelbrot & Julia Deep Zoom Renderer produces for the same settings.
5. Life and elementary rules
Open Life and rules. Pick a Starting pattern, press Play or Step, and watch the generation and live-cell readout. Click cells to switch them on or off. With the grid focused, the arrow keys move an orange cursor and Space switches the cell. Import a pattern… accepts RLE or plaintext from LifeWiki or Golly, as text or as a .rle or .cells file. RLE downloads the current generation.

Change Rule (B/S notation) to B36/S23 for HighLife. Set Automaton to elementary and try rule 90 for the Sierpiński triangle or rule 110.
6. The Drake equation
Open Drake equation. The first three factors come with measured ranges and their sources; fl, fi, fc and L are marked as assumptions. The default ranges give a median N of 4.14, with 90 % of the draws between 0.00101 and 17,100. The bar chart shows that L causes most of the uncertainty. Type your own ranges, such as 1e-6 - 0.01 for fi, and the result updates. Restore the sourced ranges brings back the defaults.

7. From playground to report
Every Add to notebook switches to the Notebook view and runs the new cell. A cell keeps its inputs, not its pixels, so fractal cells are redrawn in the worker when you open the notebook again. Pin key figures, make variants (for example Zoom in 10× at the centre or Run five periods) and include the cells in the Report view like any other cell.
The simulations are teaching models: planar Newtonian gravity, static fields of point charges and infinite wires, and the Drake equation, whose answer depends on your assumptions far more than on any data.
Ready to try it?