Home Tools Blog About

Draw V Fractal

In short

Draw an L-system V-curve (F → F+F-F-F+F, 45°, dim ≈ 1.084). NOT the Lévy C curve. Free, offline, client-side, instant, secure.

  • Runs in your browser
  • Nothing uploaded
  • Free, no sign-up

Renders an L-system curve with axiom F, rule F → F+F-F-F+F, 45° turns. Each F substitutes into 5 F's, so iter N has 5ᴺ segments. Honest box-counting dimension log(5)/log(3+√2) ≈ 1.084. This is NOT the Lévy C curve - see the FAQ for what it actually is.

🛡
100% PrivateNo server uploads, ever
⚡
InstantRuns in your browser
💧
No WatermarksClean output, always
🆓
Free ForeverNo accounts, no limits

How to Use Draw V Fractal

Draw V Fractal · free online tool · All Tools Verse
Draw V Fractal. Free online tool that runs in your browser.
  1. Pick iterations (1-7). Each iteration replaces every F with 5 F's, so total segments = 5ᴺ. Iter 4 = 625; iter 7 = 78,125.
  2. Set segment length (5-50 px). The tool auto-scales to fit canvas.
  3. Pick canvas size, colors, and line width. A toast warns if the line color is too close to the background.
  4. Optionally enable symmetry colors (alternates indigo/cyan per segment) or depth shading (gradient by recursion depth).
  5. Click Draw Fractal or press Ctrl/Cmd + Enter. Iter 6+ shows a non-blocking time estimate.
  6. Copy or download the PNG. Filename encodes iteration.

Frequently Asked Questions

Is this the Lévy C curve?

No. The classical Lévy C curve, introduced by Paul Lévy in 1938 (Les courbes planes ou gauches et les surfaces composées de parties semblables au tout), uses the L-system axiom F with rule F → +F–F+ – that is 2 F’s per substitution, not 5. The Lévy C curve is space-filling (dim 2.0). This tool’s 5-F rule produces a completely different figure with dim around 1.084. The name “Lévy C curve” was attached to this tool by mistake in the original docs and has been removed.

What is the fractal dimension?

The honest box-counting dimension is log(5) divided by log(3 + √2), which works out to about 1.084. Derivation: one application of the rule F → F+F-F-F+F, starting at the origin heading up, traces 5 unit-length segments ending at (0, 3 + √2) ≈ (0, 4.414). So one F is replaced by 5 sub-F’s covering a diameter ratio of 4.414. The Moran-style similarity dimension is therefore log 5 / log 4.414 ≈ 1.084. An older version of the code returned log(5) / log(√2) ≈ 4.6438 – which is mathematically impossible in 2D (dim cannot exceed 2). An older version of the FAQ separately claimed “≈ 1.9340” – that figure has no clear derivation and may have been borrowed from a different fractal. Both old numbers were wrong; the current value reflects the actual geometry of this L-system.

How many segments at iteration N?

Exactly 5 to the N. Iter 1 = 5; iter 4 = 625; iter 7 = 78,125. An older version of the spec said “iter 1 = 3 segments” – that contradicted the FAQ (which correctly said 5) and the code. The code has always produced 5ᴺ; the spec is now consistent.

Why is the figure so “branchy” and not space-filling?

Because the L-system stretches forward each iteration: the rule’s expansion covers 4.414 units while replacing what was 1 unit, so the curve elongates. With dim around 1.084 (only slightly above 1.0), the curve is almost line-like – it has thin “branches” rather than filling area densely.

What do the symmetry and depth-shading toggles show?

Symmetry mode alternates indigo and cyan per consecutive segment, which visually pairs up left/right branches generated by the symmetric rule. Depth shading interpolates from the line color toward pink based on a running count of +/− turns (current recursion-depth proxy), so deeper branches appear in warmer color.

Why is iteration limited to 7?

5 to the 7 = 78,125 segments. Iter 8 would be 390,625 – too slow for live exploration in a typical browser. Iter 7 is already at the edge; the tool gives a non-blocking time estimate before running it.

Is anything sent to a server?

No. The tool loads three static files (HTML, CSS, JS) and then runs entirely in your browser – L-system expansion, drawing, PNG export, clipboard copy. You can disconnect from the internet after the page loads. No analytics, no tracking, no cookies.

Is this tool free?

Yes – free, unlimited, no signup, no watermark. Use the PNGs in lectures, papers, blog posts, or art freely. Attribution to is appreciated but not required.

Keep going

Related Tools

All Fractals tools →

Draw Canopy Fractal →

Draw a canopy-tree L-system fractal in your browser. 7 iterations, custom colors, gradient depth,…

Draw Cantor Dust Fractal →

Draw true Cantor Dust (4-corner) or Sierpiński carpet (8-square) in your browser. Color modes,…

Draw Cantor Fractal →

Draw the Cantor set with middle-third deletion. 0-10 iterations, custom colors, dimension and measure…

Draw Flowsnake Fractal →

Draw the Gosper curve hexagonal space-filling fractal in your browser. Iterations 1-6, custom colors,…

Draw Frosty Fractal →

Draw Frosty Fractal online, free and private. Runs in your browser, no upload, instant…

Draw Hausdorff Fractal →

Draw the Hilbert curve or Moore curve (closed-loop variant) - true space-filling fractals (dim…

Draw Heighway Fractal →

Draw the Heighway dragon (paper-folding fractal) with fire gradient and symmetry modes. L-system based.…

Draw Hexaflake Fractal →

Draw the hexaflake (hexagon snowflake) - 7-hexagon recursive fractal with 6-fold symmetry. Custom colors,…

Draw Hilbert Fractal →

Draw the Hilbert space-filling curve in your browser. 9 iterations, rotation, gradient, endpoints. Free,…

Draw Koch Fractal →

Draw Koch curve, snowflake, or anti-snowflake at any angle. Iterations 0-7. Free, offline, client-side,…

Draw Levy Fractal →

Draw the Lévy C-curve (Paul Lévy 1938) - space-filling fractal at 45°. Gradient and…

Draw Mcworter Dendrite Fractal →

Draw Mcworter Dendrite Fractal online, free and private. Runs in your browser, no upload,…

Share

Embed this tool

Add this free tool to your website. Copy and paste the code: