Get AI summaries of any video or article — Sign up free
The Magnetic Shadow Effect thumbnail

The Magnetic Shadow Effect

minutephysics·
6 min read

Based on minutephysics's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.

TL;DR

The “touching shadow” and “shadow blister” effects are produced by ray geometry, not by magnetism or surface tension.

Briefing

“Touching shadow” and “blistering” effects aren’t caused by magnetism or any special force between shadows. They come from ordinary light geometry: when two objects sit at different distances from an extended (non-point) light source—or when a camera lens or eye is focused slightly off—overlapping shadows or overlapping lens blur (bokeh) can make one object’s dark region appear to grow toward the other.

The classic case starts with a light source shining on two posts at different depths. The farther post casts a shadow, while the nearer post casts its own. As the nearer post moves to shade the farther one, the nearer shadow blocks portions of the farther shadow. With a point light, the merge would be sharp; with a real light source that has area (like the sun), different parts of the light create slightly different shadow edges. Those edges overlap, producing a blurred “touching” region. The core dark part of the shadow corresponds to light blocked from every part of the light source; the fuzzy edge corresponds to light blocked from some parts but not others; and the region outside corresponds to light reaching the surface from all parts.

The key visual trick is that the blur edge doesn’t behave like a rigid boundary. As the nearer object advances, it first intercepts the rays that would have formed the inner dark edge of the farther object’s blur. Then it intercepts rays farther out, step by step, until the two blurred shadows effectively merge. That sequence makes the farther object’s shadow look like it “grows” outward from the inside until the contact point.

A parallel explanation comes from lenses. A camera or eye turns a point light source into a bokeh circle when the sensor/retina is placed in front of or behind the focus point. If another object blocks the light, it removes the outermost rays that would have formed part of that bokeh circle. The bokeh shrinks—but because lenses flip images, the shrinkage appears on the opposite side relative to the blocker. When an extended blurry object like a finger overlaps another object, the combined bokeh shrinkage can make the closer finger seem to blister outward toward the other shape.

Color observations reinforce the geometry. In demos with colored textbooks, the “blister” on the nearer object carries the color of the farther object’s location, not the nearer object’s own color. That happens because the light reaching the lens is always coming from the farther scene through the lens blur; the nearer object merely blocks some of those rays, revealing a mirage-like boundary determined by where the bokeh is being cut.

The same logic explains why focusing too near versus too far flips the apparent direction of the blister: shrinkage of bokeh can occur on opposite sides depending on whether the sensor is too close or too far from the lens’s focus plane. Against bright backgrounds, the blur and overlap create the illusion of attraction or repulsion; against dark backgrounds, the effect largely disappears because there’s less competing bokeh. In short: shadows and bokeh don’t stick like water. They just overlap in a way that looks “magnetic” when light source size and lens focus are slightly off.

Cornell Notes

The “touching shadow” (shadow blister) effect comes from overlapping blur, not from forces between shadows. When light has area (not a point) and objects are at different distances, the nearer object blocks parts of the farther object’s shadow at different angles, creating a blurred merge that looks like the farther shadow grows outward. A lens produces an analogous effect: out-of-focus point lights become bokeh circles, and a foreground blocker removes outer rays, shrinking the bokeh on a side determined by lens geometry (including image inversion). Because the blocked rays originate from the farther scene, the blister can inherit the farther object’s color, producing a mirage-like boundary. The apparent direction of blistering flips depending on whether the camera/eye focuses too near or too far.

Why does a “touching shadow” look like one shadow is pulling the other?

The illusion comes from how a blurred shadow edge forms when the light source has size. Different parts of an extended light source cast slightly different shadow boundaries. As the nearer object moves, it blocks rays that would have created the farther object’s shadow blur—starting at the inner dark edge and then progressively farther out. That step-by-step blocking makes the farther shadow’s dark region appear to expand outward until the two blurred shadows merge, even though no force acts between them.

What changes when the light source is a true point versus a real extended source like the sun?

With a point light source, shadow edges are sharp and the “merge” would be crisp. With an extended source, each point on the light produces a slightly different shadow edge. Those edges overlap, creating a fuzzy boundary. The blister effect depends on that overlap: the nearer object intercepts some of the rays that contribute to the farther object’s blur, shrinking and reshaping the combined dark region.

How does the lens version of the effect relate to bokeh?

A lens focuses a point light source into a point only when the sensor/retina is at the correct focus distance. If the sensor is too close or too far, the point light spreads into a bokeh circle. When another object blocks light between the scene and the lens, it removes the outer rays that would have formed part of that bokeh circle. The bokeh circle shrinks, and because lenses flip images, the shrinkage appears on the opposite side relative to the blocker—creating the “blistering” illusion.

Why can the blister color match the farther object instead of the nearer one?

The blister boundary is determined by which rays still reach the lens. Even when a nearer object appears to blister outward, the light that defines the bokeh comes from the farther scene through the lens blur. Blocking by the nearer object reveals a boundary whose color corresponds to the farther object’s illumination, so the blister can carry the farther color (as shown in the colored textbook demo).

How does focusing too near versus too far change whether the far or near object seems to blister?

If the sensor/retina is too close to the lens (focus too far away), the bokeh shrinkage occurs in a way that makes the nearer object appear to blister outward toward the other shape. If the sensor is too far from the lens (focus too near), the bokeh shrinkage happens in the opposite direction, so the farther object appears to blister instead. The underlying mechanism is still the same ray geometry through a lens; only the relative placement of the image plane changes the apparent direction.

Why does the effect look stronger against bright backgrounds than dark ones?

Bright backgrounds supply lots of light, so the lens produces prominent bokeh circles that overlap with the foreground blur. When those bokeh regions overlap, the blocking creates a visible blister boundary. Against dark backgrounds, there’s little bokeh brightness to compete with, so the overlap looks more normal and the blister illusion largely fades.

Review Questions

  1. In the shadow blister effect, what role does the light source’s finite size play in creating a blurred merging region?
  2. How does lens image inversion affect which side of a bokeh circle appears to shrink when a foreground object blocks light?
  3. Why does the blister in a colored-textbook demo inherit the farther object’s color rather than the nearer object’s color?

Key Points

  1. 1

    The “touching shadow” and “shadow blister” effects are produced by ray geometry, not by magnetism or surface tension.

  2. 2

    A non-point (extended) light source creates overlapping shadow edges, turning a sharp shadow boundary into a blurred merge.

  3. 3

    As a nearer object shades a farther one, it blocks rays that contribute first to the inner edge of the farther blur, then progressively farther outward.

  4. 4

    Out-of-focus lenses transform point lights into bokeh circles; foreground blockers shrink those bokeh circles by removing outer rays.

  5. 5

    Lens inversion means bokeh shrinkage appears on the opposite side relative to the blocking object.

  6. 6

    Blister colors can match the farther scene because the rays that define the bokeh originate from the farther object’s location.

  7. 7

    Focusing too near versus too far flips the apparent direction of blistering by changing where the image plane sits relative to the lens focus.

Highlights

The “magnetic” look comes from overlapping blur: extended light sources and lens bokeh make shadow edges merge in a way that mimics growth.
A lens doesn’t just blur—it flips images, so bokeh shrinkage appears on the opposite side of the blocker.
Colored demos show the blister can take the farther object’s color, revealing that the defining rays come from the farther scene.
Whether the near or far object seems to blister depends on whether the sensor/retina is too close or too far from the lens focus plane.

Topics

  • Shadow Blister Effect
  • Bokeh Geometry
  • Extended Light Sources
  • Lens Focus
  • Ray Blocking