Manuscript Offprint
arXiv:2610.02210Moore, Escher, Penrose: A Conformal Golden Braid
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Sophia Feldman
Technion - Israel Institute of Technology
sophia.d@campus.technion.ac.il
Assaf Shocher
Technion - Israel Institute of Technology

ESCHER, PENROSE: A CONFORMAL GOLDEN BRAID
Gallery (1956). Right: samples from a frozen text-to-image diffusion model age contains itself.
ABSTRACT
we unabing as
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.
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.
The title echoes Hofstadter’s Gödel, Escher, Bach: an Eternal Golden Braid (Hofstadter, 1979).
1 INTRODUCTION
“I went there expecting staircases coming out of the windows…” Roger Penrose, recalling his 1962 visit to M. C. Escher (Wade, 2015)
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 (Penrose & Penrose, 1958; Kersten, 2018; 2019). 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 (2003) 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 (Moore, 1920; Penrose, 1955). 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
— M. C. Escher (Locher, 1982)
Escher's geometry and computational art. de Smit & Lenstra (2003) formalized the geometry of Print Gallery and used it to reconstruct the missing central region. Cipolina-Kun et al. (2022) 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 (Aigerman & Groueix, 2024) 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 (Hutchinson, 1981; Jacquin, 1992). Neural Collages (Poli et al., 2022) learns contractive operators whose fixed points represent images. Our geometry prescribes admissible images, with content from a frozen model. Generative Powers of Ten (Wang et al., 2024) coordinates diffusion across scales for semantic zooms; ZoomLDM (Yelapragada et al., 2025) learns generation at multiple magnifications. These methods allow content to change with scale, whereas our construction repeats the same content. Fractal Generative Models (Li et al., 2025) uses architectural recursion without imposing this equality on outputs.
Constrained diffusion sampling. DDRM (Kawar et al., 2022) exploits the spectral structure of linear inverse problems, while DDNM (Wang et al., 2023) corrects clean-image estimates using a generalized inverse. DPS (Chung et al., 2023) uses approximate likelihood guidance for noisy linear and nonlinear measurements. IIGDM (Song et al., 2023) 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 (Bansal et al., 2023; Epstein et al., 2023; Graikos et al., 2025). 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 (Bar-Tal et al., 2023) fuses diffusion paths under shared constraints, and SyncTweedies (Kim et al., 2024) synchronizes clean-image estimates through a canonical representation. Visual Anagrams (Geng et al., 2024) combines denoising predictions under orthogonal image transformations. LookingGlass (Chang et al., 2025) extends this approach to latent flow models and more general spatial warps through Laplacian-pyramid image processing. Diffusion Illusions (Burgert et al., 2024) optimizes images whose arrangements reveal different interpretations. Tiled Diffusion (Madar & Fried, 2025) enforces compatibility between tile boundaries, including self-tiling; Refracting Reality (Yin et al., 2026) 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 (Shocher et al., 2024) 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.
2 PRELIMINARIES
2.1 FROM SCALE REPETITION TO ESCHER'S GEOMETRY
The Droste effect is the repeated appearance of an image within itself. 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 z into output w 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
The name comes from Droste cocoa packaging, which depicts a nurse carrying a tray with a smaller package bearing the same image.
(a) Source log tile

(b) Scale recursion

(c) Scale + rotation

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 .
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 1/22.58 and rotates clockwise by (de Smit & Lenstra, 2003). The construction excludes the origin; finite images sample a bounded window around it. Figure 2 compares these three representations.
2.2 GENERALIZED INVERSES AND IDEMPOTENT PROJECTIONS
For , the Moore–Penrose inverse uniquely satisfies (Moore, 1920; Penrose, 1955):
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 (2024) 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 g, Ehrlich et al. (2026) 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.

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.
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.
3 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 T 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.
3.1 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 Sec. 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
(6)
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 S and E, 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 T again to an Escher image generally compounds the coordinate warp; T 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 C.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.
3.2 SAMPLING SCHEDULE
We use the same frozen model and prompt in both representations. In the schematic sequence
each D 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 h is the sampling state and a, b are the schedule's signal and noise coefficients. Other steps use the regular sampler update. Fresh noise avoids warping existing noise: a linear resampler W would change its covariance from I to .
3.3 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 the 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.

Figure 4: Overview of generated results. Diverse scenes with conformal twists, square spirals, and multi-center maps. See the animated supplementary material.
4 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 A and D give comparison conventions and a geometric round-trip check. The supplementary material animates repeated views of the images without generating new content. See Appendix E for further results.

A warm domestic oil sketch of a breakfast table by a window: a silver spoon resting in a bowl, its curved back mirroring the whole table – the bowl, the bright window, and the spoon itself...

A photorealistic rainy city street; a double-decker bus passes with a side poster showing this same street, the same bus, and the same poster; wet reflections, motion blur, neon signs.
A photorealistic artist's desk with an open comic page; the inked character steps out of its panel into full photographic reality on the desk, the page still showing this same desk and the same stepping character...
a photorealistic grand old library hall with tall wooden bookshelves, rolling ladders and a long reading table, warm light
A photorealistic close view of a car door and its side mirror on an open highway; in the mirror the same car, the same road, and the same mirror recede into the distance; chrome trim, motion-blurred asphalt, clear daylight.
A photorealistic keynote hall at AI Conference: a giant projection screen with the title "AI Conference" shows a live camera feed of this same hall, the audience, and the same screen within it; blue stage lights, silhouetted heads, crisp legible text.

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 photorealistic chapel where a ceiling fresco of open sky bleeds seamlessly into a real circular skylight; a white dove flies out of the painted clouds into the real air above, half fresco half feather; the fresco shows this same chapel interior...
A photorealistic photographer on a mountain ridge; the camera's rear screen shows this same ridge and the same photographer holding the same camera; crisp alpine light, clouds below.
Figure 5: Conformal results with input prompts. Longer prompts are excerpted. Animated views appear in the supplementary material.
4.1 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
Prompt
Poles
Möbius
Square
Rimrings
A photorealistic toy puppet theater on a theater stage; its miniature stage shows this same theater, the same audience, and the same puppet theater, and a marionette climbs over the footlights into the real stage; velvet curtains, warm footlights.

A watercolor of a cozy bookshop window at dusk; a book displayed in the window has a cover illustration of this same bookshop, the same window, and the same book; warm interior glow, rain on glass.
A photorealistic overhead close-up looking straight down at the cut end of a tightly rolled shawarma wrap held in two hands; the tortilla coils inward in a tight spiral at the center of the frame...
Figure 6: Twist and transformation choices. Each row shares a prompt and initial seed. The conformal columns use (negative p 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.
reading room; geometry supplies the nesting. See the animated supplementary material and Appendix E for further views and examples.
4.2 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.
4.3 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 T 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.
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.
Baselines
Prompt only
Extended prompt
Post-hoc
T
Components added cumulatively

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.
Single T
- Droste warmup
then
at
- SR in loop
(ours)
- Time
travel

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 below; identical crop coordinates.
Figure 8: 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 T baselines. Starting from T at , subsequent columns add warm-up, followed by a final T at , in-loop SR (ours), and optional time travel. Identical central crops are enlarged below.

Figure 9: Failure cases. Left: recursion anchors on the window rather than the canvas. Right: time travel amplifies the seam (without, then with).
5 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.
6 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 (Ernst, 1976)
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)
REFERENCES
Noam Aigerman and Thibault Groueix. Generative Escher Meshes. In Special Interest Group on Computer Graphics and Interactive Techniques Conference Papers, SIGGRAPH '24, pp. 1–11. ACM, 2024. doi: 10.1145/3641519.3657452. URL http://dx.doi.org/10.1145/3641519.3657452.
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.
Omer Bar-Tal, Lior Yariv, Yaron Lipman, and Tali Dekel. MultiDiffusion: Fusing diffusion paths for controlled image generation. In ICML, 2023.
Black Forest Labs. FLUX.1. https://github.com/black-forest-labs/flux, 2024. Accessed: October 2, 2026.
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.
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.
Hyungjin Chung, Jeongsol Kim, Michael T. McCann, Marc L. Klasky, and Jong Chul Ye. Diffusion posterior sampling for general noisy inverse problems. In ICLR, 2023.
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.
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/~smitbde/papers/2003-de_smit-lenstra-escher.pdf. In the feature "Artful Mathematics: The Heritage of M. C. Escher".
Yamit Ehrlich, Nimrod Berman, and Assaf Shocher. Pseudo-Invertible Neural Networks, 2026. URL https://arxiv.org/abs/2602.06042.
Dave Epstein, Allan Jabri, Ben Poole, Alexei A. Efros, and Aleksander Holynski. Diffusion self-guidance for controllable image generation. In NeurIPS, 2023.
Bruno Ernst. The Magic Mirror of M. C. Escher. Random House, 1976.
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.
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.
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/44f85a8ac5151e17cecea24ca33a9725-Paper-Conference.pdf.
Douglas R. Hofstadter. Gödel, Escher, Bach: An Eternal Golden Braid. Basic Books, 1979.
John Hutchinson. Fractals and Self-Similarity. Indiana University Mathematics Journal, 30(5):713–747, 1981. doi: 10.1512/iumj.1981.30.30055. URL https://iumj.org/article/2972/.
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.
Bahjat Kawar, Michael Elad, Stefano Ermon, and Jiaming Song. Denoising diffusion restoration models. In NeurIPS, 2022.
Erik Kersten. Ascending and Descending. Museum Escher in The Palace, 2018. URL https://escherinhetpaleis.nl/en/escher-today/ascending-and-descending.
Erik Kersten. The OMG moment of Waterfall. Museum Escher in The Palace, 2019. URL https://escherinhetpaleis.nl/en/escher-today/waterfall.
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/079017-3016. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/adlefab57a04d93f097e7fbb2d4fc054-Paper-Conference.pdf.
Tianhong Li, Qinyi Sun, Lijie Fan, and Kaiming He. Fractal Generative Models, 2025. URL https://arxiv.org/abs/2502.17437.
J. L. Locher (ed.). M. C. Escher: His Life and Complete Graphic Work. Harry N. Abrams, New York, 1982. ISBN 9780810908581.
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.
E. H. Moore. On the reciprocal of the general algebraic matrix. Bulletin of the American Mathematical Society, 26:394–395, 1920.
Museum Escher in The Palace. Print Gallery, n.d. URL https://escherinhetpaleis.nl/en/about-escher/masterpieces/print-gallery. Accessed September 24, 2026.
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.
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.
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/c40bed606c51c8e827c1ba75aa2da054-Paper-Conference.pdf.
Assaf Shocher, Amil Dravid, Yossi Gandelsman, Inbar Mosseri, Michael Rubinstein, and Alexei A. Efros. Idempotent generative network. In ICLR, 2024.
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.
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-90nhp8gsd01. Accessed: October 2, 2026.
Xiaojuan 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.
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.
Yinhuai Wang, Jiwen Yu, and Jian Zhang. Zero-shot image restoration using denoising diffusion null-space model. In ICLR, 2023.
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.
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.
A 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 -pixel crop from the 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 linear enlargement. Crop locations are identical across the compared conditions; the crops receive no separate enhancement.
B SAMPLER AND HYPER-PARAMETERS
We build on FLUX.1-dev (Black Forest Labs, 2024) in half precision with its distilled guidance at scale 3.5 (no classifier-free guidance pass), sampling 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 with Real-ESRGAN (Wang et al., 2021) 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 Sec. 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.
Tables 1–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.
Table 1: Model and sampler.
| Component | Setting |
|---|---|
| Base model | FLUX.1-dev (12B rectified-flow DiT), FluxPipeline, fp16 |
| Guidance | distilled guidance embedding, scale 3.5 (no CFG pass) |
| Resolution | (latent , 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); min/image; peak GB |
Table 2: Conformal transform .
| 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 | Real-ESRGAN (RRDBNet x4plus, fp16), window ops only |
Table 3: Operator schedule over the 128 steps ().
| Phase | range (step) | Operator | Upscaling |
|---|---|---|---|
| Free denoising | none | ||
| Warm-up | every step | none | |
| -cycle window | |||
| Free denoising | none | ||
| Time travel (optional) | post-hoc | re-noise to , denoise, no ops |
Table 4: Swept hyper-parameters and their defaults.
| Name | Symbol | Default | Swept |
|---|---|---|---|
| Inset scale | |||
| Periods per turn | |||
| Warm-up start | off, | ||
| First op | |||
| Op gap | steps | ||
| Time travel | off | ||
| In-loop upscaling | off, bicubic |
B.1 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 E.
C TRANSFORMATION DEFINITIONS
We use the source scale factor and from Sec. 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 a and b. 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 Sec. 3.1 require the corresponding band extraction and extension construction.
C.1 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 F 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 z into the source band, finds its matched Escher representative, and reads the colour there. In particular, is scale-periodic even when y 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.
D 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.

Figure 11: Transfer to a pixel-space backbone. The conformal T-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.
E ADDITIONAL RESULTS
E.1 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 B.
E.2 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.)