Calculate Dragon Curve Numbers
Generate a list of paperfolding sequence numbers. Runs entirely in your browser, so your data never leaves your device.
Output
The result appears here as you type.
How to use Calculate Dragon Curve Numbers
- 1. Set how many terms to generate. Enter the How many terms value to choose the length of the paperfolding sequence. There is nothing to paste, since this is a generator that computes the sequence from scratch.
- 2. Choose a separator. Pick the Separator that joins the output terms, such as a comma or space, so the sequence pastes cleanly into a spreadsheet cell or code array.
- 3. Copy the sequence. Copy the generated 0s and 1s from the output and use them for the fold-direction sequence, OEIS lookup or generative art project you are building.
When to use Calculate Dragon Curve Numbers
Calculate Dragon Curve Numbers generates the regular paperfolding sequence, the pattern of left and right folds you get from repeatedly folding a strip of paper in half. It suits anyone modeling the dragon curve fractal or exploring OEIS A014577.
- Rendering a dragon curve fractal. You are drawing the Heighway dragon curve in a generative art sketch or turtle-graphics program and need the fold-direction bits to drive each turn left or right.
- Studying paperfolding sequences. A recreational mathematics write-up references OEIS A014577 and you want to generate enough terms to verify a claim about the sequence's self-similar structure.
- Building a procedural pattern generator. A generative design tool uses the paperfolding sequence to drive an alternating pattern, and you need a quick source of correct terms to seed the algorithm.
- Checking a paper-folding physical demonstration. You physically folded a strip of paper several times and want to verify the fold directions you observed match the predicted paperfolding sequence.
Examples
The first ten numbers
Output
1, 1, 0, 1, 1, 0, 0, 1, 1, 1
About the Calculate Dragon Curve Numbers tool
Calculate Dragon Curve Numbers is a free online tool that works entirely inside your web browser. Generate a list of paperfolding sequence numbers. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.
This page is one of 194 Number utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.
You can shape the output with 2 settings, including How many terms and Separator, 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.
Because nothing leaves your device, the tool is suitable for sensitive content such as internal documents, credentials or customer data. It also responds instantly, since every keystroke is handled on your own machine rather than by a remote API.
Frequently asked questions
Does Calculate Dragon Curve Numbers 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.
How do I use the result?
The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.