<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/m-c-escher-print-gallery-shader-8xhmulvgt" -->

---
title: M.C. Escher Print Gallery Shader | daily.dev
description: A technical breakdown of how to recreate M.C. Escher&#x27;s infinite spiral &#x27;Print Gallery&#x27; effect using WebGL shaders. The approach converts image coordinates from...
canonical: https://daily.dev/posts/m-c-escher-print-gallery-shader-8xhmulvgt
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: M.C. Escher Print Gallery Shader | daily.dev
og:description: A technical breakdown of how to recreate M.C. Escher&#x27;s infinite spiral &#x27;Print Gallery&#x27; effect using WebGL shaders. The approach converts image coordinates from...
og:url: https://daily.dev/posts/m-c-escher-print-gallery-shader-8xhmulvgt
og:image: https://api.daily.dev/og/posts/8xhMuLvGT.png
og:image:alt: M.C. Escher Print Gallery Shader
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# M.C. Escher Print Gallery Shader

**[Hacker News](https://daily.dev/sources/hn)** · 5 min read · 0 upvotes · 0 comments

## Summary

A technical breakdown of how to recreate M.C. Escher's infinite spiral 'Print Gallery' effect using WebGL shaders. The approach converts image coordinates from Cartesian to polar space, applies a rotation in polar space to break the row structure of recursive droste images, then transforms back to Cartesian coordinates — producing a seamless spiraling illusion. Full vertex and fragment shader source code is provided, with the mathematical intuition explained by analogy to the Fourier transform.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://static.laszlokorte.de/escher/>

## Similar posts on daily.dev

- [Creating Wavy Infinite Carousels in React Three Fiber with GLSL Shaders](https://daily.dev/posts/creating-wavy-infinite-carousels-in-react-three-fiber-with-glsl-shaders-1uud9ecve) · Codrops · 2 upvotes · 0 comments
- [The Complex Transformations Underlying MC Escher’s Works](https://daily.dev/posts/the-complex-transformations-underlying-mc-escher-s-works-cl36w5f9h) · Hackaday · 0 upvotes · 0 comments
- [Building an Infinite Loom: Unravelling Images into Threads with Three.js](https://daily.dev/posts/building-an-infinite-loom-unravelling-images-into-threads-with-three-js-qncgosmay) · Codrops · 2 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#game-development](https://daily.dev/tags/game-development), [#graphics-programming](https://daily.dev/tags/graphics-programming)

[View this post on daily.dev](https://daily.dev/posts/m-c-escher-print-gallery-shader-8xhmulvgt)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"M.C. Escher Print Gallery Shader","url":"https://daily.dev/posts/m-c-escher-print-gallery-shader-8xhmulvgt","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/m-c-escher-print-gallery-shader-8xhmulvgt"},"datePublished":"2026-04-05T10:15:03.600Z","dateModified":"2026-04-05T10:15:28.315Z","description":"A technical breakdown of how to recreate M.C. Escher's infinite spiral 'Print Gallery' effect using WebGL shaders. The approach converts image coordinates from...","image":"https://media.daily.dev/image/upload/s--foaA6JGU--/f_auto/v1722860399/public/Placeholder%2004","thumbnailUrl":"https://media.daily.dev/image/upload/s--foaA6JGU--/f_auto/v1722860399/public/Placeholder%2004","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/m-c-escher-print-gallery-shader-8xhmulvgt","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev,game-development,graphics-programming","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"M.C. Escher Print Gallery Shader"}]}
```

