Generator

A converging lens making a real image

One function in the optics library, called 93 times across 16 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 converging lens making a real image. An object 2.44 focal lengths from a thin converging lens. The image sits where the construction rays cross, at 1.69 focal lengths, magnified -0.69×.

thin-lens is one function in lib/figures/optics.js — rays, lenses, mirrors and what light does to a surface. 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 converging lens making a real image. An object 2.44 focal lengths from a thin converging lens. The image sits where the construction rays cross, at 1.69 focal lengths, magnified -0.69×.

An object 2.44 focal lengths from a thin converging lens. The image sits where the construction rays cross, at 1.69 focal lengths, magnified -0.69×.

Three shapes of one cell, delaying light by the same total

The options are the ones The cell weighed by the light it delays passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

Three shapes of one cell, delaying light by the same total. The phase delay of 633 nm light across the middle of a model cell holding 300 pg of dry matter, in three shapes — rounded up, spreading and flattened — each with the same contents dissolved in volumes of 942, 965, 982 μm³. The rounded cell delays the light by 3.41 rad at its centre, the flat one by only 0.55. But the delay summed over the whole image is the same for all three, 536 rad·μm², and it gives back 300.0 pg through the refractive increment α = 0.18 mL/g: a cell is weighed by the light it delays, whatever shape it takes.

The phase delay of 633 nm light across the middle of a model cell holding 300 pg of dry matter, in three shapes — rounded up, spreading and flattened — each with the same contents dissolved in volumes of 942, 965, 982 μm³. The rounded cell delays the light by 3.41 rad at its centre, the flat one by only 0.55. But the delay summed over the whole image is the same for all three, 536 rad·μm², and it gives back 300.0 pg through the refractive increment α = 0.18 mL/g: a cell is weighed by the light it delays, whatever shape it takes.

A cell that swells with water and weighs the same

The options are the ones The cell weighed by the light it delays 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 cell that swells with water and weighs the same. A model cell of 300 pg dry mass moved into a dilute medium, taking up water and swelling to twice its volume over a few minutes, each quantity relative to its starting value: the cell's volume (dashed), the excess of its refractive index over the medium's (dotted), which falls from 0.0796 to 0.0398 as the contents are diluted, and the phase delay integrated over the cell's image (solid). The volume doubles and the index excess halves, and the light passes through twice the path at half the excess: the integral, and the dry mass it reports, stay at 300.0 pg throughout. Water itself is invisible to the measurement, because the medium is water too.

A model cell of 300 pg dry mass moved into a dilute medium, taking up water and swelling to twice its volume over a few minutes, each quantity relative to its starting value: the cell's volume (dashed), the excess of its refractive index over the medium's (dotted), which falls from 0.0796 to 0.0398 as the contents are diluted, and the phase delay integrated over the cell's image (solid). The volume doubles and the index excess halves, and the light passes through twice the path at half the excess: the integral, and the dry mass it reports, stay at 300.0 pg throughout. Water itself is invisible to the measurement, because the medium is water too.

How much each kind of molecule raises the index

The options are the ones The cell weighed by the light it delays passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

How much each kind of molecule raises the index. The refractive increment — the rise in refractive index per gram of dissolved substance per millilitre — for four classes of biological molecule, typical values: proteins, typical, 0.185 mL/g; nucleic acids, 0.170 mL/g; polysaccharides, 0.145 mL/g; lipids, 0.150 mL/g, against the single value of 0.18 mL/g usually assumed (dashed). Proteins, which make up most of a cell's dry mass, sit close to it, and the narrowness of the spread is what makes phase imaging a balance: assuming 0.18 for a cell made entirely of nucleic acid would understate its mass by 6 per cent, and for one made entirely of carbohydrate by 19. Real cells are mixtures dominated by protein, and the uncertainty in their dry mass from this source is a few per cent — larger than the measurement's own noise, and the limit on its absolute accuracy.

The refractive increment — the rise in refractive index per gram of dissolved substance per millilitre — for four classes of biological molecule, typical values: proteins, typical, 0.185 mL/g; nucleic acids, 0.170 mL/g; polysaccharides, 0.145 mL/g; lipids, 0.150 mL/g, against the single value of 0.18 mL/g usually assumed (dashed). Proteins, which make up most of a cell's dry mass, sit close to it, and the narrowness of the spread is what makes phase imaging a balance: assuming 0.18 for a cell made entirely of nucleic acid would understate its mass by 6 per cent, and for one made entirely of carbohydrate by 19. Real cells are mixtures dominated by protein, and the uncertainty in their dry mass from this source is a few per cent — larger than the measurement's own noise, and the limit on its absolute accuracy.

The smallest change in a cell's mass the phase can see

The options are the ones The cell weighed by the light it delays passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

The smallest change in a cell's mass the phase can see. The uncertainty in a dry-mass measurement from noise in the phase image, in picograms, against the area of the cell, for phase noise of 1, 10, 100 mrad in each 0.5 μm pixel, on logarithmic axes: σ = (λ/2πα) × the noise × the pixel area × the square root of the number of pixels the cell covers. A bacterium a few square micrometres in area, weighing about a third of a picogram, is weighed to 4.8 fg at 10 mrad; a mammalian cell of 1000 μm², weighing hundreds of picograms, to 0.09 pg — a part in a thousand of its mass. The noise grows only as the square root of the area because independent errors in different pixels partly cancel, which is why the method resolves a growing cell's mass change within minutes.

The uncertainty in a dry-mass measurement from noise in the phase image, in picograms, against the area of the cell, for phase noise of 1, 10, 100 mrad in each 0.5 μm pixel, on logarithmic axes: σ = (λ/2πα) × the noise × the pixel area × the square root of the number of pixels the cell covers. A bacterium a few square micrometres in area, weighing about a third of a picogram, is weighed to 4.8 fg at 10 mrad; a mammalian cell of 1000 μm², weighing hundreds of picograms, to 0.09 pg — a part in a thousand of its mass. The noise grows only as the square root of the area because independent errors in different pixels partly cancel, which is why the method resolves a growing cell's mass change within minutes.

Telling a cell that grows steadily from one that grows in proportion

The options are the ones The cell weighed by the light it delays passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

Telling a cell that grows steadily from one that grows in proportion. The dry mass of a model cell doubling from 150 to 300 pg over a 20-hour cycle, if it grows at a constant rate (dashed) or at a rate proportional to its mass (solid), with measurements every half hour from the exponential cell carrying 0.5 pg of noise (dots, seeded). The two laws differ by at most 12.9 pg, 5.6 per cent of the mass, about 11 hours into the cycle. Weighings this precise — by phase, and by vibrating cantilevers that cells flow through — found in the 2010s that many animal cells grow at rates that rise with their size, and adjust them during the cycle: a question about how cells control their size that had been argued for decades with volume, which water makes unreliable, standing in for mass.

The dry mass of a model cell doubling from 150 to 300 pg over a 20-hour cycle, if it grows at a constant rate (dashed) or at a rate proportional to its mass (solid), with measurements every half hour from the exponential cell carrying 0.5 pg of noise (dots, seeded). The two laws differ by at most 12.9 pg, 5.6 per cent of the mass, about 11 hours into the cycle. Weighings this precise — by phase, and by vibrating cantilevers that cells flow through — found in the 2010s that many animal cells grow at rates that rise with their size, and adjust them during the cycle: a question about how cells control their size that had been argued for decades with volume, which water makes unreliable, standing in for mass.

What checks it

physicscheck asserts something about thin-lens that could fail — it draws it and measures the result against a value reached some other way.

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.

Optics

The cell weighed by the light it delays

A living cell is nearly transparent, and the light that passes through it comes out almost as bright as it went in. What changes is its timing: the cell's proteins and nucleic acids raise its refractive index a little above the water around it, and the light is delayed by a fraction of a wave. Measure that delay at every point of the image and add it up, and the sum is the cell's dry mass — the weight of everything in it except water — whatever shape the cell takes and however much water it holds. The water drops out because the medium is water too; the shape drops out because the delay is an integral of concentration along the path. Light becomes a balance that weighs a living cell to a part in a thousand without touching it.

Optics

The colour fringe no aperture can close

A lens bends blue light more than red, and that one fact produces two different faults. One puts the blue focus nearer the lens than the red, and closing the aperture shrinks it. The other puts the blue image of an off-axis point nearer the centre of the frame than the red one, and closing the aperture does nothing at all, because it is carried by the one ray every aperture keeps. It is why photographs have coloured fringes in their corners and not in their middles, and why a lens designer who cannot remove it with glass can sometimes remove it with symmetry, or with a distance.

Optics

The condition a lens must meet

A paraboloid brings every parallel ray to exactly one point. Move the source a fifth of a degree off axis and the image is a fan rather than a point, and the reason is a condition Abbe wrote down that has nothing to do with the axis — perfection at one point buys nothing at the next one along.

Optics

The delay a flat lens has no room for

A glass lens is thick in the middle for a reason that is easy to miss. To focus light of every colour at one point, a lens must do more than bend each colour by the right amount: it must make every part of a light wave arrive at the focus at the same moment, and the light passing the edge has further to go. The glass in the middle is what holds the central light back to wait for it. A lens made flat — a kinoform, a metasurface a micrometre thick — has nowhere to keep that delay. The geometry of the focus sets how much delay is needed, the thickness sets how much is available, and between them they cap how large an achromatic flat lens can be: tens of micrometres, not centimetres.

Optics

The eye that loses its lens in water

Eyes opened under water see only a blur, and the reason is not water in the eye or salt or murk. The human eye does two-thirds of its focusing not with its lens but with the curved front of its cornea, whose power comes from the jump in refractive index between air and tissue. Water is almost as dense optically as the cornea, and the jump all but disappears: about forty-three of the eye's sixty dioptres vanish, and the focus moves to three times the eye's own length behind the retina. A mask gives the cornea back its air; a small pupil and a hard squint buy back a little; animals that hunt in both worlds have flattened their corneas and given the work to the lens.

Optics

The flat scene that comes back curved

A lens does not image a plane onto a plane. It images it onto a bowl, and the curvature of that bowl is fixed by the powers and the glasses alone — not by the shapes of the surfaces, not by where the stop is, and not by stopping down. Everything a designer usually plays with leaves it exactly where it was.

Optics

The focus that is a slab, not a plane

A lens images one plane and no other, which would make every photograph and every micrograph almost entirely out of focus. What rescues them is a tolerance — and there are two of them, one from rays and one from waves, which give different answers and stop being interchangeable exactly where microscopes work.

Optics

The focus that is two lines

A lens curved more steeply in one direction than the other has no focus. It brings light to a short line at one distance, to a line at right angles at another, and in between to an ellipse that turns from wide to tall and is round at exactly one place. Most eyes are built this way to some degree, so do mirrors used at an angle, and the best any ordinary lens can do for them is to put that round patch on the retina. A cylinder, curved in one direction only, can do what no sphere can: move one line onto the other.

Optics

The four cosines at the edge of a photograph

Photograph a plain, evenly lit wall with a wide-angle lens and the corners of the picture come out darker than the middle — by more than three photographic stops with a 14 mm lens on a full-frame camera. It is usually blamed on the lens. A perfect lens does it too, and so does a pinhole, because the light reaching the edge of an image is reduced by four separate cosines of the angle it came from: three of them pure geometry, and one the slant at which it lands. Fisheye lenses avoid most of the loss by refusing to keep straight lines straight. Every wide lens is a choice between the two.

Optics

The hole that makes the sharpest picture

A pinhole camera makes a picture without bending any light: a small hole lets through, from each point of the scene, only the rays that reach one small patch of the screen. A smaller hole makes a sharper picture — until it does not. Below a certain size the hole spreads light by diffraction faster than it narrows the shadow, and the picture blurs again. The best hole balances the two, and at that balance it turns out to pass about half of the first Fresnel zone of the incoming wave: the sharpest pinhole is already beginning to behave like a lens.

Optics

The lens with its glass taken out

Snell's law turns a ray at a surface by an angle set by the slope of the surface where the ray crosses, and the glass behind the surface does not enter it. So a lens can be sliced into rings, the glass between the slopes thrown away, and the rays will not notice. Fresnel did it for lighthouses in 1822. The waves notice — every step cuts a few hundred wavelengths out of them — unless the steps are made exactly one wavelength deep, and then the lens becomes something else: a diffractive element whose colours run backwards, and which can cancel a glass lens's colour with a twentieth of its power.

Optics

The mirror that cannot focus, and the shape that can

A perfect sphere does not bring parallel light to a point. The blur is not a manufacturing defect — it is what the shape does, and the shape is used anyway, for a reason worth knowing.

Optics

The plane of focus a tilted lens tilts

An ordinary camera focuses on a plane square to its axis, so a road receding from it, a table top or a field of flowers can be sharp only over the depth an aperture allows. Tilt the lens, or the sensor, and the plane of sharp focus tilts too, by a rule a surveying officer patented in 1904: the plane of the subject, the plane of the lens and the plane of the image always meet in a single line. Turn the focus and the plane of focus does not slide back and forth; it swings about a fixed hinge. The same geometry lets an eye camera see the whole front of the eye in one exposure and a lidar keep a laser beam kilometres long in focus.

Optics

The specimen that is invisible until its light is delayed

A living cell in water is nearly transparent: it delays the light passing through it by a fraction of a wavelength and absorbs almost none, and a perfect microscope shows it as nothing. The delay is there in the light, and the eye cannot see a delay. Frits Zernike's remedy was to delay a different part of the light — the part the cell did not scatter — by a further quarter of a cycle, at the one place in a microscope where it is separated from the rest. The invisible phase becomes brightness, the cell appears, and the price is a bright halo round everything large.

Optics

The two mirrors that hold a beam

A laser is two mirrors facing each other, and the light in it makes thousands of round trips before it leaves. Whether a ray stays between the mirrors for ever or is walked out after a few bounces depends on a single number, built from their spacing and their curvatures, and the answer has a sharp edge: two flat mirrors sit exactly on it, which is why the first lasers were so hard to align. The criterion is the one that decides whether a pumped swing grows, whether a wave crosses a crystal, and whether a particle beam stays in an accelerator.

Optics

What a lens is doing, and why three rays are enough

A lens bends every ray that reaches it. The construction uses three, because three are all that can be drawn without calculation — and any three that meet prove all the rest do.

The whole library · All essays