👁 Try it: Click Start, then
stare steadily at the green dot in the centre —
don’t let your eyes wander. After a few seconds the
yellow dots should begin to fade and may vanish entirely.
Any eye movement brings them back instantly.
🌐 Environment
⋅ Grid Layout
✚ Cross Appearance
🔺 Triangle & Animation
🔺 Stage 3b — Troxler’s Effect: Spinning Grid
This is a second version of Troxler’s Effect that targets
stationary peripheral dots rather than the plus signs
themselves. A grid of neon-red crosshairs spins as a single rigid unit
while three yellow dots at the vertices of an equilateral triangle remain
completely still. Fix your gaze on the green dot and the yellow dots
gradually fade from view.
👁 How the Illusion Works
Click Start to begin the grid rotation, then
stare at the green dot without moving your eyes.
Within 5–15 seconds the three yellow dots should ghost out
and may vanish entirely.
Move your eyes — the yellow dots snap back
instantly. The illusion requires a steady, unmoving gaze.
The spinning grid fills the visual field with
constant motion, anchoring attention to the fixation point while the
stationary yellow dots undergo neural adaptation.
Triangle size matters — sliding the triangle
radius outward pushes the yellow dots deeper into peripheral vision,
where Troxler fading is generally faster.
Dot size matters — smaller dots fade more
quickly because there is less total signal for the visual cortex to
suppress.
🔧 What Was Built in Stage 3b
A full 9×9 array of SWCross instances (no
null centre cell) is created by buildCrossGrid().
The “spinning sheet of paper” technique
uses a single set of p5.js canvas transforms inside a
push() ⁄ pop() block each frame:
translate to canvas centre →
rotate(gridAngleDeg) →
translate back → draw all signs.
All 81 signs travel in circles at the same angular speed,
keeping their relative positions frozen.
The green fixation dot and
yellow triangle vertices are drawn
afterpop(), so they are completely
unaffected by the rotation transform and remain fixed on screen.
Triangle vertices are placed at angles 90°, 210°, and
330° from the centre at radius TRIANGLE_RADIUS
in user space; grid.userToScreen() converts them to
screen pixels, handling the Y-axis flip automatically.
Layout changes (columns, rows, spacing) call
buildCrossGrid(). Appearance changes call
applyAppearanceToAll() without losing the current
rotation angle.
🎮 Controls
Spin speed — degrees per second for the whole-grid rotation.
Triangle radius — distance from centre to each yellow dot.
Larger = deeper periphery = faster fading.
Green dot size — enlarge for easier fixation.
Yellow dot size — smaller dots fade almost instantly;
larger dots are harder to suppress.
Arm opacity — lower for a more subdued grid; higher for
a more vivid spinning effect.
G — toggle the coordinate grid overlay.
🧠 The Science
The yellow dots provide a constant, unchanging retinal image while the
viewer fixates. Retinal ganglion cells and higher visual neurons adapt
to steady inputs by progressively reducing their firing rate. The brain
interprets the weakened signal as “nothing new” and suppresses
the perception. The spinning grid provides broad visual stimulation that
keeps central processing active and foveal fixation stable — which
paradoxically helps the peripheral yellow dots fade because it
prevents any involuntary scanning eye movements that would refresh them.
This is the same neural-adaptation mechanism behind why you stop noticing
the feeling of your shirt against your skin, or a constant background hum.
The visual cortex prioritises change; the unchanging is silenced.