You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/tutorials/en/get-started.mdx
+7-1
Original file line number
Diff line number
Diff line change
@@ -53,12 +53,18 @@ Using the [p5.js Web Editor](https://editor.p5js.org/):
53
53
54
54
- Log in to the [p5.js Web Editor](https://editor.p5js.org/).
55
55
- Name your project “Interactive Landscape” by clicking the *pencil icon* and typing “Interactive Landscape” into the text box that appears.
56
+
57
+

58
+
56
59
- Click on *File* and select *Save*.
60
+
61
+

62
+
57
63
- Confirm your project is saved by navigating to your gallery of saved sketches:
58
64
- Click on *File* and select *Open*.
59
65
- Your most recent sketches will appear at the top of the list of projects saved on your account.
60
66
61
-

67
+

Copy file name to clipboardExpand all lines: src/content/tutorials/en/setting-up-your-environment.mdx
+13-5
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ If you are new to p5.js, start with the [p5.js Web Editor](https://editor.p5js.o
61
61
- Open a desktop browser on your computer and go to [https://editor.p5js.org/](https://editor.p5js.org/).
62
62
- Click the [“Sign up”](https://editor.p5js.org/signup) link on the top-right of the web page.
63
63
64
-

64
+

65
65
66
66
67
67
### Step 2: Create an account with [p5.js Web Editor](https://editor.p5js.org/)
@@ -73,7 +73,7 @@ If you are new to p5.js, start with the [p5.js Web Editor](https://editor.p5js.o
73
73
- Create and confirm a password.
74
74
- Click the “Sign Up” button.
75
75
76
-

76
+

77
77
78
78
- Using a Google account
79
79
- Click on the button on the bottom of the page that says “Login with Google.”
@@ -98,21 +98,29 @@ The [p5.js Web Editor](https://editor.p5js.org/) is an online environment where
98
98
99
99
The following diagram labels and describes each element of the editor’s interface:
100
100
101
-

101
+

102
+
103
+
{/* 
104
+
 */}
102
105
103
106
104
107
### Step 4: Name, save, and run your first sketch
105
108
106
109
- Name your projects by clicking on the pencil icon above the text editor and typing in a name for your project.
110
+
111
+

112
+
107
113
- Save projects by clicking on *File* in the top toolbar, and selecting *Save*.
108
114
- Make sure you are logged in to your account or you will not be able to save the sketch.
109
115
- Saving projects frequently helps to ensure that code isn’t lost if something happens to your computer, browser, or internet connection while you are coding.
110
116
111
-

117
+

118
+
119
+

112
120
113
121
To view the output of your code, click the *Play* button in the top left corner:
114
122
115
-

123
+

116
124
117
125
A *p5.js sketch* is a text file with code written in the *JavaScript* programming language. *JavaScript* is a programming language used to make web pages interactive. p5.js is a library written in *JavaScript* – which is why it ends in “*.js*” for *JavaScript*. With p5.js, you can create programs that are colorful and animated, with features that users can interact with! To learn more about some of the things you can do with p5.js, watch the [p5.js Welcome Video!](https://hello.p5js.org/) To learn more about JavaScript, you can visit [this resource.](https://developer.mozilla.org/en-US/docs/Web/JavaScript)
0 commit comments