🐉 生成龙曲线Generate Dragon Curve
生成贺氏龙曲线(Heighway dragon):用 L 系统迭代折线,可调次数与颜色,导出 PNG。可设置「宽度」、「高度」、「边距」、「线宽」、「迭代次数」。Generate the Heighway dragon curve via an L-system. Set iterations and colours; export PNG. Settings: Width, Height, Padding, Line width, Iterations.
使用说明与常见问题How-to & FAQ
「生成龙曲线」是什么?What is the Generate Dragon Curve tool?
生成贺氏龙曲线(Heighway dragon):用 L 系统迭代折线,可调次数与颜色,导出 PNG。可设置「宽度」、「高度」、「边距」、「线宽」、「迭代次数」。Generate the Heighway dragon curve via an L-system. Set iterations and colours; export PNG. Settings: Width, Height, Padding, Line width, Iterations.
如何使用「生成龙曲线」?How do I use the Generate Dragon Curve tool?
在「生成龙曲线」中,按需设置「宽度」、「高度」、「边距」、「线宽」、「迭代次数」等选项,然后点击「绘制」、「下载 PNG」按钮即可。In the Generate Dragon Curve: Set "Width", "Height", "Padding", "Line width", "Iterations", then click "Draw", "Download PNG".
龙曲线是什么?What is the dragon curve?
一条纸带反复对折再展开,折痕极限就是贺氏龙曲线,能铺满平面。Fold a strip of paper repeatedly; the crease limit is the Heighway dragon, which tiles the plane.
F、X、Y 表示什么?What do F, X, Y mean?
F 向前画线;X/Y 是改写用的符号,本身不画线。F draws forward; X and Y are rewrite symbols and do not draw.
有哪些选项可以调整?What options can I adjust?
「生成龙曲线」的设置:「宽度」默认 512,范围 64–2048;「高度」默认 512,范围 64–2048;「边距」默认 20,范围 0–256;「线宽」默认 2,范围 0.5–40;「迭代次数」默认 12,范围 1–16;「背景」默认 #ffffff;「线条」默认 #1e3a8a。每次生成结果都按当前设置处理。Settings in the Generate Dragon Curve — "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 12, range 1–16; "Background" default #ffffff; "Line" default #1e3a8a. The result always uses the current settings.
「生成龙曲线」免费吗?需要注册吗?Is the Generate Dragon Curve free? Do I need an account?
「生成龙曲线」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Generate Dragon Curve is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.