Jigsaw generator

27 pieces

Variation (tabs)

Jigsaw preview

SVG puzzle drawing for laser cutters, print, etc.

Thanks for helping me out and testing this. It will be live on larsenwork.com once I'm done tweaking it. Until then it might change behaviour.

How to use it

The science

7 predefined points make up one side of a puzzle piece. We draw a curvy line through these points with Catmull-Rom interpolation courtesy of d3-shape.

A pseudo random number generator (PRNG) is used to add/subtract a random value from the each coordinate prior to drawing the curve. It's also used to determine the direction of the tabs.