WorksComputer Science
Moore, Escher, Penrose: A Conformal Golden Braid
Abstract
I don't think I have ever done anything as peculiar in my life. Among other things, it shows a young man looking with interest at a print on the wall of an exhibition that features himself. How can this be? Perhaps I am not far removed from Einstein's curved universe.'' So wrote M.C. Escher about his 1956 lithograph Print Gallery. Nearly half a century later, a mathematical analysis related its geometry to an untwisted source image through a conformal power map , . Building on this construction, we use a frozen text-to-image diffusion model to generate new self-referential scenes. Prompting alone does not enforce the recursion, while a post-hoc transformation can leave structures poorly connected. Applying the transformation during sampling is also insufficient: the denoiser may "repair" the intended distortion or drift out of the prescribed geometry. We construct a generalized inverse of the non-invertible image transformation , adapted to its recursive constraint. In the idealized formulation, the Penrose identity makes an idempotent projection onto geometrically admissible images. Yet denoising only the transformed image remains an out-of-distribution task, even with projection. We therefore braid denoising steps with and : source-space steps develop the untwisted scene, while transformed-space steps refine its appearance and connections in the final geometry. We generate Print Gallery-like compositions and explore further transformations. Rather than distorting a finished image, we let the scene and its distortion develop together.

Figure 1. Top-left: M. C. Escher, Print Gallery (1956). Surrounding panels: generated recursive scenes. Right: a conditional image of a reader holding this paper, re-noised and refined with our braided sampler. The reader, like you, believes they hold the outermost copy. See the animated supplementary material.
Introduction
“I went there expecting staircases coming out of the windows. . . ” Roger Penrose, recalling his 1962 visit to M. C. Escher [33]
Maurits Cornelis Escher was not trained as a mathematician. Yet his art both inspired mathematicians and drew on their ideas. After encountering Escher’s work, Roger Penrose began devising impossible objects. The triangle and endless staircase he published with his father Lionel in 1958 subsequently inspired Escher’s Waterfall and Ascending and Descending [28, 21] (Kersten 2018). A different loop appears in the earlier Print Gallery (1956). A young man studies a print of a town; following its buildings brings us back to the gallery in which he stands. A picture contains the world that contains it (Museum Escher in The Palace, n.d.).
de Smit & Lenstra [9] described the print’s idealized geometry through a conformal power map connecting a scale-periodic source to its transformed image. It specifies how coordinates correspond, not how buildings, objects, and textures should connect. We seek to generate scenes composed within this geometry, using a pretrained image model.
Prompting for self-reference imposes no exact relation between image regions. Applying the transformation after generation enforces repetition, but leaves the model no opportunity to account for the resulting connections. Introducing it during sampling lets the model respond to the geometry, but subsequent denoising can alter corresponding regions independently or “repair” the intended distortion. Here, distortion is not a defect to remove, but part of the artistic intent.
We use two coupled representations: an untwisted, scale-recursive source and its transformed image. A reverse coordinate warp alone is insufficient: the image transformation selects and repeats content, and a denoised image need not remain in its range. We therefore construct a matched generalized inverse that also acts on such images. Here Penrose returns through generalized inversion [26, 29]. In the continuous construction, ensures that an admissible transformed image survives a round trip unchanged. Thus is an idempotent projection onto the range of , restoring the constraint after updates, without a Euclidean nearest-point guarantee.
Geometric consistency alone does not make a convincing composition. Denoising only the transformed image asks the model to interpret unfamiliar arrangements throughout generation. Braiding steps with and lets the same frozen model develop the source scene and its transformed appearance. For the Print Gallery construction, a zero-spin warm-up first encourages scale recursion.
We contribute a matched generalized inverse and a braided sampler for recursive scene generation. The Penrose identities describe continuous operators; resampling and subsequent denoising introduce constraint error. Figure 4 previews the range of geometries and scenes; The project page provides the animated views: https://assafshocher.github.io/escher/supplement.html

Figure 4. Overview of generated results. Diverse scenes with conformal twists, square spirals, and multi-center maps. See the animated supplementary material.
Related work
“Originality is merely an illusion.” — M. C. Escher [24]
Escher’s geometry and computational art. de Smit & Lenstra [9] formalized the geometry of Print Gallery and used it to reconstruct the missing central region. Cipolina-Kun et al. [8] subsequently compared CoModGANs, LaMa, and GLIDE for completing the artwork: they straightened it into several views, inpainted these views, and transformed the completion back. Generation in the straightened representation is a direct precedent. We generate new scenes and repeatedly update both representations during sampling. Generative Escher Meshes [1] combines diffusion guidance with geometric constraints to synthesize tileable shapes and textures.
Self-similarity and generation across scales. Iterated function systems and fractal image coding represent structure through repeated contractive maps [18] (Hutchinson 1981). Neural Collages [30] learns contractive operators whose fixed points represent images. Our geometry prescribes admissible images, with content from a frozen model. Generative Powers of Ten [34] coordinates diffusion across scales for semantic zooms; ZoomLDM [37] learns generation at multiple magnifications. These methods allow content to change with scale, whereas our construction repeats the same content. Fractal Generative Models [23] uses architectural recursion without imposing this equality on outputs.
Constrained diffusion sampling. DDRM [19] exploits the spectral structure of linear inverse problems, while DDNM [36] corrects clean-image estimates using a generalized inverse. DPS [7] uses approximate likelihood guidance for noisy linear and nonlinear measurements. ΠGDM [32] also uses pseudoinverse-based guidance, including nonlinear and nondifferentiable measurement operators. Universal Guidance, Self-Guidance, and fast constrained sampling provide further ways to steer a frozen prior [2, 11, 15]. Here the constraint relates regions of the generated image to one another, and sampling alternates between source and transformed representations using the matched operators.
Coupled views and geometric consistency. MultiDiffusion [3] fuses diffusion paths under shared constraints, and SyncTweedies [22] synchronizes clean-image estimates through a canonical representation. Visual Anagrams [13] combines denoising predictions under orthogonal image transformations. LookingGlass [6] extends this approach to latent flow models and more general spatial warps through Laplacian-pyramid image processing. Diffusion Illusions [5] optimizes images whose arrangements reveal different interpretations. Tiled Diffusion [25] enforces compatibility between tile boundaries, including self-tiling; Refracting Reality [38] synchronizes directly and indirectly visible content using optical warps. These methods establish denoising across coupled views; our contribution is a matched operator pair for scale-recursive geometry and its use in sequential source/Escher sampling. The forward operator discards content outside a selected source band, while the generalized inverse selects its Droste extension. Their composition is an idempotent projector onto the twisted image class, allowing the constraint to be restored without compounding the warp. Braided sampling inserts source-space denoising between the inverse and forward maps to develop the scene within this recursive geometry.
Idempotence and generalized inversion. Idempotent Generative Network [31] trains a generator using an idempotence objective; here the geometric operator is specified analytically and the image prior is frozen. Gofer & Gilboa (2024) develop generalized inverses for nonlinear operators, including a norm-based pseudoinverse, while Ehrlich et al. (2026) construct surjective pseudo-invertible neural networks (SPNNs) and define inversion through a bijective completion. These formulations distinguish algebraic consistency from the criterion selecting an inverse.
Preliminaries
From scale repetition to Escher's geometry
The Droste effect is the repeated appearance of an image within itself.2 Following de Smit & Lenstra (2003), we start with repetition under scaling alone, then apply a conformal power map to introduce rotation. Place the recursion centre at the origin and represent image locations by complex numbers . Choose a scale factor and write . Our source images satisfy : zooming by reproduces the same image. Denote this source class by .
Power map. We transform source into output using a complex power on a logarithm branch:
Locally, away from the origin, this map is conformal: it preserves angles. Write . In these coordinates, scaling becomes a horizontal shift and rotation becomes a vertical shift. Multiplication by rotates and scales this plane; exponentiation returns us to image coordinates.
Choosing the exponent. An output point must receive the same colour at angles and . For the Print Gallery construction, one full turn in the output corresponds to one full turn plus one scale step in the source. Both leave the source image unchanged. Since the inverse coordinate map multiplies logarithmic coordinates by , this requires , giving
From coordinates to images. A source band determines the scale-recursive image by repetition inward and outward. Each output location reads its colour from the corresponding source location:
The choice of makes this sampling rule independent of the logarithm branch. Multiplication by advances one source scale period, reproducing the same image. In the output, this corresponds to scaling by and rotating by radians. These images form the transformed class . For , the smaller copy has scale approximately and rotates clockwise by [9]. The construction excludes the origin; finite images sample a bounded window around it. Figure 2 compares these three representations.
Figure 2. The Droste effect in three representations. Left: a tile repeated in logarithmic coordinates, with horizontal period and vertical period . Middle: returning to image coordinates gives scale repetition, . Right: the conformal power map adds rotation, producing the Escher geometry with . All three panels use the same pattern, with .
Generalized inverses and idempotent projections
For , the Moore–Penrose inverse uniquely satisfies [26, 29]:
where denotes the conjugate transpose. It returns the minimum-norm least-squares solution.
Keeping only the first two identities defines a reflexive generalized inverse , which need not be unique. The round trips are already idempotent: , . The last two Penrose identities additionally make these projections orthogonal.
Nonlinear inverses. For nonlinear maps, the first two identities still make sense: , . The last two rely on a linear adjoint and require a replacement. Gofer & Gilboa [14] retain reflexive consistency and select by first minimizing , then minimizing among those minimizers. This recovers the Moore–Penrose inverse in Euclidean linear spaces.
For surjective , Ehrlich et al. [10] fix a bijective completion and select
Thus distance is measured in the completed coordinates. For , with bijective and , a completion matched to these linearizing coordinates gives , recovering all four Penrose identities in those coordinates. Their SPNNs implement this construction.
Our inverse convention. We use to denote a chosen reflexive generalized inverse, selected by the scale-repeating Droste structure and matched fundamental bands. The dagger does not assert the Moore–Penrose minimum-norm or orthogonality properties. Its round trips restore recursive image structure; here, projection means idempotence, without a nearest-point claim.
Method
We generate recursive scenes with a frozen text-to-image model by applying geometric maps to its predicted clean images between sampling steps. Alternating denoising with and its matched generalized inverse develops the untwisted scene and the connections created by its Escher transformation. Figure 3 shows this braided sampling process, from scale-repetition warm-up to final refinement in the transformed representation.
Figure 3. Braided sampling. Warm-up interleaves denoising with untwisted repetition . The sampler switches between Droste and Escher representations using and , with denoising blocks between switches. It ends with refinement in the Escher representation. At each switch, super-resolution precedes the map, then resizing to working resolution. Dashed arrows indicate repetition; the noise-level axis is schematic. The early Droste preview is an illustrative blur of the later panel, not a recorded checkpoint.
Moving between representations
The maps must accept images that violate recursion, since denoising can change corresponding copies independently. Let extract the chosen source band and repeat its content under scaling. Likewise, reads the corresponding band in the Escher image, and renders it with the scale and rotation from § 2.1. Both pairs use the same band coordinates. In the continuous construction, extracting a rendered band returns its content unchanged: . Define
Each map keeps the selected band and regenerates the remaining image. This explains both its loss of information on arbitrary inputs and its ability to impose recursion in the destination representation.
Why the inverse is matched. Cancelling and in these compositions gives
Thus an admissible image survives a geometric round trip unchanged. For an arbitrary image, the round trip restores repetition from its selected band. On the admissible classes and , the maps are mutual inverses; on the ambient image spaces they are reflexive generalized inverses. The band boundaries and angular origin must agree between extraction and rendering.
Restoring the constraint without compounding the warp. Applying again to an Escher image generally compounds the coordinate warp; itself is not the projector onto the Escher class. The matched pair instead gives , which is idempotent and fixes every admissible Escher image in the continuous construction. The inverse selects a Droste representative: it reads the chosen Escher band, untwists it, and extends it by scale repetition. Appendix § 10.§ 1 gives an explicit construction. An immediate – round trip restores the constraint; our sampler additionally denoises in the Droste representation between these maps to update the scene content.
Two paths for updating the content. The model can update a Droste image directly, or update its Escher rendering and carry the changes back:
Here denotes denoising in the Escher representation. The two paths develop the untwisted scene and its warped connections. Each geometric map ideally restores recursion in its destination, without an additional round-trip projection at the switch.
Sampling schedule
We use the same frozen model and prompt in both representations. In the schematic sequence
each denotes a block of sampling steps. Geometric operations act on the model’s predicted clean image, rather than on its noisy input.
Starting with scale repetition. At high noise levels, we apply the untwisted map after each clean prediction, at the working resolution. This introduces nested copies as the scene develops. Despite its identity coordinate warp, selects and repeats a band. Warm-up ends at .
Switching representations. The default conformal schedule applies at , nine steps later, and a final at , then finishes denoising in the Escher representation. The gap controls only the first two switches; Appendix B gives the full schedule.
Updating the noisy state. Only when a geometric map is applied, including warm-up, do we re-noise the modified clean prediction with fresh noise:
Here is the sampling state and , are the schedule’s signal and noise coefficients. Other steps use the regular sampler update. Fresh noise avoids warping existing noise: a linear resampler would change its covariance from to .
Resolution and transformation choices
Resolving quality and resolution. At each switch, we apply the geometric map to a super-resolved pixel image, then resize it to the working resolution:
Super-resolution provides more samples for compressed inner copies. For latent backbones, each switch decodes, super-resolves, maps, resizes, and re-encodes the prediction. As an optional final step we re-noise the finished estimate to a moderate level () and denoise it once more without operators, so the prior can smooth the residual seams that warps may leave between repeated copies.
Varying the geometry. We explore five transformation families that arrange the scale-repeating source content in different geometries. For the conformal twist, advances source scale periods per output revolution; changing the sign of reverses the winding direction. Poles combines twists around several prescribed centres, while Möbius applies a Möbius coordinate change before the twist, producing two linked recursion centres. Square uses square-perimeter coordinates to produce square-shaped nesting, and Rimrings adds a radial term that packs repetitions near an outer circle. For Rimrings, we omit inverse steps because inversion is numerically unstable; visible divisions between repeated bands are intentional in this setting. Appendix C gives the map definitions and rendering details.
Experiments
Figure 4 opens with results across scenes and transformation families. We evaluate qualitatively, inspecting recursive layout and the content within smaller copies. All experiments use a frozen text-to-image backbone. Baselines and ablations hold the base prompt and initial seed fixed within each row, apart from the stated prompt extension. Appendices § 8 and § 11 give comparison conventions and a geometric round-trip check. The supplementary material animates repeated views of the images without generating new content. See Appendix § 12 for further results.
Classical Print Gallery transformation
Figure 5 focuses on the conformal construction, with prompts or excerpts. Recursion follows architectural frames, mirrors, camera displays, and screens. The library prompt requests an ordinary reading room; geometry supplies the nesting. See the animated supplementary material and Appendix E for further views and examples.
Figure 5. Conformal results with input prompts. Longer prompts are excerpted. Animated views appear in the supplementary material.
Figure 6. Twist and transformation choices. Each row shares a prompt and initial seed. The conformal columns use (negative for the bookshop), followed by Poles, Möbius, Square, and Rimrings. Longer prompts are excerpted. Rimrings omits inverse steps. See the supplementary material for animated views.

Figure 7. Rimrings: repetition with visible boundaries. Bands accumulate near an outer rim; their divisions form material layers, ledges, coils, or plate edges. These examples omit the unstable inverse. Animated views appear in the supplementary material.
Twist and transformation choices
Figure 6 varies the conformal twist and transformation family for three fixed prompt–seed pairs. Poles and Möbius repeat motifs around two centres, while Square produces roughly rectangular nesting. Across these maps, recognizable scene elements persist as their arrangement changes.
Figure 7 shows bands forming tortilla layers, garden ledges, coils, and plate edges. Rimrings omits the unstable inverse: these divisions are intentional, so the aim is not to merge them into a continuous scene. The supplementary material animates this accumulation toward the rim.
Baselines and component ablations
Figure 8 compares prompting and post-processing with cumulative sampler additions. Prompt-only and extended-prompt baselines produce plausible scenes but lack the geometric methods’ nested structure. Post-hoc enforces repetition while carrying over scene boundaries that the denoiser cannot adapt to the new connections.
Starting with at , we add warm-up, followed by a final at , and in-loop SR. The crops expose differences in the inner copies: with warm-up alone, the cereal box contains a conventional illustration and the library mirror contains shelves without another clear mirror. The inverse/forward pair develops another nested scene; SR clarifies small edges and details. Each column shows the cumulative effect of the components included so far. The final column adds optional re-noising and denoising (“time travel”), which is excluded from the main sampler.
Limitations
The fixed recursion centre may miss the intended subject. In Figure 9 (left), warm-up anchors the nest on a window rather than the off-centre painter’s canvas. Optional time travel can also amplify seams instead of smoothing them, as the waterfall example shows (right pair). More generally, finite resolution and subsequent denoising limit geometric consistency: the continuous identities do not guarantee exact recursion in the final raster image.

Figure 9. Failure cases. Left: recursion anchors on the window rather than the canvas. Right: time travel amplifies the seam (without, then with).
Conclusion
Braided sampling combines a frozen image model with matched geometric maps to develop recursive scenes in source and transformed representations. Despite finite resolution and imperfect scene consistency, the results show how geometry can shape a composition throughout generation.
“I never got a pass mark in math ... mathematicians now use my prints to illustrate their books.” —M. C. Escher [12]
Acknowledgments
A.S. is supported by the Chaya Career Advancement Chair. This work was inspired by 3Blue1Brown’s video on YouTube: “How (and why) to take a logarithm of an image.” (https://www.youtube.com/watch?v=ldxFjLJ3rVY)
Implementation details
The baseline comparison in Figure 8 uses the displayed base prompts and a fixed initial seed within each row. The extended-prompt baseline appends: “In the style of M.C. Escher’s Print Gallery: a recursive Droste effect, the scene contains a smaller copy of itself spiraling inward.” The five cumulative ablation columns each include the same central 128 × 128-pixel crop from the 1024 × 1024 output: columns and rows 448 through 575, using zero-based coordinates. Displaying that crop at the same size as the full image gives an 8× linear enlargement. Crop locations are identical across the compared conditions; the crops receive no separate enhancement.
Figure 8. Baselines — Prompt only; Extended prompt; Post-hoc . Components added cumulatively — Single , ; + Droste warmup; + then at ; + SR in loop (ours); + Time travel. Prompt extension — appended to both scene prompts in the second column: In the style of M.C. Escher's Print Gallery: a recursive Droste effect, the scene contains a smaller copy of itself spiraling inward. A photorealistic kitchen breakfast: a child holds up a cereal box whose cover art shows this same kitchen and the same child holding the same cereal box; bright morning light, milk splash, glossy cardboard. A fine copperplate engraving of a grand library reading room: a round convex mirror high on the far wall gathers the whole room into it — the towering shelves, the reader at the table, and the mirror itself… Outlined regions enlarged 8× below; identical crop coordinates. Baselines and cumulative ablation. Rows fix the base prompt and seed; the blue callout supplies the prompt extension. The first three columns show prompt-only, extended-prompt, and post-hoc baselines. Starting from at , subsequent columns add warm-up, followed by a final at , in-loop SR (ours), and optional time travel. Identical central crops are enlarged 8× below.
Sampler and hyper-parameters
We build on FLUX.1-dev [4] in half precision with its distilled guidance at scale 3.5 (no classifier-free guidance pass), sampling 1024 × 1024 images with 128 flow-matching Euler steps and the default resolution-dependent timestep shift. On a non-operator step we take the standard Euler update. On an operator step we form the clean prediction , decode it with the VAE, apply the operator in pixel space, re-encode, and re-noise to the next level,
with a fresh .
Unless stated otherwise we use inset scale and source scale period per output revolution. From to (about 22 steps) we apply the twist-free map () on every step to plant the nested copy. We then apply at , its generalized inverse nine steps later (), and a final at ; the op gap sets only the spacing, while places the last . Before each of these three window warps we upscale by ×4 with Real-ESRGAN (Wang et al., [35]) and area-downsample back afterwards, which reduces resampling blur. We omit SR during warm-up because repeated enhancement of noisy predictions can darken them. In-loop warps use bilinear resampling. Optional time travel re-noises the result to and denoises without operators. It may reduce joins but can also amplify seams (Figure 9); it is off in the main sampler. The nonlinear SR and denoising stages lie outside the continuous inverse identities of § 3.1. A image takes about two minutes on a single 96 GB NVIDIA Blackwell GPU, with peak memory about 45 GB when in-loop super-resolution is active.
Table 1–Table 4 give the exact conformal-sampler settings; the number of window ops (3: , , ), the final level , the guidance scale 3.5 and the 128 steps are held fixed. Table 4 lists the remaining knobs with their defaults and the values we swept.
| Component | Setting |
| Base model | FLUX.1-dev (12B rectified-flow DiT), FluxPipeline, fp16 |
| Guidance | distilled guidance embedding, scale 3.5 (no CFG pass) |
| Resolution | 1024 × 1024 (latent 128 × 128 × 16, VAE factor 8) |
| Scheduler | FlowMatchEulerDiscrete, 128 steps, resolution-dependent shift |
| Non-op step | Euler flow step, |
| Op step | decode , warp, re-encode, re-noise to the next level |
| Hardware | single NVIDIA Blackwell GPU (96 GB); ≈2 min/image; peak ≈45 GB |
Table 1. Model and sampler.
| Name | Symbol | Default | Swept |
| Inset scale | , | ||
| Periods per turn | , | ||
| Warm-up start | off, | ||
| First op | , | ||
| Op gap | steps | , | |
| Time travel | off | , | |
| In-loop upscaling | – | SR | off, bicubic |
Table 4. Swept hyper-parameters and their defaults.
| Phase | range (step) | Operator | Upscaling |
| Free denoising | (0–18) | none | – |
| Warm-up | (19–40) | , every step | none |
| -cycle window | (41) (50) at (97) | SR | |
| Free denoising | none | – | |
| Time travel (optional) | post-hoc | re-noise to , denoise, no ops | – |
Table 3. Operator schedule over the 128 steps ().
Transfer to PixelDiT
To test whether the recipe depends on latent-space denoising, we rerun it on PixelDiT-1300M (nvidia/PixelDiT-1300M-1024px), a 1.3B-parameter pixel-space diffusion transformer with no VAE. It shares FLUX’s rectified-flow contract, so the operator step carries over unchanged, except that the VAE round trip becomes the identity and every and is a pure pixel-space warp of . We keep the FLUX recipe above and match it step for step, changing only the noise schedule: at equal PixelDiT is further along, so FLUX’s values give hazy outputs. Re-matching the levels by correlating the running estimate with the final image (warm-up , , , time travel ) restores contrast and keeps the recursion. A image takes about 20 seconds on one RTX 5090 (versus minutes for FLUX). The resulting gallery is shown in Appendix § 12.
Transformation definitions
We use the source scale factor and from § 2.1. After centering source coordinates, write the output-to-source sampling rule as
Here is the source log-position, and a positive factor sets its overall image scale. Source scale repetition and angular periodicity identify log-positions that differ by an element of
Consequently, a branch change that adds an element of does not change the sampled source colour. Define for integers .
Conformal twist. For integer we use
A full turn changes by . Thus counts signed source scale periods per output revolution. For , a fixed source radius satisfies , giving logarithmic spirals. Increasing changes their winding; the map is locally conformal away from the origin.
Poles. For prescribed centres and integer pairs ,
Each centre contributes a local recursion structure. A turn around changes by , so branch consistency holds separately at every centre. Away from the centres, the map is locally conformal wherever is nonzero.
Möbius. For distinct points , we precompose the twist with . The renderer uses
This is the two-centre case of Poles with opposite coefficients, linking the recursion around and . Different logarithm branches differ by source periods. This coordinate construction does not by itself specify a matched image-space inverse.
Square. For , let , and let be normalized arclength around the square perimeter, starting on the positive real axis. We use
One perimeter traversal adds . The square chart replaces circular nesting with square-shaped nesting. It is non-conformal, and its derivatives change across the rays through the square’s corners.
Rimrings. The ideal map adds a real radial term to the twist:
The radial term leaves angular branch consistency unchanged. As , it traverses increasingly many source scale periods, crowding repeated bands near the outer circle. The implementation evaluates at to regularize the divergence. We do not apply an inverse for this transform: inversion is numerically unstable, and the visible divisions between bands are part of the desired appearance.
Rendering. All five maps specify output-to-source coordinates. Writing , the renderer chooses the largest-radius scale-equivalent sample that remains inside the source canvas. If is the available source radius in direction , including a 0.995 safety factor, it uses
The standalone renderer samples these source positions bicubically on a supersampled output grid and averages to the final resolution. The in-loop implementation uses bilinear sampling (Table 2); the coordinate rules are shared. Replacing exact zero logarithm arguments by avoids evaluating the logarithm at singular centres. The square radius is likewise floored at . These formulas define the coordinate renderer; the matched-band inverse identities in § 3.1 require the corresponding band extraction and extension construction.
| Item | Definition |
| Sampling coordinates | about the focus, then source-band folding |
| Exponents | ; forward |
| Inset scale | default |
| Periods per turn | default; gives untwisted Droste repetition |
| Generalized inverse | with matched bands (Sec. 3.1) |
| Resampling | bilinear grid_sample, border padding, supersampling 1 |
| In-loop upscaling | ×4 Real-ESRGAN (RRDBNet x4plus, fp16), window ops only |
Table 2. Conformal transform .
The Droste-selected generalized inverse
We make the continuous construction explicit for the conformal family. Fix , , , and a logarithm branch . Let be the source radius used by the renderer, including its safety factor. Define the source band and its Droste folding map by
Thus , for , and . The forward image operator is
Here returns a source-band coordinate, not an image value.
To read this band from an Escher image, fix one output representative for each :
The integer fixes which scale-rotated copy is read; it is chosen from coordinates alone and held fixed for all images. In the unbounded continuous construction one may take . For a bounded output canvas containing a neighbourhood of the recursion centre, an explicit available-band convention is to choose the largest integer for which remains inside the canvas, with the rendering safety margin. This specifies the selected Escher band .
Since , logarithm branch changes alter the recovered source coordinate only by an integer power of . Consequently . Define
Operationally, this folds into the source band, finds its matched Escher representative, and reads the colour there. In particular, is scale-periodic even when violates recursion. The extraction and extension maps are now explicit:
Hence , , and , giving both reflexive identities in Eq. (6).
For , is the unique member of mapped to : among all preimages, it selects the Droste extension of the recovered band. For arbitrary , the selected band also matters because its repeated copies may disagree; regenerates an admissible Escher image from that band. This is an algebraic selection, without a minimum-norm or nearest-point claim. The construction excludes the recursion centre. Finite sampling, interpolation, and the subsequent SR and denoising operations are outside these exact continuous identities.
Empirical check of idempotence
We check the geometric maps separately from denoising and SR. For , an image is a fixed point in the continuous construction, so . Figure 10 compares these images on a checkerboard and displays the residual . The transformed panels retain the same recursive layout, while blur and edge differences remain visible after resampling. This is a visual check of the discretised geometric round trip; it does not establish exact consistency of the final denoised images.

Figure 10. Checking geometric round trips. From left to right: , , , , and the residual , where . Rows use deck ratios , , . The three transformed images coincide in the continuous construction; the rasterized comparison shows blur and residual differences near checkerboard edges. The measured residual is 0.011, 0.012, 0.014 (top to bottom), each at the bilinear-resampling floor.
Additional results
Transfer to a pixel-space model
Our sampler applies its geometric operators in pixel space, so it shouldn’t be dependent on the backbone denoising in a latent space. To test this we swap FLUX.1-dev, a latent-diffusion model, for PixelDiT-1300M, which denoises directly in pixels, and rerun the same recipe with only the model changed. Figure 11 shows the recursion still forms, so the technique transfers across the backbone and across the latent-to-pixel change; the implementation is described in Appendix § 9.

Figure 11. Transfer to a pixel-space backbone. The conformal -cycle recipe applied to PixelDiT-1300M, with the same prompts, numerical seeds, transform, and scale as the FLUX configuration, and adapted intervention noise levels. The warm-up start changes from 0.95 to 0.96, from 0.87 to 0.92, and from 0.5 to 0.69. Where time travel is used, its noise level changes from 0.75 to 0.82. Per-cell tags retain the FLUX naming convention (e.g. tt75) and do not denote the adapted noise levels.
Curated FLUX gallery
Figure 12, shown across the next two pages, collects a larger set of FLUX.1-dev results, distinct from the examples in the main text.

Figure 12. Additional Escher-recursion results (FLUX.1-dev). Curated gallery across subjects, transforms (conformal, square, poles, Möbius), inset scales and spiral orders; (Page 1 of 2.)

Figure 12 (continued). , page 2 of 2.)
References
- [1]Noam Aigerman and Thibault Groueix. Generative Escher Meshes. In Special Interest Group on Computer Graphics and Interactive Techniques Conference Conference Papers, SIGGRAPH ’24, pp. 1–11. ACM, 2024. doi: 10.1145/3641519.3657452. URL http://dx.doi.org/10.1145/3641519.3657452.
- [2]Arpit Bansal, Hong-Min Chu, Avi Schwarzschild, Soumyadip Sengupta, Micah Goldblum, Jonas Geiping, and Tom Goldstein. Universal guidance for diffusion models. In CVPR Workshops, 2023.
- [3]Omer Bar-Tal, Lior Yariv, Yaron Lipman, and Tali Dekel. MultiDiffusion: Fusing diffusion paths for controlled image generation. In ICML, 2023.
- [4]Black Forest Labs. FLUX.1. https://github.com/black-forest-labs/flux, 2024. Accessed: October 2, 2026.
- [5]Ryan Burgert, Xiang Li, Abe Leite, Kanchana Ranasinghe, and Michael Ryoo. Diffusion Illusions: Hiding Images in Plain Sight. In Special Interest Group on Computer Graphics and Interactive Techniques Conference Conference Papers 24, SIGGRAPH ’24, pp. 1–11. ACM, 2024. doi: 10.1145/3641519.3657500. URL http://dx.doi.org/10.1145/3641519.3657500.
- [6]Pascal Chang, Sergio Sancho, Jingwei Tang, Markus Gross, and Vinicius Azevedo. LookingGlass: Generative Anamorphoses via Laplacian Pyramid Warping. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 24–33, 2025.
- [7]Hyungjin Chung, Jeongs ol Kim, Michael T. McCann, Marc L. Klasky, and Jong Chul Ye. Diffusion posterior sampling for general noisy inverse problems. In ICLR, 2023.
- [8]Lucia Cipolina-Kun, Simone Caenazzo, and Gaston Mazzei. Comparison of CoModGans, LaMa and GLIDE for Art Inpainting Completing M.C Escher’s Print Gallery. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, pp. 716–724, 2022.
- [9]Bart de Smit and Hendrik W. Lenstra, Jr. The Mathematical Structure of Escher’s Print Gallery. Notices of the American Mathematical Society, 50(4):446–451, 2003. URL https://pub.math.leidenuniv.nl/~smitsde/papers/2003-de_smit-lenstra-escher.pdf. In the feature “Artful Mathematics: The Heritage of M. C. Escher”.
- [10]Yamit Ehrlich, Nimrod Berman, and Assaf Shocher. Pseudo-Invertible Neural Networks, 2026. URL https://arxiv.org/abs/2602.06042.
- [11]Dave Epstein, Allan Jabri, Ben Poole, Alexei A. Efros, and Aleksander Holynski. Diffusion self-guidance for controllable image generation. In NeurIPS, 2023.arxiv.org/abs/2306.00986
- [12]Bruno Ernst. The Magic Mirror of M. C. Escher. Random House, 1976.
- [13]Daniel Geng, Inbum Park, and Andrew Owens. Visual Anagrams: Generating Multi-View Optical Illusions with Diffusion Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 24154–24163, 2024.
- [14]Eyal Gofer and Guy Gilboa. Generalized Inversion of Nonlinear Operators. Journal of Mathematical Imaging and Vision, 66(4):478–503, 2024. doi: 10.1007/s10851-024-01179-w. URL http://dx.doi.org/10.1007/s10851-024-01179-w.
- [15]Alexandros Graikos, nebojsa Jojic, and Dimitris Samaras. Fast constrained sampling in pre-trained diffusion models. In Advances in Neural Information Processing Systems, volume 38, Main Conference, pp. 48205–48240. Curran Associates, Inc., 2025. doi: 10.52202/085713-1609. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/44f858a51e17ecea24ca33a9725-Paper-Conference.pdf.DOI
- [16]Douglas R. Hofstadter. Gödel, Escher, Bach: An Eternal Golden Braid. Basic Books, 1979.
- [18]A.E. Jacquin. Image coding based on a fractal theory of iterated contractive image transformations. IEEE Transactions on Image Processing, 1(1):18–30, 1992. doi: 10.1109/83.128028. URL http://dx.doi.org/10.1109/83.128028.
- [19]Bahjat Kawar, Michael Elad, Stefano Ermon, and Jiaming Song. Denoising diffusion restoration models. In NeurIPS, 2022.arxiv.org/abs/2201.11793
- [21]Erik Kersten. The OMG moment of Waterfall. Museum Escher in The Palace, 2019. URL https://escherinhetpaleis.nl/en/escher-today/waterfall.
- [22]Jaihoon Kim, Juil Koo, Kyeongmin Yeo, and Minhyuk Sung. SyncTweedies: A General Generative Framework Based on Synchronized Diffusions. In Advances in Neural Information Processing Systems, volume 37, pp. 95198–95237. Curran Associates, Inc., 2024. doi: 10.52202/791017-3016. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/ad1efab57a04d93f097e7fbb2d4fc054-Paper-Conference.pdf.arxiv.org/abs/2403.14370
- [23]Tianhong Li, Qinyi Sun, Lijie Fan, and Kaiming He. Fractal Generative Models, 2025. URL https://arxiv.org/abs/2502.17437.
- [24]J. L. Locher (ed.). M. C. Escher: His Life and Complete Graphic Work. Harry N. Abrams, New York, 1982. ISBN 97808010908581.
- [25]Or Madar and Ohad Fried. Tiled Diffusion. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 7795–7804, 2025.arxiv.org/abs/2412.15185
- [26]E. H. Moore. On the reciprocal of the general algebraic matrix. Bulletin of the American Mathematical Society, 26:394–395, 1920.
- [28]L. S. Penrose and R. Penrose. Impossible objects: A special type of visual illusion. British Journal of Psychology, 49(1):31–33, 1958. doi: 10.1111/j.2044-8295.1958.tb00634.x. URL http://dx.doi.org/10.1111/j.2044-8295.1958.tb00634.x.
- [29]R. Penrose. A generalized inverse for matrices. Mathematical Proceedings of the Cambridge Philosophical Society, 51(3):406–413, 1955. doi: 10.1017/S0305004100030401. URL http://dx.doi.org/10.1017/S0305004100030401.
- [30]Michael Poli, Winnie Xu, Stefano Massaroli, Chenlin Meng, Kuno Kim, and Stefano Ermon. Self-Similarity Priors: Neural Collages as Differentiable Fractal Representations. In Advances in Neural Information Processing Systems, volume 35, pp. 30393–30405. Curran Associates, Inc., 2022. doi: 10.52202/068431-2203. URL https://proceedings.neurips.cc/paper_files/paper/2022/file/c40bed06c51c8e827c1ba75aa2da054-Paper-Conference.pdf.DOI
- [31]Assaf Shocher, Amil Dravid, Yossi Gandelsman, Inbar Mosseri, Michael Rubinstein, and Alexei A. Efros. Idempotent generative network. In ICLR, 2024.arxiv.org/abs/2311.01462
- [32]Jiaming Song, Arash Vahdat, Morteza Mardani, and Jan Kautz. Pseudoinverse-Guided Diffusion Models for Inverse Problems. In International Conference on Learning Representations (ICLR), 2023. URL https://openreview.net/forum?id=9_gsMA8MRKQ.
- [33]Mike Wade. Roger Penrose on his friend MC Escher: the genius that galleries ignored. The Times, june 2015. URL https://www.thetimes.com/travel/destinations/uk-travel/england/london-travel/roger-penrose-on-his-friend-mc-escher-the-genius-that-galleries-ignored-90nph8gsd0l. Accessed: October 2, 2026.
- [34]Xiaojian Wang, Janne Kontkanen, Brian Curless, Steven M. Seitz, Ira Kemelmacher-Shlizerman, Ben Mildenhall, Pratul Srinivasan, Dor Verbin, and Aleksander Holynski. Generative Powers of Ten. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 7173–7182, 2024.arxiv.org/abs/2312.02149
- [35]Xintao Wang, Liangbin Xie, Chao Dong, and Ying Shan. Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data. In ICCV Workshops, 2021.arxiv.org/abs/2107.10833
- [36]Yinhua Wang, Jiwen Yu, and Jian Zhang. Zero-shot image restoration using denoising diffusion null-space model. In ICLR, 2023.arxiv.org/abs/2212.00490
- [37]Srikar Yellapragada, Alexandros Graikos, Kostas Triaridis, Prateek Prasanna, Rajarsi Gupta, Joel Saltz, and Dimitris Samaras. ZoomLDM: Latent Diffusion Model for Multi-scale Image Generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 23453–23463, 2025.arxiv.org/abs/2411.16969
- [38]Yue Yin, Enze Tao, and Dylan Campbell. Refracting Reality: Generating Images with Realistic Transparent Objects. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 4312–4321, 2026.arxiv.org/abs/2511.17340




