⊞ 生成 T-方块曲线Generate T-Square Curve
生成 T 方块(T-square)分形:从一个实心正方形开始,在它的四个角上各放一个边长一半、中心正好落在角上的实心正方形;之后每一步在最新一批方块露在外面的三个角上继续这样做。导出 PNG。Generate the T-square fractal: start with a filled square and place a filled square of half the side centred on each of its four corners; at every later step do the same on the three outer corners of the newest squares. Export PNG.
使用说明与常见问题How-to & FAQ
「生成 T-方块曲线」是什么?What is the Generate T-Square Curve tool?
生成 T 方块(T-square)分形:从一个实心正方形开始,在它的四个角上各放一个边长一半、中心正好落在角上的实心正方形;之后每一步在最新一批方块露在外面的三个角上继续这样做。导出 PNG。Generate the T-square fractal: start with a filled square and place a filled square of half the side centred on each of its four corners; at every later step do the same on the three outer corners of the newest squares. Export PNG.
如何使用「生成 T-方块曲线」?How do I use the Generate T-Square Curve tool?
在「生成 T-方块曲线」中,按需设置「宽度」、「高度」、「边距」、「迭代次数」、「背景」等选项,然后点击「绘制」、「下载 PNG」按钮即可。In the Generate T-Square Curve: Set "Width", "Height", "Padding", "Iterations", "Background", then click "Draw", "Download PNG".
T 方块是怎么构造的?How is the T-square built?
第 0 步是一个实心正方形。第 1 步在它的 4 个角上各放一个边长一半的正方形,中心正好落在角上;之后每一步只在最新方块朝外的 3 个角上继续放(朝内的角已在大方块里面)。第 n 次迭代共有 1 + 4·(3ⁿ − 1)/2 个方块,整体始终位于边长为原方块 2 倍的正方形之内。随着迭代,空白处呈现出一个个 T 字形,故得名。Step 0 is one filled square. Step 1 puts a square of half the side centred on each of its 4 corners; every later step continues only on the 3 outward corners of the newest squares (the inward corner lies inside the bigger square). Iteration n has 1 + 4·(3ⁿ − 1)/2 squares, and the whole shape stays inside a square twice the original side. As it grows, the gaps form T shapes, hence the name.
和「绘制 T 方块分形」有什么关系?How does it relate to Draw a T-Square Fractal?
两者画的是同一种分形;本页提供迭代、画布、边距和颜色设置并导出 PNG。方块用「线条」颜色填实,所以没有单独的「填充」设置。Both draw the same fractal; this page has iteration, canvas, padding and colour settings and exports a PNG. The squares are filled in the Line colour, so there is no separate Fill setting.
有哪些选项可以调整?What options can I adjust?
「生成 T-方块曲线」的设置:「宽度」默认 512,范围 64–2048;「高度」默认 512,范围 64–2048;「边距」默认 20,范围 0–256;「迭代次数」默认 5,范围 1–8;「背景」默认 #ffffff;「线条」默认 #1e3a8a。每次生成结果都按当前设置处理。Settings in the Generate T-Square Curve — "Width" default 512, range 64–2048; "Height" default 512, range 64–2048; "Padding" default 20, range 0–256; "Iterations" default 5, range 1–8; "Background" default #ffffff; "Line" default #1e3a8a. The result always uses the current settings.
「生成 T-方块曲线」免费吗?需要注册吗?Is the Generate T-Square Curve free? Do I need an account?
「生成 T-方块曲线」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Generate T-Square 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.