🔺 绘制杨辉三角Draw Pascal Triangle
把杨辉三角(帕斯卡三角形)画成图片并下载。可调行数与颜色,本地完成。可设置「行数」、「背景」、「文字」。Draw Pascal triangle as an image for download. Set rows and colours; runs locally. Settings: Rows, Background, Text.
使用说明与常见问题How-to & FAQ
「绘制杨辉三角」是什么?What is the Draw Pascal Triangle tool?
把杨辉三角(帕斯卡三角形)画成图片并下载。可调行数与颜色,本地完成。可设置「行数」、「背景」、「文字」。Draw Pascal triangle as an image for download. Set rows and colours; runs locally. Settings: Rows, Background, Text.
如何使用「绘制杨辉三角」?How do I use the Draw Pascal Triangle tool?
在「绘制杨辉三角」中,按需设置「行数」、「背景」、「文字」等选项,然后点击「绘制」、「下载」按钮即可。In the Draw Pascal Triangle: Set "Rows", "Background", "Text", then click "Draw", "Download".
和「杨辉三角生成器」有什么区别?How is this different from the Pascal's Triangle Generator?
杨辉三角生成器输出可复制的文本数字;本页把三角形画在画布上,可以设置行数和颜色,并下载为 PNG 图片。The Pascal's Triangle Generator outputs the numbers as copyable text. This page draws the triangle on a canvas, with settings for rows and colours, and downloads it as a PNG image.
最多能画多少行?How many rows can it draw?
最多 40 行。图片宽度不超过 2000 像素:行数多、数字长时会自动缩小字号(最小 7 像素),40 行约为 2000×760 像素,状态栏会显示实际尺寸。Up to 40 rows. The image is never wider than 2000 px: with many rows and long numbers the font is reduced automatically (to no less than 7 px), so 40 rows come out at about 2000×760 px, and the status line shows the actual size.
有哪些选项可以调整?What options can I adjust?
「绘制杨辉三角」的设置:「行数」默认 8;「背景」默认 #ffffff;「文字」默认 #111111。每次生成结果都按当前设置处理。Settings in the Draw Pascal Triangle — "Rows" default 8; "Background" default #ffffff; "Text" default #111111. The result always uses the current settings.
「绘制杨辉三角」免费吗?需要注册吗?Is the Draw Pascal Triangle free? Do I need an account?
「绘制杨辉三角」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Draw Pascal 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.