01Shape
Shadow QR code.
A 3D-printed object whose shadow forms a QR code: at a set time, over a time range or all day. Choose the place and the moment, then move the sun. Each shadow is read back by ZXing: the times shown are measured, not promised.
Preparing the 3D view…
The sun has set at that time.
Simulate the sun
Gray: the calculated shadow, seen from above. Red: what the object hides from the phone, at the chosen reading angle.
Files for the 3D printer
Readings: when the shadow can actually be read
Each point is a shadow calculated then read back by ZXing, not an estimate.
Taking readings…
Taking readings…
02How it works
The sun,
calculated here.
The sun’s position is calculated in your browser with Jean Meeus’s equations, as published by NOAA[2]. Our tests compare it with NOAA’s calculator[1]; sunrise and sunset are accurate to about one minute, between 72° N and 72° S[2].
The shadow is made by stencils: plates whose solid parts are the dark modules of the code. Each stencil is tilted toward the target sun, and the edges of its holes follow the sun’s rays. So at the target moment, its shadow falls exactly where planned, whatever its height.
For a code at a set time or over a range, the dark modules are split between two stacked stencils; each finder pattern stays whole on one of the two. At the target moment, their shadows line up exactly. When the sun moves away, the upper stencil’s shadow shifts faster and the code breaks up. The larger the height gap, the shorter the reading window: the page sets it from the desired duration.
The two stencils rest on the steps of two side pieces, joined at the back by a base. Nothing rises from the shadow toward the stencils: seen from the phone, the object hides almost nothing of the code.
For a code readable all day, a single stencil, held by a wall, carries all the modules: its shadow moves as a whole. In both cases, the center of each finder pattern is held by small bridges, which you cut after sticking clear tape underneath.
The sun’s disk measures about 0.53° as seen from Earth[3]: the edge of a shadow is blurred, all the more when the part is high and the sun is low. The calculation accounts for this by projecting the object from several points of the disk.
Each calculated shadow is read back by ZXing[7]
The place is chosen without geolocation: a city from the list (center of French municipalities from geo.api.gouv.fr[4], OpenStreetMap elsewhere[5]), coordinates, or a map link, of which only the text is read. Nothing leaves your device.
03Setup
Print,
place, read.
- 01
Print
Opaque parts, a light, matte table. The stencils print flat, the stand upright on its base, the wall lying on its side. If the target sun is low, the page tells you whether supports are needed.
- 02
Assemble
Place the stencil with one notch on the bottom step, then the one with two notches on the top step. Facing the object, on the shadow side, the notches are on the left, toward you.
- 03
Orient
The tip of the base points to true north. Correct your compass for the local declination[6]; the page tells you how many degrees the placement can be off.
- 04
Level it
A tilted table shifts the shadow. Place the object on a level surface, in direct sun: an overcast sky gives no sharp shadow.
- 05
Read
Hold the phone on the shadow side, facing the object, at the angle you set. Keep your own shadow out of the code.
04Limits
What we
have not measured.
We have not yet printed these objects or photographed their shadow in the sun. The readings shown are of a calculated, sharp shadow, seen from above; what the object hides from the phone is calculated separately.
In our tests (Paris, June 21 and December 21), the two stencils hide only about 2% of the shadow from the phone, and ZXing reads the code. Our first design, tiles on rods, hid 21 to 27% and became unreadable: we replaced it.
In winter, with the sun low, a two-hour range can be read only in part: from 1:21 p.m. to 2:45 p.m. for a 1 p.m. to 3 p.m. range, on December 21 in Paris (the whole range on June 21). The page measures the actual range of your object.
When the target sun is less than 45° above the horizon (in Paris, at 2 p.m., from mid-September to late March), the hole edges lean more than 45° from vertical. A filament printer prints them poorly without supports: the page tells you.
In sunlight, the sky lightens the shadow, no table is perfectly flat, and printing has its tolerances. Near the horizon, refraction makes the sun’s position less certain.
Long content means more modules, smaller ones, and more bridges. The page measures whether the shadow stays readable; short content is still the best choice.
Test a first part with your phone before printing more.
For a raised code, readable without sun, use the 3D QR code.
05Questions
Frequently
asked questions.
What is a shadow QR code?
A 3D-printed object whose shadow, in sunlight, draws a QR code a phone can read. The object itself doesn’t show the code: only its shadow forms it.
Why two stencils, one above the other?
So that the code appears only at the chosen time: a single stencil would cast a readable shadow for hours. With two stencils at different heights, the shadows line up only when the sun is in the target direction.
Can the code be read all day?
Yes in “All day” mode, as long as the sun is high enough: the page measures the hours. In “At a set time” and “Over a range” modes, the code appears only around the chosen time.
And on other days of the year?
The sun doesn’t pass through the same spot at the same time every day. Once a week across the year, the page samples the days and times when the shadow can be read.
Why doesn’t the page ask for my location?
So that nothing leaves your device. Choose a city, enter coordinates or paste a map link: only its text is read.
What about daylight saving time?
Times follow the local clock: the page applies the location’s daylight saving changes.
Do I need a compass?
You need true north. A compass shows magnetic north, a few degrees off: correct it for the local declination.
Is my data sent anywhere?
No. Everything is calculated in your browser: nothing leaves your device.
06Sources
Sources
and dates.
- [1]
NOAA Solar CalculatorNOAA Global Monitoring LaboratoryReference values for our tests: sunrise, sunset, solar noon and sun position.No date shown · accessed November 19, 2026
- [2]
Solar Calculation DetailsNOAA Global Monitoring LaboratoryEquations from Jean Meeus’s Astronomical Algorithms; sunrise and sunset accurate to about one minute between 72° N and 72° S; refraction of 0.833° at the horizon.No date shown · accessed November 19, 2026
- [3]
Sun Fact SheetNASA, National Space Science Data CenterApparent diameter of the sun seen from Earth: 1,887 to 1,952 arcseconds, 1,919 on average, or about 0.53°.Date shown: May 9, 2024 · accessed November 19, 2026
- [4]
API Découpage administratif : communesgeo.api.gouv.fr (Etalab)Coordinates of the centers of French municipalities in the city list, rounded to the thousandth of a degree.No date shown · accessed November 19, 2026
- [5]
Copyright and LicenseOpenStreetMapCoordinates of the cities outside France in the list; data under the Open Database License (ODbL).No date shown · accessed November 19, 2026
- [6]
Magnetic Field CalculatorsNOAA National Centers for Environmental InformationMagnetic declination of a place: the difference between a compass’s north and true north.No date shown · accessed November 19, 2026
- [7]
ZXing-C++zxing-cpp (GitHub)The decoder that reads back each calculated shadow.No date shown · accessed November 19, 2026
- [8]
zxing-wasmSec-ant (GitHub)ZXing-C++ compiled to WebAssembly: the decoder runs in your browser, served by our site.No date shown · accessed November 19, 2026