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/criticalAI1-chatting-with-about-code.mdx
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,10 +52,10 @@ For this example, I chose a tutorial I haven't been able to find elsewhere:
52
52
53
53
<Callout>
54
54
Keep the project scope small to start. Do you have different versions of the idea, a simpler version and a more complex one? Write them out separately. For example, here are some other features that would be nice to include, but let's wait to add them later:
55
-
</Callout>
56
55
57
-
>`- Output as a GIF`
58
-
>`- Make 2-color halftone pixels instead of grayscale`
56
+
`- Output as a GIF`
57
+
`- Make 2-color halftone pixels instead of grayscale`
58
+
</Callout>
59
59
60
60
You can follow along with this example in the [p5.js Web Editor](https://editor.p5js.org/sarahciston/sketches/LiHcPXdv1), and you can also follow the [chat thread](https://chatgpt.com/share/67094820-dc28-8003-bd34-14cc1e7b4572) used to create it.
61
61
@@ -97,14 +97,14 @@ Pause. Rather than prompting ChatGPT with your whole project idea at once, let's
97
97
98
98
<Callout>
99
99
Try writing the steps out in pseudocode, where you describe the steps of coding it without actually writing the code. This breaks your steps into smaller, more programmatic steps. For example, I could change the video processing steps to read:
100
-
</Callout>
101
100
102
-
>`- Import webcam video`
103
-
>`- Access each frame of the video`
104
-
>`- Convert each video frame to pixels`
105
-
>`- Make each pixel of each frame into a dot`
106
-
>`- Convert the dots to grayscale`
107
-
>`- Make dot size based on how dark they are. Darker pixels will have larger dots, while brighter pixels will have smaller dots.`
101
+
`- Import webcam video`
102
+
`- Access each frame of the video`
103
+
`- Convert each video frame to pixels`
104
+
`- Make each pixel of each frame into a dot`
105
+
`- Convert the dots to grayscale`
106
+
`- Make dot size based on how dark they are. Darker pixels will have larger dots, while brighter pixels will have smaller dots.`
107
+
</Callout>
108
108
109
109
<Callout>
110
110
Type out, run, and compare the code at each step. This may also help you learn more about how the code works interactively, and give you new ideas to try.
@@ -220,7 +220,7 @@ Instead of prompting it to generate code, have it prompt you to code instead. As
220
220
221
221
### Critical use of AI in creative coding
222
222
223
-
This tutorial emphasized being mindful of generative AI as source material. We cannot assume it is correct, because it is gathered from millions of crowdsourced pieces of text. Generative AI's biases are not flaws to be eventually optimized out; rather, the issues are fundamental components of how AI is designed.
223
+
This tutorial emphasized being mindful of generative AI as source material. We cannot assume it is correct, because it is gathered from millions of crowd-sourced pieces of text. Generative AI's biases are not flaws to be eventually optimized out; rather, the issues are fundamental components of how AI is designed.
224
224
225
225
This is similar to how we had to learn to read Wikipedia critically, rather than believing it worked like a regular encyclopedia. Just as you seek alternative sources when relying on Wikipedia, don't rely solely on ChatGPT for your programming or other kinds of information.
featuredImageAlt: A screenshot of three AI-generated images from the prompt `The doctor is ['a Pakistani woman', 'a Black man', 'a white man'].` The first image is a portrait, the second a cartoon, and the third is a hallway in shadows.
featuredImageAlt: A screenshot of the Dataset Explorer comparing two sentences with different sentiment scores; the one with a gay son ranks highly and the one with a gay daughter ranks low.
0 commit comments