Polyatic Guilloche Pattern Generator
All tools

Guilloche pattern generator

Rosettes, borders, frames and ring-and-wheel curves in layers. SVG in mm, PNG or true-size PDF.

Privacy: the design stays on this device. It is drawn inside this page and nothing is stored. A share link keeps every layer after the # sign, which browsers never send to a server. The page sends an anonymous page-view count and fixed event names only (guilloche-make, guilloche-draw-play, guilloche-download, and guilloche-download-size- followed by a4, letter, 1000, 2000 or 4000).

How to use it

  1. Pick a layer tab and its type. Ring & wheel is the toy with the toothed wheel: set the ring's teeth, the wheel's teeth, how far out the pen hole is, and whether the wheel rolls inside or outside the ring. Rosette, Border and Frame are guilloche bands of fine lines.
  2. For a band, set the number of lines and two waves: amplitude (how far a line swings, in % of the band), frequency (whole waves per round, or across the border) and phase spread (how far the wave slides from the first line to the last; 0 puts every line on top of the first).
  3. Add up to 6 layers with +, each with its own colour and line width. Press Play the pen to watch the lines being drawn, or Random for a seeded design you can get back by typing its seed.
  4. Set the size in millimetres and save. Print the PDF at 100 % (Actual size, not Fit to page) and measure the 50 mm line under the design.

Worked example: 96 ring teeth, 60 wheel teeth

The greatest number that divides both 96 and 60 is 12. The wheel's pen comes back to where it started only when a whole number of wheel teeth has met a whole number of ring teeth, and the first time that happens is after 96 × 60 / 12 = 480 teeth: 480 / 96 = 5 turns of the wheel round the ring (that is r / gcd(R, r) = 60 / 12), in which the pen makes 480 / 60 = 8 trips round the wheel, drawn as 8 loops (R / gcd(R, r) = 96 / 12). Change the wheel to 63 teeth and the gcd drops to 3: 21 turns and 32 loops, a far denser pattern. A 35-tooth wheel shares no factor with 96, so the curve needs all 35 turns and draws 96 loops. The status line under the drawing does this sum for every ring-and-wheel layer.

The curve itself is a hypotrochoid when the wheel rolls inside: with the wheel centre at angle θ, the pen is at x = (R − r) cos θ + d cos((R − r)θ / r), y = (R − r) sin θ − d sin((R − r)θ / r), where d is the pen's distance from the wheel's centre (the pen hole, here 0 to 100 % of the wheel's radius). Rolling outside gives an epitrochoid. Radii are in proportion to tooth counts, because the teeth are the same size on both pieces.

What it cannot do

  • No fill between lines: everything is a line of one width, so there are no solid areas, gradients or shading.
  • No text on a curve, and no text at all: add names and wording in your own layout program.
  • A plotter draws each layer as one long stroke with one pen: a layer is one path, so a single line inside a layer cannot have its own colour. Use another layer for that.
  • Wheels and rings are ideal circles; it does not copy the shapes, hole positions or tooth counts of any toy set, and it has no oval or triangular pieces.
  • A guilloche drawn here is decoration, not a security feature: it does not stop anyone from copying a certificate.
  • The PDF holds one design on one page, up to 180 × 240 mm; there is no tiling for posters.

Questions

How many turns does a ring-and-wheel pattern take to close?

Divide the wheel's teeth by the greatest common divisor of the two tooth counts: r / gcd(R, r). The pattern has R / gcd(R, r) loops. A 96-tooth ring with a 60-tooth wheel has gcd 12, so the wheel goes round the ring 5 times and draws 8 loops. Teeth that share no factor, such as 96 and 35, take all 35 turns and draw 96 loops.

What is a guilloche pattern?

A guilloche is a precise, repetitive pattern of fine interlacing lines, first cut by engine-turning machines such as the rose engine and the straight-line engine, and printed on banknotes, passports and certificates or engraved on watch dials. On this page each line is a circle, a straight line or a frame outline pushed in and out by two added sine waves, and every next line slides those waves a little further along, which is what makes the lines weave. Two waves with amplitudes over 100 % in total are scaled down together, so no line ever leaves its band.

Can I use the SVG with a pen plotter, laser or cutter?

The SVG is in millimetres at the size you set (its width and height carry mm units and one user unit is 1 mm), and each layer is one <path> with its own stroke colour, so plotter and laser software can give each layer its own pen or setting. Lines are strokes, not filled shapes; a cutter will follow them as cut lines. The page has not been tested with any particular machine.

Sources

  • The rolling-circle equations: Hypotrochoid, Wikipedia (fetched 2026-11-12).
  • Engine turning, the rose engine and the straight-line engine, and the use on banknotes and certificates: Guilloché, Wikipedia (fetched 2026-11-12).

Made with AI tools. · Privacy