Skip to content

Commit d806f0c

Browse files
raclimksen0
authored andcommitted
update image paths and alt text for editor images in intro tutorials
1 parent cab2913 commit d806f0c

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

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

Lines changed: 7 additions & 1 deletion
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

Lines changed: 10 additions & 4 deletions
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/)
@@ -76,6 +76,7 @@ If you are new to p5.js, start with the [p5.js Web Editor](https://editor.p5js.o
7676

7777
![An arrow pointing to the highlighted fields on the Sign Up page, as described above.](../images/introduction/p5_editor_sign_up_page.png)
7878

79+
7980
- Using a Google account
8081
- Click on the button on the bottom of the page that says “Login with Google.” 
8182

@@ -99,7 +100,7 @@ The [p5.js Web Editor](https://editor.p5js.org/) is an online environment where
99100

100101
The following diagram labels and describes each element of the editor’s interface:
101102

102-
![A labeled diagram of the p5.js Web Editor’s user interface.](../images/introduction/web-editor-diagram.png)
103+
![A labeled diagram of the p5.js Web Editor’s user interface.](../images/introduction/p5_editor_interface_breakdown.png)
103104

104105
{/* ![Play and Stop buttons.](../images/introduction/p5_editor_play_start.png)
105106
![Settings button with a gear icon in the center.](../images/introduction/p5_editor_settings.png) */}
@@ -108,15 +109,20 @@ The following diagram labels and describes each element of the editor’s interf
108109
### Step 4: Name, save, and run your first sketch
109110

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

115-
![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)
119+
![A user on the p5.js Web Editor names a new project and saves it.”](../images/introduction/p5_editor_saving_a_sketch.png)
120+
121+
![An arrow pointing to a notification box with the text “Sketch saved.”](../images/introduction/p5_editor_saved_sketch_notification.png)
116122

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

119-
![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)
125+
![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)
120126

121127
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)
122128

0 commit comments

Comments
 (0)