▦ 生成谢尔宾斯基地毯Generate Sierpinski Carpet
生成谢尔宾斯基地毯:正方形反复挖去中心九分之一。导出 PNG。可设置「宽度」、「高度」、「边距」、「迭代次数」、「背景」。Generate the Sierpinski carpet by repeatedly removing the centre ninth of each square. Export PNG. Settings: Width, Height, Padding, Iterations, Background.
使用说明与常见问题How-to & FAQ
「生成谢尔宾斯基地毯」是什么?What is the Generate Sierpinski Carpet tool?
生成谢尔宾斯基地毯:正方形反复挖去中心九分之一。导出 PNG。可设置「宽度」、「高度」、「边距」、「迭代次数」、「背景」。Generate the Sierpinski carpet by repeatedly removing the centre ninth of each square. Export PNG. Settings: Width, Height, Padding, Iterations, Background.
如何使用「生成谢尔宾斯基地毯」?How do I use the Generate Sierpinski Carpet tool?
在「生成谢尔宾斯基地毯」中,按需设置「宽度」、「高度」、「边距」、「迭代次数」、「背景」等选项,然后点击「绘制」、「下载 PNG」按钮即可。In the Generate Sierpinski Carpet: Set "Width", "Height", "Padding", "Iterations", "Background", then click "Draw", "Download PNG".
和康托尔尘有何不同?How does it differ from Cantor dust?
两者都把正方形分成 3×3 九格。地毯只去掉中间一格、保留 8 格,所以是连通的一整块网;康托尔尘只保留 4 个角、去掉其余 5 格,得到互不相连的点尘。Both split a square into a 3×3 grid. The carpet removes only the centre cell and keeps 8, so it stays one connected mesh; Cantor dust keeps only the 4 corners and drops the other 5, leaving disconnected dust.
迭代上限和颜色?Iteration limit and colours?
1–6 次,第 n 次有 8^n 个小方块(6 次 262144 个)。方块用「线条」颜色填实,所以没有单独的「填充」设置;小方块不足约 1.5 像素时会提示细节已小于像素。1 to 6; iteration n has 8^n small squares (262,144 at 6). The squares are filled in the Line colour, so there is no separate Fill setting; when they shrink below about 1.5 pixels a note says the detail is finer than a pixel.
有哪些选项可以调整?What options can I adjust?
「生成谢尔宾斯基地毯」的设置:「宽度」默认 512,范围 64–2048;「高度」默认 512,范围 64–2048;「边距」默认 20,范围 0–256;「迭代次数」默认 4,范围 1–6;「背景」默认 #ffffff;「线条」默认 #1e3a8a。每次生成结果都按当前设置处理。Settings in the Generate Sierpinski Carpet — "Width" default 512, range 64–2048; "Height" default 512, range 64–2048; "Padding" default 20, range 0–256; "Iterations" default 4, range 1–6; "Background" default #ffffff; "Line" default #1e3a8a. The result always uses the current settings.
「生成谢尔宾斯基地毯」免费吗?需要注册吗?Is the Generate Sierpinski Carpet free? Do I need an account?
「生成谢尔宾斯基地毯」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Generate Sierpinski Carpet is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.