🔍

首页Home › 图片工具Image Tools

△ 生成海威三角龙Generate Heighway Triangle

生成三角版龙曲线(120°)。导出 PNG。可设置「宽度」、「高度」、「边距」、「线宽」、「迭代次数」。Generate a triangular dragon curve (120°). Export PNG. Settings: Width, Height, Padding, Line width, Iterations.

使用说明与常见问题How-to & FAQ

「生成海威三角龙」是什么?What is the Generate Heighway Triangle tool?

生成三角版龙曲线(120°)。导出 PNG。可设置「宽度」、「高度」、「边距」、「线宽」、「迭代次数」。Generate a triangular dragon curve (120°). Export PNG. Settings: Width, Height, Padding, Line width, Iterations.

如何使用「生成海威三角龙」?How do I use the Generate Heighway Triangle tool?

在「生成海威三角龙」中,按需设置「宽度」、「高度」、「边距」、「线宽」、「迭代次数」等选项,然后点击「绘制」、「下载 PNG」按钮即可。In the Generate Heighway Triangle: Set "Width", "Height", "Padding", "Line width", "Iterations", then click "Draw", "Download PNG".

和普通龙曲线有何不同?How does it differ from the usual dragon?

普通(海威)龙曲线每步把线段换成两段、转 90°;这里每步把线段换成三段、转 120°,这条曲线通常称为三角龙(terdragon)。它同样从不重复走同一条边,多次迭代后铺满一块带锯齿边的区域。The usual Heighway dragon replaces each segment with two and turns 90°; here each segment becomes three with 120° turns. This curve is usually called the terdragon. It also never runs along the same edge twice and, after many iterations, fills a region with a jagged edge.

规则和迭代上限?Rule and iteration limit?

L 系统 F → F+F-F,转角 120°。线段数是 3^n:8 次(默认)约 6561 条,12 次约 53 万条,上限就是 12;更高的次数会让浏览器卡住数秒并且画成实心一片,所以会直接提示。The L-system is F → F+F-F with 120° turns. There are 3^n segments: 6,561 at the default 8 iterations and about 531,000 at 12, which is the maximum; more would freeze the browser for seconds and draw a solid blob, so you get a message instead.

有哪些选项可以调整?What options can I adjust?

「生成海威三角龙」的设置:「宽度」默认 512,范围 64–2048;「高度」默认 512,范围 64–2048;「边距」默认 20,范围 0–256;「线宽」默认 2,范围 0.5–40;「迭代次数」默认 8,范围 1–12;「背景」默认 #ffffff;「线条」默认 #1e3a8a。每次生成结果都按当前设置处理。Settings in the Generate Heighway Triangle — "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 8, range 1–12; "Background" default #ffffff; "Line" default #1e3a8a. The result always uses the current settings.

「生成海威三角龙」免费吗?需要注册吗?Is the Generate Heighway Triangle free? Do I need an account?

「生成海威三角龙」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Generate Heighway Triangle is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

🔺 三角龙分形Draw a Triangle Dragon Fractal🐉 生成龙曲线Generate Dragon Curve⬡ 生成六角龙曲线Generate Hexadragon Curve〰 生成希尔伯特曲线Generate Hilbert Curve❄ 生成科赫反雪花Generate Koch Anti-snowflake✦ 生成科赫多边雪花Generate Koch Polyflake❄ 生成科赫雪花Generate Koch Snowflake▲ 生成科赫三角分形Generate Koch Triangle Fractal∟ 生成莱维 C 曲线Generate Lévy C Curve▦ 生成摩尔曲线Generate Moore Curve〰 生成皮亚诺曲线Generate Peano Curve🌳 生成毕达哥拉斯树Generate Pythagoras Tree

← 全部工具All tools