Skip to content

Commit 1f79e87

Browse files
authored
Merge pull request #1098 from aashu2006/fix-frameCount-cloudOneX-doc
fix: clarify frameCount usage in Variables and Change tutorial
2 parents b9705d9 + f4474e8 commit 1f79e87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/tutorials/en/variables-and-change.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ Add a tree (or another object) to the landscape that moves vertically (up or dow
650650
triangle(25, 270, 45, 240, 70, 270);
651651
```
652652

653-
- Subtract the top angle of a triangle that draws leaves (240) by `frameCount % 290` – the value stored in `cloudOneX`:
653+
- Subtract the top angle of a triangle that draws leaves (240) by `frameCount % 290`:
654654
- Modify the value for y<sub>2</sub> in the triangle above by subtracting it by `frameCount % 290`:
655655

656656
```js

0 commit comments

Comments
 (0)