# Moore curve generator

## World's simplest math tool

Free online Moore space-filling curve generator. Just press a button and you'll automatically get a Moore curve. There are no ads, popups or nonsense, just an awesome Moore curve generator. Press a button, get a Moore 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.

Moore curve generator tool
What is a moore curve generator?

This tool draws Moore curves. A Moore curve is a continous, self-repeating (fractal) curve that fills the entire space that its given. It's very similar to a Hilbert curve but the biggest difference is that its start always meets the end. This tool allows you to change various curve options and lets you generate your own personal Moore curves. You can change the dimensions and color of the space that Moore's curve fills, the width and color of More's curve and how many iterations of Moore's curve to generate. Mathabulous!

Moore curve generator examples
Click to use

Draw a Blue Moore Curve

This example generates 5th generation Moore's curve. It changes background to blue, curve color to blackish, and dimensions of curve space to a square with side 400 pixels.

**Required options**

Moore curve's width.

Moore curve's height.

How many generations to create?

Moore curve's background color.

Moore curve's line color.

Width of Moore's curve.

Add padding around Moore
curve's edges

Generate a 3rd Order Moore Curve

This example draws a Moore curve using 3 iterations only. The result is not a very long curve that looks like a space ship.

**Required options**

Moore curve's width.

Moore curve's height.

How many generations to create?

Moore curve's background color.

Moore curve's line color.

Width of Moore's curve.

Add padding around Moore
curve's edges

Generate a Square Moore Curve

This example draws a colorful Moore curve on a 500x500 pixel square. It sets padding to 10 pixels and background color to redish-orange.

**Required options**

Moore curve's width.

Moore curve's height.

How many generations to create?

Moore curve's background color.

Moore curve's line color.

Width of Moore's curve.

Add padding around Moore
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-moore-curve?&width=400&height=400&iterations=5&background-color=%235291ff&line-segment-color=%2302164f&line-width=3&padding=5

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!