Dragon Curve Generator
Generate and explore recursive space-filling dragon curves, including the classic Heighway Dragon, Twin Dragon, and Levy C Curve.
Presets
Quick-load elegant configurations
Parameters
Adjust fractal shapes
Aesthetics & Styles
Colors, strokes and backdrops
Animation Timeline
Trace the drawing sequence
How to Navigate the Viewport
Click and drag your mouse on the canvas area to pan around the fractal curve. Use your scroll wheel (mouse scroll) or pinch gestures on trackpads to zoom in and out. If the fractal goes out of view, click the Recenter button at the top left of the viewport bar to return to default scale bounds.
Professional Dragon Curve Generator for Everyone
An advanced interactive simulator for recursive space-filling curves. Generate the classic binary Harter-Heighway Dragon curve, the back-to-back symmetric Twin Dragon, and the 90-degree self-overlapping Levy C Curve. Adjust recursion depths, line thickness, and color gradients. View the generation sequence via step-by-step path tracing animations. Pan and zoom around the details of dense vector lines, and download finished drawings as transparent PNG images or copy scalable SVG vector coordinates.
Key Benefits
Why choose our Dragon Curve Generator for your workflow?
Space-Filling Intuition: Understand how one-dimensional lines fold to cover two-dimensional areas.
Highly Optimized: Built with client-side canvas paths to support drawing thousands of segments at 60 FPS.
Educational Tool: Perfect for learning about self-similarity, paper-folding sequences, and Hausdorff dimensions.
Common Use Cases
Real-world examples of how to use this tool.
Education: Interactive visual lessons on geometric recursion and fractal mathematics.
Digital Art: Design complex organic patterns, tech graphics, or poster backdrops.
Coding Benchmarks: Test recursive line generation algorithms and viewport transformation performance.
How to use Dragon Curve Generator?
Follow these simple steps to get the best results.
Select a preset (Classic Dragon, Neon Twin Dragon, Levy C Curve) from the options sidebar.
Adjust the Recursion Depth slider to control the level of detail.
Customize line thickness, joint styles, and colors.
Drag to pan and use the scroll wheel to zoom into specific areas of the fractal.
Press Play to animate the drawing sequence, or adjust the speed slider.
Export your design by clicking PNG or copy the raw SVG vector code.
Frequently Asked Questions
Common questions about our Dragon Curve Generator tool.
What is a Dragon Curve?
The Dragon curve is a self-similar fractal curve that can be constructed by recursively folding a strip of paper in half in the same direction, then unfolding it so each fold is a 90-degree angle.
What is the Twin Dragon?
The Twin Dragon (also known as the Davis-Knuth dragon) is a fractal shape formed by placing two Heighway Dragon curves back-to-back. It is particularly interesting because it can cleanly tile the plane.
What is the Levy C Curve?
The Levy C Curve is a self-similar fractal first described by Paul Lévy. Unlike the Heighway Dragon which alternates fold directions, the Levy C Curve folds to the same side at every recursive step, producing a beautiful ornamental shell-like boundary.
What is the difference between a curve's dimension and its boundary's dimension?
In the limit, space-filling curves like the Heighway Dragon completely cover a 2D region, so their overall Hausdorff dimension is 2. However, their boundaries are highly jagged, non-rectifiable curves with fractional dimensions: the Heighway Dragon boundary has a Hausdorff dimension of approximately 1.5236, while the Levy C curve has a boundary dimension of 2.
Discover More Tools
Hand-picked utilities to speed up your workflow.
Expert Insights
Learn more about privacy, image processing, and modern design.

How AI is Revolutionizing Image Editing
Explore the profound impact of neural networks on modern creative workflows, from automated background removal to generative upscaling. Learn how AI tools are democratizing professional-grade design for everyone.

The Importance of Privacy-First Web Tools
In an era of constant data tracking, discover why client-side processing is the future of digital security. We dive deep into how Imgira protects your sensitive data by keeping everything in your browser.

WebAssembly: Powering the Next Gen of Browser Apps
Discover how WebAssembly (Wasm) is bridging the gap between desktop performance and web accessibility. Learn why complex image processing can now happen instantly within a standard web browser.