# Peano curve generator

## World's simplest math tool

Free online Peano space-filling curve generator. Just press a button and you'll automatically get a Peano curve. There are no ads, popups or nonsense, just an awesome Peano curve generator. Press a button, get a Peano curve. Created by mathematicians for mathematicians.

announcement
heads up!

We just launched a new site — Online ASCII Tools — utilities for working with ASCII character set. Check it out!

A link to this tool, including input, options and all chained tools.

Can't convert.

Peano curve generator tool
What is a peano curve generator?

This tool draws custom Peano curves. A Peano curve is fractal-like curve that's self-similar and that also fills the entire space. This tool lets you change various custom Peano curve parameters. First it lets you set the size of the curve - its height and width. Then it lets you change the color of curve segments and color of background, and the width of the curve. Then you can also modify number of iterations to use to generate the curve. The more the iterations, the more space it fills. As Peano curve fills the space very quickly, we can currently compute only the first 5 generations. As CPUs get faster, we'll allow higher generation limits. Mathabulous!

Peano curve generator examples
Click to use

Draw a Pretty Peano Curve

This example generates a 300x300 2nd order Peano curve. This curve has a nice navy-on-white color scheme.

**Required options**

Peano curve's width.

Peano curve's height.

How many iterations to do?

Peano curve's background color.

Peano line color.

Peano curve's size.

Padding around Peano
curve's edges.

Generate a Green Peano Curve

This example sets the color of Peano curve to green and draws 3 curve iterations. Line width is set to 5px, padding to 30px and size to 600x400px.

**Required options**

Peano curve's width.

Peano curve's height.

How many iterations to do?

Peano curve's background color.

Peano line color.

Peano curve's size.

Padding around Peano
curve's edges.

Generate a Large Peano Curve

This example draws a large 4th generation Peano curve in an 800x800 space. It uses redish background color and whitish curve color.

**Required options**

Peano curve's width.

Peano curve's height.

How many iterations to do?

Peano curve's background color.

Peano line color.

Peano curve's size.

Padding around Peano
curve's edges.

Pro tips
Master online math tools

You can pass options to this tool using their codes as query arguments and it will automatically compute output. To get the code of an option, just hover over its icon. Here's how to type it in your browser's address bar. Click to try!

https://onlinemathtools.com/generate-peano-curve?&width=300&height=300&iterations=2&background-color=beige&line-segment-color=navy&line-width=3&padding=10

All math tools

Quickly generate a list of primes.

Quickly generate a list of Fibonacci numbers.

Quickly generate a list of extended, negative Fibonacci numbers.

Quickly generate a list of Fibonacci primes.

Quickly generate a list of Fibonacci words.

Quickly generate a list of Tribonacci words.

Quickly generate a list of Lucas numbers.

Quickly generate a list of extended, negative Lucas numbers.

Generate a list of Lucas numbers that are also prime numbers.

Generate a list of perfect numbers.

Quickly generate a list of look-and-say sequence numbers.

Create a list of Prouhet-Thue-Morse sequence values.

Create a list of dragon curve sequence values.

Create a list of Oldenburger-Kolakoski sequence values.

Create a list of Gijswijt sequence values.

Create a list of Golay-Rudin-Shapiro sequence values.

Create a list of Baum-Sweet sequence values.

Quickly generate π digits.

Quickly calculate factorials.

Create a triangluar array of binomial coefficients.

Quickly draw a Hilbert space-filling curve.

Quickly draw a dragon space-filling curve.

Quickly draw a Peano space-filling curve.

Quickly draw a Moore space-filling curve.

Quickly draw a Peano-Gosper space-filling curve.

Quickly draw a Sierpinski arrowhead fractal curve.

Quickly draw a Sierpinski sieve fractal.

Quickly draw a Sierpinski closed plane fractal curve.

Quickly draw a Koch island fractal curve.

Quickly draw a self-similar Levy C fractal curve.

Coming soon
These math tools are on the way

Generate Random Numbers

Create a list of random numbers.

Generate e Digits

Calculate Euler's constant to arbitrary precision.

Find n-th e Digit

Calculate the n-th digit of Euler's number.

Generate Golden Ratio Digits

Calculate Golden Ratio constant to arbitrary precision.

Find n-th Golden Ratio Digit

Calculate the n-th digit of Golden Ratio.

Find n-th Pi Digit

Calculate the n-th digit of pi constant.

Find Prime Factors

Given a number, factorize it and find its prime factors.

Test if a Number is a Prime

Find out if the given number is a prime number.

Test if a Number is a Fibonacci Number

Find out if the given number is a Fibonacci number.

Generate a Random Matrix

Create a matrix with random elements.

Transpose a Matrix

Find the transpose of a matrix.

Invert a Matrix

Find the inverse of a matrix.

Find Matrix Eigenvalues

Find eigenvalues of a matrix.

Draw a Z-order Curve

Generate a Z-order (Morton) curve.

Draw a Mandelbrot Fractal

Generate a Mandelbrot fractal.

Draw a Julia Fractal

Generate a Julia fractal.

Subscribe!
Never miss an update

Cool!

Notifications
We'll let you know when we add this tool

Cool!