Coding Trade Live: Side Project Saturday! (Live from the Attic)

preview_player
Показать описание
In this episode of Side Project Saturday (Live from the Attic), I explore generator functions.

Timestamps:
0:00 Start!
3:26 Introduction
5:18 The Coding Train Discord Channel
11:17 Hacktoberfest
13:20 Community Contribution: Angry Birds
17:43 Convex Hull Using a Generator Function
25:51 Learning How To Use Generator Functions
40:46 Reading Random Numbers
45:48 Debouncing ml5 Object Detection
1:32:34 Brilliant (*sponsor)
1:43:26 Break
1:49:10 The Coding Train Discord
1:56:02 Live Poll Application
2:23:49 Creating The Voting Interface
2:36:16 Testing The First Live Poll
2:42:24 Random Numbers, Rubik's Cube and Goodbyes

Рекомендации по теме
Комментарии
Автор

If it's lazy. The while loop can be reduced to just the yield by itself.

roamingcelt
Автор

background(b || 255); would be an easy way to make it a one-liner

peterelst
Автор

can you make a angry bird game in p5 or other editor

kenarathod
Автор

Generator functions are not a new concept. LUA does have coroutines, which is a similar idea.

SamuelTravnicek
Автор

44:01 Guess the random number on the missing page is 404

Stroid
Автор

In case you didn't know there is wikipedia page about you

basicallybrand
Автор

Is There Anywhere We Can Get The Code For The Object Detection?

charliedinerman