File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
examples/zh-Hans/00_Structure Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
* @name 坐标
3
- * @description 绘制到屏幕上的所有形状都有一个指定为坐标的位置。所有的坐标都是以像素为单位,以距原点的距离来衡量的。原点 [0,0] 是窗口左上角的坐标,右下角的坐标是 [宽度-, 高度-1] 。
3
+ * @description 绘制到屏幕上的所有形状都有一个指定为坐标的位置。所有的坐标都是以像素为单位,以距原点的距离来衡量的。原点 [0,0] 是窗口左上角的坐标,右下角的坐标是 [宽度-1 , 高度-1] 。
4
4
*/
5
5
function setup ( ) {
6
6
// 制作一个 720 像素宽 400 像素高的画布。
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ get started:
107
107
your-first-sketch-intro2 : " https://github.com/processing/p5.js/wiki/Processing-transition"
108
108
your-first-sketch-intro3 : " Processing 过度教程(英文页面)"
109
109
your-first-sketch-intro4 : " 在代码编程器内输入:"
110
- your-first-sketch2 : " 这一行代码表示〝在离左边 50 像素及里上边 50 像素的位置画个高度和阔度都为 80 像素的椭圆形〞。"
110
+ your-first-sketch2 : " 这一行代码表示〝在离左边 50 像素及里上边 50 像素的位置画个高度和宽度都为 80 像素的椭圆形〞。"
111
111
your-first-sketch3 : " 保存该绘图的档案并刷新您浏览器的页面,这时如果您成功输入以上范例,您会在浏览器内看到如下页面:"
112
112
your-first-sketch4 : " 如果您使用荧幕阅读器,您需要在 p5 网上编辑器内开启无障碍输出(accessible outputs),或不使用该编辑器的话您则需要在您的 HTML 文件内添加无障碍程式库。以了解更多关于"
113
113
your-first-sketch5 : " 使用 p5 及荧幕阅读器的相关资讯请点击这里"
You can’t perform that action at this time.
0 commit comments