Skip to content

Commit 855495f

Browse files
Update p5.js to v2.0.2
1 parent c30d49e commit 855495f

File tree

240 files changed

+945
-822
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

240 files changed

+945
-822
lines changed

public/reference/data.json

Lines changed: 413 additions & 375 deletions
Large diffs are not rendered by default.

public/search-indices/en.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

public/search-indices/es.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

public/search-indices/hi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

public/search-indices/ko.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

public/search-indices/zh-Hans.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/content/contributor-docs/en/creating_libraries.mdx

Lines changed: 137 additions & 118 deletions
Large diffs are not rendered by default.

src/content/reference/en/p5.Camera/camera.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ description: >
5151
the "up"
5252
5353
vector is <code>(0, 1, 0)</code>.</p>
54-
line: 2108
54+
line: 2102
5555
isConstructor: false
5656
itemtype: method
5757
example:

src/content/reference/en/p5.Camera/centerX.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: >
1010
"world" space, so
1111
1212
<code>myCamera.centerX</code> is 0.</p>
13-
line: 1199
13+
line: 1193
1414
isConstructor: false
1515
itemtype: property
1616
example:
@@ -58,7 +58,7 @@ example:
5858
fill(0);
5959
6060
// Display the value of centerX, rounded to the nearest integer.
61-
text(`centerX: ${round(cam.centerX)}`, 0, 55);
61+
text(`centerX: ${round(cam.centerX)}`, 0, 45);
6262
}
6363
</code>
6464
</div>
@@ -112,7 +112,7 @@ example:
112112
cam.lookAt(x, 20, -30);
113113
114114
// Display the value of centerX, rounded to the nearest integer.
115-
text(`centerX: ${round(cam.centerX)}`, 0, 55);
115+
text(`centerX: ${round(cam.centerX)}`, 0, 45);
116116
}
117117
</code>
118118
</div>

src/content/reference/en/p5.Camera/centerY.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: >
1010
"world" space, so
1111
1212
<code>myCamera.centerY</code> is 0.</p>
13-
line: 1199
13+
line: 1193
1414
isConstructor: false
1515
itemtype: property
1616
example:
@@ -58,7 +58,7 @@ example:
5858
fill(0);
5959
6060
// Display the value of centerY, rounded to the nearest integer.
61-
text(`centerY: ${round(cam.centerY)}`, 0, 55);
61+
text(`centerY: ${round(cam.centerY)}`, 0, 45);
6262
}
6363
</code>
6464
</div>
@@ -112,7 +112,7 @@ example:
112112
cam.lookAt(10, y, -30);
113113
114114
// Display the value of centerY, rounded to the nearest integer.
115-
text(`centerY: ${round(cam.centerY)}`, 0, 55);
115+
text(`centerY: ${round(cam.centerY)}`, 0, 45);
116116
}
117117
</code>
118118
</div>

0 commit comments

Comments
 (0)