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
vastly popular JavaScript with the programming library p5.js. The skills you
802
802
will acquire from this book are highly transferable to a myriad of
803
803
industries and can be used towards building web applications, programmable
804
-
robots, or generative art.
804
+
robots, or generative art.
805
805
book-5-order-a: Order from Apress
806
806
book-5-order-b: Order from Amazon
807
807
examples:
@@ -903,14 +903,14 @@ showcase:
903
903
project-q-2: How did you use p5.js in this project?
904
904
project-a-2-1-roni-cantor: >-
905
905
I used p5.js in this project to generate the sine wave and lerp (linear
906
-
interpolation) formulas and display the visuals in the
906
+
interpolation) formulas and display the visuals in the
907
907
project-a-2-2-roni-cantor: >-
908
908
. I then used a feature in my code that exported my programmed graphic into
909
-
an
909
+
an
910
910
project-a-2-3-roni-cantor: ' file. I needed an SVG file to give to the plotter—an '
911
911
project-a-2-4-roni-cantor: >-
912
912
—so that it understood where to draw the lines that I programmed. I sent
913
-
this information to the plotter with a program called
913
+
this information to the plotter with a program called
914
914
project-a-2-5-roni-cantor: '!'
915
915
project-q-3: What's your favorite p5.js feature?
916
916
project-a-3-roni-cantor: ' because lines are fun and "lerp" is a fun word to say!'
@@ -987,7 +987,7 @@ showcase:
987
987
project-a-1-4-phuong: '," mainly taught by '
988
988
project-a-2-1-phuong: >-
989
989
I used p5.js to work on the visual part of the game. The animation sprites
990
-
for Airi and the ghosts were drawn on an iPad app called
990
+
for Airi and the ghosts were drawn on an iPad app called
991
991
project-a-2-2-phuong: ' and then integrated into '
992
992
project-a-2-3-phuong: ' code. I mainly used examples at p5.play as a reference.'
993
993
project-a-2-4-phuong: 'For the endless scrolling background, I found a '
@@ -1001,7 +1001,7 @@ showcase:
1001
1001
project-a-2-7-phuong: ' (currently, there is a beta version not available in public yet, but it will be very soon!). I added around 120 samples of my classmates saying the word "pew" with different intonations and 80 samples of background noise to train it. Then I integrated the model into the game with '
1002
1002
project-a-3-1-phuong: >-
1003
1003
I really love how easily you can create, manipulate, and delete HTML blocks
1004
-
and classes with the
1004
+
and classes with the
1005
1005
project-a-3-2-phuong: ' via '
1006
1006
project-a-3-3-phuong: ' etc. But my most favorite function is '
1007
1007
project-a-3-4-phuong: ', since this is where you create magic.'
@@ -1031,12 +1031,12 @@ showcase:
1031
1031
This summer, I gave myself a challenge of making typographic posters with
1032
1032
coding, and this is one of the posters I made. I didn’t know until very
1033
1033
recently that I could use motion sensor data with p5.js. I was also
1034
-
watching
1034
+
watching
1035
1035
dan-shiffman-matterjs-tutorial: Dan Shiffman’s matter.js tutorial videos
1036
1036
project-a-2-2-chung: ', so I thought why not combine the two and practice what I was learning?'
1037
1037
project-a-3-1-chung: >-
1038
1038
There are many things I love about p5.js such as the online community and
1039
-
beginner friendliness. What I really like right now is the
1039
+
beginner friendliness. What I really like right now is the
1040
1040
project-a-3-2-chung: >-
1041
1041
, with which I can not only work online for myself but also share URLs
1042
1042
quickly in the present mode. For this project in particular, I had to do a
@@ -1047,7 +1047,7 @@ showcase:
1047
1047
project-a-4-3-chung: ' and build a tool for myself.'
1048
1048
project-a-5-1-chung: >-
1049
1049
As mentioned above, if you want to render out frames and video files out of
1050
-
p5.js sketches, check out my
1050
+
p5.js sketches, check out my
1051
1051
project-a-5-2-chung: ' and let me know what you think.'
1052
1052
creator-from-casey-louise: 'From New York, New York'
1053
1053
project-a-1-1-casey-louise: >-
@@ -1058,7 +1058,7 @@ showcase:
1058
1058
interactive spaces based on sensor technologies.
1059
1059
project-a-1-3-casey-louise: >-
1060
1060
Casey: I started learning p5.js in 2018 in my first semester at ITP, though
1061
-
I had been dabbling in
1061
+
I had been dabbling in
1062
1062
project-a-1-4-casey-louise: ' since 2012. I was introduced to Processing by my friend Pedro while I was studying graphic design, and it blew my mind. The idea of making my own tools for creating graphics and interactive art piqued my interest, but once I actually tried it, I was hooked. The first project I can remember was an eye that followed you around the screen, and it was sad when you left it alone.'
1063
1063
project-a-1-5-casey-louise: >-
1064
1064
Louise: I initially learned p5.js to make a website I was creating more
@@ -1067,7 +1067,7 @@ showcase:
1067
1067
project-a-2-1-casey-louise: >-
1068
1068
Casey: I was putting off learning shaders for a long time, and I was also
1069
1069
curious if I could use them in p5.js. Then I heard about a grant for open
1070
-
source, storytelling, and learning resource projects at ITP called
1070
+
source, storytelling, and learning resource projects at ITP called
1071
1071
project-a-2-2-casey-louise: >-
1072
1072
. Since I wasn't finding much in the way of p5.js + shader documentation, I
1073
1073
decided to figure out how they're implemented in p5.js and create a resource
@@ -1083,7 +1083,7 @@ showcase:
1083
1083
project-a-4-1-casey-louise: >-
1084
1084
Casey: The beginning of the project (figuring out how things work) was us
1085
1085
reaching out to amazing people, asking questions, and asking for permission
1086
-
to use their examples in our project.
1086
+
to use their examples in our project.
1087
1087
adam-ferris-repo-casey-louise: Adam Ferriss' GitHub repo
1088
1088
project-a-4-2-casey-louise: ' really laid the groundwork for us in understanding how shaders work in p5.js and provided a framework of approachable examples for us to build on. For some specific p5.js-related issues we were having, we reached out to '
1089
1089
project-a-4-3-casey-louise: ' and '
@@ -1096,7 +1096,7 @@ showcase:
1096
1096
Ferriss. Our aim was to do so in a way that a complete beginner can
1097
1097
understand how to implement it, so it was as much a technical challenge as
1098
1098
it was a challenge in teaching code to strangers and beginners. Here we drew
1099
-
inspiration from the way the
1099
+
inspiration from the way the
1100
1100
openframeworks-book-casey-louise: openFrameworks book
1101
1101
project-a-4-7-casey-louise: ' is written. A fun "hey, it’s not hard and you can do it too" approach is what we believe in.'
1102
1102
project-a-5-1-casey-louise: 'Check out the '
@@ -1139,10 +1139,10 @@ teach:
1139
1139
teach-title2: Teach
1140
1140
teach-intro1: >-
1141
1141
Every teaching has its own unique goals, messages, conditions, and
1142
-
environments.
1142
+
environments.
1143
1143
teach-intro2: >-
1144
1144
By documenting and sharing p5 workshops, classes, and materials, we hope to
1145
-
better connect the p5.js learner and educator communities around the world.
1145
+
better connect the p5.js learner and educator communities around the world.
1146
1146
teach-intro3: Share or recommend
1147
1147
teach-intro4: 'your own teaching experiences, too!'
1148
1148
teach-heading: p5 Teaching Resources
@@ -1190,14 +1190,14 @@ teach:
1190
1190
teach-case1-content3: Advanced
1191
1191
teach-case1-content4: >-
1192
1192
To introduce a new public to programming through fun and compelling
1193
-
examples.
1193
+
examples.
1194
1194
teach-case1-content5: >-
1195
1195
Method: in-person workshop, 1 hour per session, with different participant
1196
1196
each times. The students were using (Ubuntu) machines with the p5.js web
1197
1197
editor. I was teaching using a video projector as well as a board.
1198
1198
teach-case1-content5-1: >-
1199
1199
Materials: The exercises I gave where accessible through p5.js web-editor
1200
-
links available in
1200
+
links available in
1201
1201
teach-case2-title: >-
1202
1202
Making The Thing that Makes the Thing: Exploring Generative Art & Design
This class is a mix of lectures, coding sessions, group discussions, and
1328
-
presentations. I used
1328
+
presentations. I used
1329
1329
teach-case9-content5-1: GitHub
1330
1330
teach-case9-content5-2: ' to host class syllabus and all the coding materials, Google Slides for lectures and p5.js Web Editor for live coding sessions. Every week, there were one-on-one office hours to talk about any difficulties of coming up with an idea for the homework or any coding changes.'
1331
1331
teach-case9-content5-3: 'Methods: online/offline lectures and critiques.'
@@ -1340,7 +1340,7 @@ teach:
1340
1340
teach-case10-content5: >-
1341
1341
p5.js source code (for the introductory project), JavaScript source code
1342
1342
(illustrating some basic JavaScript functionalities), accompanying slides in
1343
-
.pdf format, all hosted publicly on GitHub.
1343
+
.pdf format, all hosted publicly on GitHub.
1344
1344
teach-case10-content5-1: Overview
1345
1345
teach-case10-content5-2: ' of the workshop and its contents (including all links to the material hosted on GitHub) on my academic webpage.'
1346
1346
teach-case11-title: Digital Weaving & Physical Computing Workshop Series
0 commit comments