STLGen

All generators › Gifts and keepsakes

Fractal curve maker

Dragon, Hilbert, Gosper and 13 more famous curves.

Drag to turn, scroll or pinch to zoom. Grid squares are 10 mm.
Building the model…
Saves an STL file in millimetres, ready for your slicer.

Your download is almost ready

8 seconds

Your download is ready

Your download is starting

should appear in your downloads folder in a moment. Click here if it does not start.

If you find STLGen useful, please consider buying me a coffee. Coffees and a few simple ads are what keep this website free, and they pay for new features, like the simple CAD program that is coming soon.

Buy me a coffee
Fractal curve maker

Famous curves of mathematics, in plastic

Choose one of the classic fractal and space-filling curves (Hilbert, Peano, Moore, the dragon, Gosper, Koch, Sierpiński and more) and set the detail level. The curve becomes a raised line you can print as a coaster, wall art or a teaching model.

Each detail level repeats the curve's rule once more, so the line folds into a finer and finer pattern.

  • Runs in your browser
  • Nothing is uploaded
  • No sign-up
  • Free STL download

Tips and questions

1Making it look good
  • Raise the detail level until the lines are about to touch, then step back one.
  • Print the base in one colour and change filament where the curve starts.
  • Round the corners for a softer, flowing look.
  • For closed curves like the Koch snowflake, fill the inside for a solid shape.
?Questions
Which curve fills a square?

The Hilbert, Moore and Peano curves fill a square; the Gosper curve fills a shape like a snowflake island.

Why does my curve look like a blob?

The lines are too wide for the detail level. Lower the detail or make the line width smaller.

Can I use it as a coaster?

Yes: choose a circle or rectangle base plate with a rim.

More generators