Generator

A closed surface with the charge inside

One function in the fields library, called 10 times across 3 essays. Below: what it draws at its defaults, what it draws at every branch an essay asks for, whether the site's own gate puts a claim to it, and everywhere it is called.

At its defaults it draws a closed surface with the charge inside. Every field line from the enclosed charge crosses the surface exactly once on its way out, so the net flux counts the charge.

gaussian-surface is one function in lib/figures/fields.js — charge, current, flux and the lines drawn between them. Everything below came out of it during this build, at parameters taken from the essays rather than invented for this page. A figure here is the figure a reader meets in an essay, and if the generator changes, this page changes with it.

At its defaults

Drawn even though every essay passes options, because a default nothing exercises is a trap for the next essay to call this with none — which has happened here twice.

A closed surface with the charge inside. Every field line from the enclosed charge crosses the surface exactly once on its way out, so the net flux counts the charge.

Every field line from the enclosed charge crosses the surface exactly once on its way out, so the net flux counts the charge.

A closed surface with the charge inside

The options are the ones Counting what comes out, and never looking inside passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

A closed surface with the charge inside. Every field line from the enclosed charge crosses the surface exactly once on its way out, so the net flux counts the charge.

Every field line from the enclosed charge crosses the surface exactly once on its way out, so the net flux counts the charge.

A closed surface with the charge outside

The options are the ones Counting what comes out, and never looking inside passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

A closed surface with the charge outside. Each line from the outside charge that enters the surface also leaves it, so the crossings cancel and the net flux is zero.

Each line from the outside charge that enters the surface also leaves it, so the crossings cancel and the net flux is zero.

A closed surface with the charge inside

The options are the ones Counting what comes out, and never looking inside passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

A closed surface with the charge inside. Every field line from the enclosed charge crosses the surface exactly once on its way out, so the net flux counts the charge.

Every field line from the enclosed charge crosses the surface exactly once on its way out, so the net flux counts the charge.

A closed surface with the charge inside

The options are the ones Counting what comes out, and never looking inside passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

A closed surface with the charge inside. Every field line from the enclosed charge crosses the surface exactly once on its way out, so the net flux counts the charge.

Every field line from the enclosed charge crosses the surface exactly once on its way out, so the net flux counts the charge.

A closed surface with the charge outside

The options are the ones Counting what comes out, and never looking inside passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

A closed surface with the charge outside. Each line from the outside charge that enters the surface also leaves it, so the crossings cancel and the net flux is zero.

Each line from the outside charge that enters the surface also leaves it, so the crossings cancel and the net flux is zero.

What checks it

physicscheck draws gaussian-surface and asserts nothing about its physics — it is exercised by the branch table rather than interrogated.

Across the library: 100 interrogated, 2 exercised only, 1 untouched, of 103. Read out of the gate's source by the gate's own two patterns — and the gate's last claim fails the build if that read disagrees with what it was handed while running.

Where it is called

Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.

The whole library · All essays