EditSafely

Generate a Fibonacci Word Fractal

Draw a Fibonacci word fractal. Runs entirely in your browser, so your data never leaves your device.

Output

The result appears here as you type.

Options

How to use Generate a Fibonacci Word Fractal

  1. 1. Choose the word length. Set Word length to pick which Fibonacci word gets traced. Longer words, like the 14th term at 610 letters, produce a denser and more intricate turtle path.
  2. 2. Size the drawing. Set Width (px) and Height (px) to fit the traced path. Longer Fibonacci words need more room since the turtle covers a larger area before returning near its start.
  3. 3. Pick colors and line width. Choose Line color, Background color and Line width to control how clearly individual turtle steps stand out versus how the whole shape reads at a glance.
  4. 4. Review the traced fractal. The tool converts the Fibonacci word's 0s and 1s into turtle-graphics turns and draws the resulting path as an SVG. Save it once the shape looks right.

When to use Generate a Fibonacci Word Fractal

Generate a Fibonacci Word Fractal turns the Fibonacci word, a sequence built the same recursive way as Fibonacci numbers but with letters instead of numbers, into a turtle-graphics drawing. It connects a purely combinatorial object to a visual shape.

  • Teaching combinatorics on words. The Fibonacci word is a standard example in combinatorics on words courses. Rendering it as a fractal gives students a visual anchor for an otherwise abstract string of 0s and 1s.
  • Connecting Fibonacci sequences to geometry. Students who already know the Fibonacci number sequence see a new side of it here, where the same recursive substitution rule produces a self-similar picture instead of a number.
  • Exploring turtle graphics interpretations. The same binary string can be turned into different shapes depending on the turning rule used. This tool documents one specific, well-known interpretation for comparison against others.
  • Producing an unusual generative art piece. The Fibonacci word fractal has an irregular, tree-like branching look distinct from more symmetric fractals like the Koch snowflake, useful as a base layer in generative art.

Examples

The 14th Fibonacci word as a fractal

Output

An SVG drawing of the 610-letter Fibonacci word traced as a turtle path.

About the Generate a Fibonacci Word Fractal tool

Generate a Fibonacci Word Fractal runs as plain JavaScript in your browser tab, with no server behind it. Draw a Fibonacci word fractal. Whatever you put in stays on your device from start to finish.

The tool is part of EditSafely's Math Tools section, 234 single-purpose utilities built around the same idea: open the page, get the result, keep your data to yourself.

You can shape the output with 6 settings, including Word length, Width (px), Height (px) and Line color, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.

That local-first design has practical benefits beyond privacy. The tool keeps working on a flaky connection once the page has loaded, results are instant because nothing round-trips to a server, and it is safe to use with confidential material.

Frequently asked questions

Does Generate a Fibonacci Word Fractal cost anything?

Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.

Does the generator send anything to a server?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

How do I get a different result?

Run the generator again. Each run is computed fresh on your device, and any options you change are applied to the next result immediately.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

Can I save what the tool produces?

Yes. Use the download or copy controls in the output panel to keep the rendered result once it looks the way you want.

Related tools

All Math Tools