"This wacky flailing arm inflatable tube man." he/him

Brooklyn, NY
Shipping now if you order direct from me at natureofcode.com/ (25% off with code CHOOCHOO).
i like the color pink
13
17
206
41,122
how it started how it's going
126
317
9,148
881,368
-10x engineer
89
693
5,242
I finished the thing. natureofcode.com/
71
344
2,554
245,394
MacBook usb-c infinite power life hack.
34
273
1,446
I took a 40 year break, but am back to coding in BASIC on my childhood Apple II+ computer. (🔈on for song by @WillFromAmerica 🎶)
40
107
1,213
#genuary2022 day 3—space
12
110
1,109
Finally working on Nature of Code again, new chapter 3 example, videos coming out this month!

ALT A p5.js canvas simulating the plucking of a guitar string.

10
64
1,007
#RainbowGAN (made with @runwayml and @p5xjs)
14
162
905
#genuary2022 day 2 dithering
12
57
866
i=n=a=0;draw=_=>{i||createCanvas(q=512,q);colorMode(HSB,1);v=createVector;h(i++);m=a.mult(4).add(2);stroke(i/4**7,1,1);line(m.x,m.y,n.x,n.y);n=m};h=i=>{a=v((i&3)>>1,[0,1,1][i&3]);for(j=1;j<8;){i/=4;k=i&3;l=2**j++;!k?a=v(a.y,a.x):k<2?a.y+=l:k==2?a.add(l,l):a=v(l-1-a.y+l,l-1-a.x)}}
12
90
817
#genuary3 🚂 Droste Effect with @ml5js Choo choo!
11
45
708
34,865
i like the color pink
18
53
683
88,199
Choo choo!
9
64
628
Nature of Code is getting a new chapter.
8
46
598
49,748
"To me programming is more than an important practical art. It is also a gigantic undertaking in the foundations of knowledge." Grace Hopper 💻 🐛
7
12
610
37,666
I made a three part series about @Google's Teachable Machine which launched today! piped.video/playlist?list=PL… Made with @TensorFlow.js @ml5js @p5xjs 🦄🌈🎸 [GIF alt: web page classifying images of unicorn, rainbow, and ukulele]. PSA: Don't switch tabs!🎶
9
130
601
13
36
596
30,523
I'd like to put something out into the universe. The 2nd edition of The Nature of Code will be available for free download at natureofcode.com and for purchase in print by the 10th anniversary of its original publication—December 13, 2022.
18
86
585
What next?
9
48
582
New setup for live stream this morning! piped.video/0d3sE-1en_Y
10
19
568
Happy howlidays!
11
7
549
#genuary2022 day 4, homage to Fidenza
18
28
544
I will not be live streaming this week and am available for logistical / technical support for protestors. If you are a black coder or learning to code and need support I am opening DMs.
5
94
526
I'm sorry to report that @thecodingtrain will be on hiatus for a little while. (PSA:Wear a helmut, thankfully I was!)
252
18
509
void setup() { size(400, 200); colorMode(HSB, 360, 100, 100); } void draw() { background(360, 25, 25); float ts = map(sin(frameCount*0.1), -1, 1, 12, 72); textSize(ts); textAlign(CENTER); fill(frameCount % 360, 100, 100); text("#280characters", 200, 100+ts/4); }
13
119
482
I’m having trouble locating where to plug in to run my @p5xjs sketches on this thing can anyone help?
15
5
486
23,524
Dear @YouTube, many schools are suddenly exploring remote learning. Would you consider premium (no ads) access to all students with a .edu address for all content (or an educational subset)?
6
61
457
Found some lunatic talking about @p5xjs at the entrance to @YouTube today.
6
18
439
Annual purge.
30
7
400

ALT From left to right, white lines branch out as if "cracking" the texture of the image. then they fade to black and it restarts.

6
33
411
#genuary2022 day 20 Make a sea of shapes.
5
17
418
StyleGAN trained on thumbnails for the 1,800 "most popular" YouTube videos (US Region). Thank you @runwayml for my nightmares❤️.
7
62
380
Putting a bow on the Fourier Transform Drawing challenge today with the release of part 3: 📽️ piped.video/7_vKzcgpfvU 💻 editor.p5js.org/codingtrain/… 📖 bilimneguzellan.net/purrier-… Thanks again to @bilimneguzellan @smartereveryday @3blue1brown for the help and inspiration.
7
80
398
We did it, Joe
6
15
395
43,396
I would like to post a note to say that I am in full support of the Processing Foundation, its mission, its leadership, and direction.
5
28
394
61,756
👿
13
15
385
#genuary2022 Day 28—Self portrait.
12
16
386
Spoiler alert, this will be the final example in Nature of Code 2.0. (From today's live stream, Craig Reynolds' style vehicles neuro-evolved steering with @TensorFlow.js and @p5xjs) Code in progress: github.com/CodingTrain/Neuro…
5
53
375
This took me all day. Why does my Apple II not draw vertical lines?
17
11
374
p=0,z=0;setup=_=>{createCanvas(400, 400);};draw=_=>{clear();translate(200,200);stroke(255);strokeWeight(4);noFill();beginShape();for(a=0;a<TAU;a+=.08){r=noise(3*cos(a+p)+3,3*sin(a+p)+3,z)*100+100;vertex(r*cos(a),r*sin(a));}endShape(CLOSE);p+=.003;z+=.01;} #tinycode #p5t 🚂

ALT A circular jagged polygon with white outline and no fill jiggles and rotates with Perlin noise.

13
35
370
Coding Challenge 145: Ray Casting (2D) in @p5xjs 📽️ piped.video/TOEi6T2mtHo 💻 editor.p5js.org/codingtrain/… Inspired by the work of @ncasenmare @redblobgames @SebastianLague
13
36
365
#genuary2022 day 6 "Trade styles with a friend." This is the Nature of Code flocking example (algorithm thanks to Craig Reynolds) in the style of @REAS Process Compendium #4—vimeo.com/22955812
7
26
362
My love language is regular expressions.
14
24
354
Happy ThanksGANing!
9
28
343
#genuary2022 Day 11 No Computer
10
29
354
Got @bourdakos1's thumbs up/down object detection example with @TensorFlow.js working with @p5xjs @codelandconf. Super fun! Maybe something to add to @ml5js?
6
20
341
When @thecodingtrain returns (soon!) I cannot wait to show the (in progress) @ml5js neuralNetwork() function that configures a neural network based on a CSV or JSON dataset and trains your model in the browser. (Heroic effort by @leejoeyk @yining_shi and many more contributors!)
4
56
335
rm -rf 2020
6
60
335
#genuary2022 Day 21: Combine two (or more) of your pieces from previous days to make a new piece. Started with Space + Sand, ended with Space + 3 Colors.
8
23
326
Dear beautiful humans, as you engage in the essential act of oxygen to carbon dioxide conversion and your scheduled enjoyment of feline moving pictures, I humbly propose you choo-choo-choose to make something with @p5xjs. I will try to help. 🤖 shiffbot.withgoogle.com/

ALT Learning creative coding in p5.js with ShiffBot (animated silly head of Dan Shiffman making weird expressions)

17
47
330
42,744
womp womp
24
6
319
#genuary2022 day 5 "Destroy a SquareGAN"
8
13
336
10,000 squares. #genuary2022
3
13
325
This week I'm releasing a new series on how to build a "doodle classifier" using the @Google Creative Labs quickdraw data and @p5xjs. Part 1: piped.video/pqY_Tn2SIVA (Thanks @halfdanj!)
7
71
307
Had a productive flight back from Paris and planned next week's return to live streaming. (Thanks @TomFevrier for the logo path!) #FourierTrain.
4
30
311
I don't know a lot of things.
14
24
311
Coding Challenge 125: Fourier Series 📖 bilimneguzellan.net/purrier-… 💻 editor.p5js.org/full/SJ02W1O… 📽️ piped.video/Mm2eYfj0SgA Thank you @bilimneguzellan @smartereveryday @3blue1brown for the inspiration.
3
49
298
Introduction to BASIC coming soon on @thecodingtrain.
14
15
284
Spade-COCO Reverse Image Segmentation with @p5xjs and model hosted by @runwayml (video tutorials coming soon!). Deployed to @glitch with hidden API keys in .env. glitch.com/~spade-coco-ding-…
1
26
303
A video lesson on how to make as many mistakes as possible and take over an hour to program Pong in @ProcessingOrg piped.video/IIrC5Qcb2G4
10
50
286
If I accomplish nothing else... piped.video/0j86zuqqTlQ
5
32
281
👀
Do you see what I see in the new @OpenAI announcement? 😃
7
5
278
35,572
Coding Train returns this Friday to celebrate Processing's 20th. Stay tuned for details.
4
13
278
Got access to DALL-E today. No one told me there would be a limit, please I need to see more corgis dressed in costumes.
19
13
276
Work in progress: Genetic Algorithm (almost) solving one layer of a 3x3 cube.
5
30
271
#genuary2022 Day 27— #2E294E #541388 #F1E9DA #FFD400 #D90368 (sneek peak at topic of my next @thecodingtrain video!)
11
18
266
#genuary2022 Day 15 Sand
3
12
263
New Nature of Code neuroevolution example: generating Craig-Reynolds-style steering behaviors. Neural network inputs: 8 sensors to detect "food". Outputs: desired velocity vector. Code: github.com/shiffman/NOC-S18/… Demo: shiffman.github.io/NOC-S18/w… Big thanks to @meiamsome for ideas!
4
68
261
I've been slowly re-recording my intro Processing videos over the last year. I can finally say they are coming soon to @WatchNebula! (YouTube to follow.) Be the first to see them with a monthly, annual, or (as of today) lifetime membership! go.nebula.tv/codingtrain
how it started how it's going
9
20
252
29,421
250x programmer
10
1
252
I spent the day studying transformer model architecture, ama.
15
5
258
20,470
New coding challenge video: recreating the iconic "cube wave" gif by @beesandbombs with @p5xjs webgl: piped.video/H81Tdrmz2LA
2
27
235
Working on a @p5xjs neuro-evolution demonstration. May the best ellipse win. github.com/shiffman/nn-evolu…
5
42
247
ICYMI there's a new @ml5js release and website (ml5js.org). Here's the first of hopefully many more video tutorials to come: piped.video/cO4UP2dX944
2
61
247
I have a secret love. A love that knows no bounds. I will hide it no more. Today I share it with you. piped.video/pI2gvl9sdtE
6
15
240
Might not look like much but watching this @ml5js convolutional neural network slowly learn to to distinguish between circles, squares, and triangles is bringing me great joy. Recording a tutorial on this tomorrow!

ALT Squares, circles, and triangles appear once per second. A graph shows machine learning "loss" going down. As time goes on the guess goes from incorrect shape to correct shape.

2
11
237
Amazing trolling from @lyft.
1
47
221
Excited to discover that the @ml5js image classification (and feature extraction) objects do in fact work with loadImage() and createCanvas() in @p5xjs. New examples to come!
2
25
230
Added user-drawn digits to @p5xjs neural network demo: shiffman.github.io/Neural-Ne…
3
39
229
I thought we all agreed on remote education from now on.
9
5
231
Working on a new demo: densecap (github.com/jcjohnson/denseca…) + node + @p5xjs. Code in progress: github.com/shiffman/node-den…
3
24
221
As dawn breaks in the p5 canvas, tiny bloops awaken. At first they wander, lost in an endless cycle of draw(). Yet as millennia of frames unfold, evolution perfects a masterpiece. Delicate feelers, each linked to tiny neurons, guide them in an unyielding pursuit of pixel nectar.
6
22
224
55,633
New playlist: 12 videos building a classifier from start to finish — from data collection to model training to prediction —with #tensorflowjs and @p5xjs. Videos: piped.video/playlist?list=PL… Demo: codingtrain.github.io/ColorC… Data collection: codingtrain.github.io/CrowdS…
2
56
229
#genuary8 40,000 double pendulums
3
20
234
11,672
My @p5xjs + neural network examples have been refactored and moved to a JS library / p5 add-on. More to come! github.com/shiffman/Neural-N…
5
51
228
Thanks to the idea from @olpadkar, here is a new coding challenge video: interactive linear regression with gradient descent using @p5xjs and @TensorFlow.js! piped.video/dLp10CFIvxI?list=PL…
4
40
225
New coding challenge video: Lissajous Curve Table piped.video/--6eyLO78CY
3
38
226
Coding Challenge 144: Black Hole Visualization 📽️ piped.video/Iaz9TqYWUmA 💻editor.p5js.org/codingtrain/… Huge thanks to @STEMcoding for the derivation of the photon velocities and @veritasium for the inspiration.
5
18
222
I would also like to watch this channel, would really help me out.
24
3
217
🚂🎥🍿 New video! All the steps of training and deploying a machine learning model using @ProcessingOrg @p5xjs @ml5js piped.video/3MqJzMvHE3E (see thread for steps!)
2
37
223
How to train your own "Teachable Machine" for image classification with @ml5js! piped.video/eeO-rWYFuG0
7
35
210
Choo choo!
t=0,draw=_=>{createCanvas(w=720,w),h=w/2,t++ for(j=2;x=y=j--;(T=translate)(-x,-y))for(i=w;n=t-i,i---j*h;x+=cos(d=noise(n/99)*4-2)*6,y+=sin(d)*6) j||push()+T(x+h,y+h)+scale(3)+rotate(d)+(n%3||text("#",0,4)+text("🌲",0,n&1?-20:20)) +pop(i%7||abs(i-390)>40||text("🚋",0,-2))}//#p5t
2
9
207
#genuary15 physics library
5
11
218
9,849
10 PRINT CHR$(47 + (45 * INT(2 * RND(1)))); : GOTO 10
12
26
213