Generate Paper-Folding Sequence
Generate the regular paper-folding sequence — the sequence of folds when repeatedly folding paper in half.
What Is the Paper-Folding Sequence?
Pick a fold count, hit generate, and you get the exact R/L pattern a paper strip makes when folded in half over and over — the same sequence that draws the dragon curve fractal. Switch output to binary digits or +/- if you're feeding it into code or a turtle-graphics plotter. And everything runs in your browser. Nothing gets uploaded.