Skip to content

Commit 7333293

Browse files
authored
Merge pull request #840 from raclim/updated-editor-introduction
Updated editor introduction
2 parents 13318ef + 62bfc80 commit 7333293

20 files changed

+20
-6
lines changed

src/content/tutorials/en/get-started.mdx

+7-1
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,18 @@ Using the [p5.js Web Editor](https://editor.p5js.org/):
5353

5454
- Log in to the [p5.js Web Editor](https://editor.p5js.org/).
5555
- Name your project “Interactive Landscape” by clicking the *pencil icon* and typing “Interactive Landscape” into the text box that appears.
56+
57+
![A user on the p5.js Web Editor names a new project “Interactive Landscape”.](../images/introduction/p5_editor_interactive_landscape_1.png)
58+
5659
- Click on *File* and select *Save*.
60+
61+
![A user on the p5.js Web Editor saves their new project "Interactive Landscape".](../images/introduction/p5_editor_interactive_landscape_2.png)
62+
5763
- Confirm your project is saved by navigating to your gallery of saved sketches:
5864
- Click on *File* and select *Open*.
5965
- Your most recent sketches will appear at the top of the list of projects saved on your account.
6066

61-
![A user on the p5.js Web Editor names a new project Interactive Landscape”, saves it, finds it in their gallery of saved sketches, and clicks the project's name to open it.](../images/introduction/rename-sketch.gif)
67+
![A user on the p5.js Web Editor finds their project "Interactive Landscape" in their gallery of saved sketches.](../images/introduction/p5_editor_interactive_landscape_3.png)
6268

6369
#### Default Code
6470

src/content/tutorials/en/setting-up-your-environment.mdx

+13-5
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ If you are new to p5.js, start with the [p5.js Web Editor](https://editor.p5js.o
6161
- Open a desktop browser on your computer and go to [https://editor.p5js.org/](https://editor.p5js.org/).
6262
- Click the [“Sign up”](https://editor.p5js.org/signup) link on the top-right of the web page.
6363

64-
![An arrow pointing to the “Sign Up” link in the top right corner of the p5.js Web Editor.](../images/introduction/web-editor-signup.png)
64+
![An arrow pointing to the “Sign Up” link in the top right corner of the p5.js Editor.](../images/introduction/p5_editor_sign_up.png)
6565

6666

6767
### 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
7373
- Create and confirm a password. 
7474
- Click the “Sign Up” button.
7575

76-
![A user clicks the “Sign Up” button in the p5.js Web Editor, enters a new username, email address, and password.](../images/introduction/editor-signup.gif)
76+
![An arrow pointing to the highlighted User Name, Emaill, Password, and Confirm Password fields on the Sign Up page.](../images/introduction/p5_editor_sign_up_page.png)
7777

7878
- Using a Google account
7979
- 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
9898

9999
The following diagram labels and describes each element of the editor’s interface:
100100

101-
![A labeled diagram of the p5.js Web Editor’s user interface.](../images/introduction/web-editor-diagram.png)
101+
![A labeled diagram of the p5.js Web Editor’s user interface.](../images/introduction/p5_editor_interface_breakdown.png)
102+
103+
{/* ![Play and Stop buttons.](../images/introduction/p5_editor_play_start.png)
104+
![Settings button with a gear icon in the center.](../images/introduction/p5_editor_settings.png) */}
102105

103106

104107
### Step 4: Name, save, and run your first sketch
105108

106109
- Name your projects by clicking on the pencil icon above the text editor and typing in a name for your project.
110+
111+
![An arrow points to a pencil icon to rename a sketch.](../images/introduction/p5_editor_naming_a_sketch.png)
112+
107113
- Save projects by clicking on *File* in the top toolbar, and selecting *Save*
108114
- Make sure you are logged in to your account or you will not be able to save the sketch.
109115
- 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.
110116

111-
![A user on the p5.js Web Editor names a new project “My First Sketch” and saves it. A notification box then appears for a moment with the text “Sketch saved.”](../images/introduction/renameSave.gif)
117+
![A user on the p5.js Web Editor names a new project and saves it.”](../images/introduction/p5_editor_saving_a_sketch.png)
118+
119+
![An arrow pointing to a notification box with the text “Sketch saved.”](../images/introduction/p5_editor_saved_sketch_notification.png)
112120

113121
To view the output of your code, click the *Play* button in the top left corner: 
114122

115-
![A blank canvas appears in the preview window of the p5.js Web Editor when a user clicks on the “Play” button in the top right corner.](../images/introduction/play.gif)
123+
![A blank canvas appears in the preview window of the p5.js Web Editor when a user clicks on the “Play” button in the top right corner.](../images/introduction/p5_editor_running_a_sketch.png)
116124

117125
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)
118126

Binary file not shown.
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)