Kaleidoscope / Mirror

Turn any photo into a kaleidoscope or mandala: pick a wedge of the picture, choose 2 to 32 segments, and every segment is an exact mirrored copy of it. Click the photo to choose where the wedge comes from.

Tool Media & Files Updated Oct 16, 2026
How to Use
  1. Drop a photo on the box, click to browse, or paste one. A sample is shown until you do, so you can try the presets first.
  2. Set Segments (an even number from 2 to 32). Each segment is a wedge of 360° ÷ segments, and every other one is mirrored so the edges always match.
  3. Click or drag on the small source picture to choose where the wedge is taken from. Zoom sets how much of the photo the wedge reaches, Wedge angle turns it, and Spin turns the finished pattern.
  4. Choose the output size, and tick Round for a circular mandala with transparent corners.
  5. Save in any format from the Save panel (PNG or WebP keep the transparent corners). Show Work traces one pixel back to the photo.
Image & Pattern
click or drag to move

The orange slice is the part of the photo copied into every segment.

even, 2–32
% of half the shorter side
°
°
%
%
px square
Presets
Result
Wedge
—
Mirror Lines
—
Source Radius
—
Output
—

Worked Example

An 8-segment, 1000 px kaleidoscope from a 1200×800 photo at Zoom 60%. Each wedge is 360° ÷ 8 = 45°. The output radius of 500 px reaches 60% × 400 = 240 px into the photo, a scale of 240 ÷ 500 = 0.48 photo pixels per output pixel, centred on the photo’s middle (600, 400).

Tracing one pixel. Output pixel (800, 300) sits 360.7 px from the centre at an angle of 326.42°. That is wedge ⌊326.42 ÷ 45⌋ = 7, an odd one, so its 11.42° into the wedge is mirrored to 45 − 11.42 = 33.58°. It is copied from 360.7 × 0.48 = 173.1 px out at 33.58° in the photo: (744.2, 495.8), blended from the four nearest pixels.

The common mistake: an odd number of segments. With 7 wedges of 51.4°, mirroring every other one leaves the first and last wedge facing the same way, and a hard seam appears along one line. Mirrored kaleidoscopes need an even count, which is also why a real kaleidoscope’s mirrors are set at 180° ÷ n.

Show Work

Load an image to see one pixel traced back into it.

Formulas

Polar position
r = √(Δx² + Δy²), φ = atan2(Δy, Δx) − spin
From the output centre to the pixel centre, φ taken in [0°, 360°)
Fold into one wedge
α = 360° ÷ N, k = ⌊φ ÷ α⌋
ψ = φ − kα, or α − (φ − kα) if k is odd
Odd wedges are mirror images, so every edge matches
Into the photo
x = cx + r·s·cos(ψ + θ)
y = cy + r·s·sin(ψ + θ)
s = zoom × ½ min(W, H) ÷ ½ size; θ = wedge angle
Past the photo's edge
x → reflect into [0, W]
The photo is mirrored at its borders, so no blank areas appear
Symmetry
N wedges → N ÷ 2 mirror lines, N ÷ 2-fold rotation
The dihedral symmetry of a kaleidoscope with mirrors 360° ÷ N apart

Brewster’s Kaleidoscope

The Scottish physicist David Brewster invented the kaleidoscope in 1816 while studying the polarisation of light, and patented it in 1817. He named it from the Greek kalos (beautiful), eidos (form) and skopein (to look at). It was an instant craze, but cheap copies quickly sold in huge numbers and Brewster made little money from it.

The geometry is simple. Two mirrors set at an angle of 180° ÷ n reflect the objects between them into 2n wedges that alternate between original and mirror image, so mirrors at 45° give 8 wedges and mirrors at 30° give 12. This tool does the same with arithmetic: every output pixel is folded back into one wedge, and the wedge is a slice of your photo you choose by clicking.

About This Tool

This tool builds a true mirror kaleidoscope: every output pixel is folded into one wedge by its angle, and sampled bilinearly from the slice of the photo you pick, so the seams between segments line up exactly. Segments, zoom, wedge angle, spin, output size and a round crop are all adjustable, and Show Work traces a pixel back to the photo.

Images are decoded and saved in your browser by the engine behind the Universal Image Converter, so TIFF, PSD, HEIC and RAW files work too. Large outputs are previewed at reduced size and drawn at full size when you save. Nothing is uploaded.

Related tools: Rotate, Flip & Mirror, Glitch Art Generator, and Photo Mosaic Effect.

Frequently Asked Questions

How is the kaleidoscope made?

For every pixel of the output, the tool measures its angle around the centre and folds it into one wedge of 360° ÷ N. In even-numbered wedges the angle is used as it is; in odd-numbered ones it is mirrored (α − angle). That folded angle and the distance from the centre point into the photo, and the colour there is copied. Because neighbouring wedges are mirror images, their edges always line up.

Why must the number of segments be even?

Each wedge is the mirror image of its neighbours, so going round the circle the wedges alternate original, mirrored, original, mirrored. With an odd number the last wedge would meet the first one mirrored the same way and leave a visible seam. An even N closes perfectly: 8 segments give 4 mirror lines and a pattern that repeats 4 times around the centre.

What do Zoom and Wedge angle do?

Zoom sets how far into the photo the wedge reaches: at 100% the edge of the output circle corresponds to half the photo’s shorter side, at 50% to a quarter of it, which magnifies the detail. Wedge angle turns the slice of the photo that is sampled, so the same spot gives a completely different pattern every few degrees.

What does a 2-segment kaleidoscope do?

With two segments the wedge is a half-plane and the second half is its mirror image, so you get a simple left-right (or, with the wedge turned, any-direction) mirror through the centre point, like a butterfly or an inkblot.

Is my photo uploaded?

No. The pattern is made in your browser, and the photo is decoded and saved by the same engine as the Universal Image Converter, so TIFF, PSD, HEIC and RAW files work too. Nothing leaves your device.

How do I use the Kaleidoscope / Mirror?

Just type your numbers. The answer shows up right away — there is no button to press. Change anything and it updates by itself.

Is it free? Does it work without internet?

Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.

Where does my data go?

Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.

Common Use Cases

Mandalas and colouring art

A 12-segment, 2000 px round mandala from a flower photo makes a print-ready piece of symmetric art.

Backgrounds and wallpapers

Make a 2160 px square kaleidoscope from a city-lights photo for a phone or desktop background.

Album covers and posters

An 8-segment pattern from a textured photo gives a bold, symmetric 3000 px square cover.

Textile and pattern design

Try dozens of seeds of a design by sliding the wedge angle in 1° steps on one fabric photo.

Last updated: