⌂ Fractal Tools

Stereogram Builder

Single-image stereograms (SIRDS) from a depth map. Raster PNG output at print resolution — Book Builder accepts PNG pages alongside SVG, so these drop into the existing book pipeline. Fusion is scale-locked: the page must print at the exact size it was rendered for.
A blur ramps the edge by averaging, which makes a letter a flat plate with a soft rim and no surface of its own. The other three measure each pixel's true distance from the outline and shape a real cross-section from it, so the form reads as a solid object rather than a cut-out. The interior past the edge width is untouched, so modelled sources — sphere grids, photographic depth maps — keep their own relief and only gain a softened boundary.
Line art becomes relief by flood-filling the regions, not by treating the strokes as height — lines as height would give a lattice of thin ridges, which is unreadable. Each region gets a terrace, the strokes become the walls between them, and the edge profile domes each region into its own tile. Measured limit: depth features below about 0.25 in stop resolving, so a mandala wants under ~175 regions across a page and reads best under ~80. Every config in the census is finer than that, so expect to generate deliberately coarse art for this.
Feature size on paper, held constant whatever the output resolution. A dot is one pattern pixel, so without this control raising DPI just shrinks the dot: 600 ppi gives 42 µm features. KDP reproduces about 0.5 pt (176 µm) reliably, and below that toner spread eats isolated dots — the coverage you rendered is not the coverage that reaches paper.
Separation is physical, not pixel-based. At 2.5 in the pattern repeats about every 1.25 in on paper. If the interior is scaled at print, the image stops fusing.
Both carry the same one-bit raster — CMYK costs nothing extra, because a bilevel image only needs a two-entry palette. CMYK states the intent in the file so nothing downstream has to guess, which is what KDP wants for covers. The palette takes your actual ink and paper colours, so a non-black ink survives the PDF — but a non-neutral ink means several plates, and on a dot field registration error between them is what turns fine pattern to mud. For a stereogram, keep the ink neutral.
Four labelled bands at 1×, 2×, 3× and 4× the output pixel — so the pitches depend on print resolution: 42/85/127/169 µm at 600 ppi, 85/169/254/339 at 300, 169/339/508/677 at 150. Only whole multiples of a pixel are reachable, so pick the resolution whose ladder brackets where you expect the limit. Every band carries the same scene and fuses independently.
PDF is what KDP wants for interiors, and it carries its own colour space — a PNG does not, so the viewer app decides how to convert it and a neutral page can come out composite. The PDF is written 1-bit DeviceGray at exact trim: one ink, no scaling, no transparency. It re-renders at print resolution first, whatever the preview is showing. No bleed — trim size only.
The preview is its own stereogram at screen resolution — it fuses on a screen, not at print scale. Only the print render is the page you would publish.
 
Fusing it
Look through the page, not at it, until the two guide dots at the top become three. The middle one is the fused view; the hidden shape resolves a moment later. Hold still — the depth builds over a few seconds. Printed copies are easier than screens because there is no glare and the scale is fixed.