Rotozoomer

Version 8 of 8

Log-polar zoom.

GPU · GLSL · today

This version

In log-polar coordinates zooming becomes sliding and rotation becomes wrapping, so the zoom never ends, a Droste spiral.

How this version works

This full-scale fragment shader converts centred screen coordinates into logarithmic radius and polar angle. Complex multiplication couples those coordinates into a spiral, while time offsets move the pattern through repeating radial and angular bands. Fractional coordinates and a checker calculation produce purple and orange cells with yellow radial accents and angular brightness modulation. A radial fade darkens the centre, where a small offset also keeps the logarithm finite.

The trick in this version

In log-polar coordinates, multiplicative changes in radius become translations, allowing repeated bands to suggest continuous zooming. The apparent nested pattern is generated in a single shader pass, with no recursive rendering or stored texture.

Historical context · GPU

  1. today · cake23 · WebGL Shader Lab

    Rotozoom with feedback

    A running example that feeds each frame back in as the next frame's texture, the rotozoom as a feedback loop.

Platform
GPU · GLSL
Era
GPU
Rendered on
GPU
Tags
log-polar · infinite zoom
Sources
Rotozoom with feedback (today)