🐉 双海威龙分形Draw a Twin Heighway Fractal
绘制双海威龙:两条海威龙曲线拼成的空间填充图案,可调迭代与颜色,导出 PNG。Draw the twin Heighway dragon: two dragon curves joined into a space-filling pattern. Set iterations and colours; export PNG.
使用说明与常见问题How-to & FAQ
「双海威龙分形」是什么?What is the Draw a Twin Heighway Fractal tool?
绘制双海威龙:两条海威龙曲线拼成的空间填充图案,可调迭代与颜色,导出 PNG。Draw the twin Heighway dragon: two dragon curves joined into a space-filling pattern. Set iterations and colours; export PNG.
如何使用「双海威龙分形」?How do I use the Draw a Twin Heighway Fractal tool?
在「双海威龙分形」中,按需设置「宽度」、「高度」、「边距」、「线宽」、「迭代次数」等选项,然后点击「绘制」、「下载 PNG」按钮即可。Set the canvas "Width" and "Height", the "Padding" around the drawing and the "Line width", choose how many "Iterations" to draw, pick the "Background", "Line" and "Fill" colours, then click "Draw". "Download PNG" saves the picture at the canvas size.
为什么叫双龙?Why twin dragon?
两条海威龙曲线首尾相接、互相旋转 180°,合起来围成一块封闭区域(双龙瓦片),可以无缝铺满平面。所用 L 系统是起始 FX+FX+,规则 X → X+YF、Y → FX-Y,转角 90°;整条路径闭合,而且从不重复走同一条边。Two Heighway dragon curves joined end to end, each rotated 180° from the other, enclose a closed region (the twindragon tile) that tiles the plane. The L-system starts from FX+FX+ with X → X+YF, Y → FX-Y and 90° turns; the path closes on itself and never runs along the same edge twice.
迭代太高会怎样?What if iterations are very high?
线段数量近似 2ⁿ,15 次在普通画布上已经非常密;再高意义不大且更慢。Segment count is about 2ⁿ; 15 is already very dense on a normal canvas — higher is slower with little gain.
有哪些选项可以调整?What options can I adjust?
「双海威龙分形」的设置:「宽度」默认 512,范围 64–2048;「高度」默认 512,范围 64–2048;「边距」默认 20,范围 0–256;「线宽」默认 2,范围 0.5–40;「迭代次数」默认 11,范围 1–15;「背景」默认 #ffffff;「线条」默认 #1e3a8a。改动任一选项后结果会按新设置重新生成。Settings in the Draw a Twin Heighway Fractal — "Width" default 512, range 64–2048; "Height" default 512, range 64–2048; "Padding" default 20, range 0–256; "Line width" default 2, range 0.5–40; "Iterations" default 11, range 1–15; "Background" default #ffffff; "Line" default #1e3a8a. Changing any option regenerates the result with the new setting.
「双海威龙分形」免费吗?需要注册吗?Is the Draw a Twin Heighway Fractal free? Do I need an account?
「双海威龙分形」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Draw a Twin Heighway Fractal is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.