Coding Challenge #122: Quick, Draw!

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=yLuk0twx8Hc



Game:
Duration: 33:11
52,946 views
1,285


In this multi-part coding challenge, I take a closer look at the Quick, Draw! dataset and create a simple node API to "replay" drawings of rainbows and cats using p5.js. Code: https://thecodingtrain.com/challenges/122-quick-draw

πŸ•ΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/HyRPosF07

Other Parts of this Challenge:
πŸ“Ί Quick, Draw! Part 2: https://youtu.be/EcRK6oFddPQ

πŸŽ₯ Next video: https://youtu.be/7gNzMtYo9n4?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

References:
πŸ–Œ Quick, Draw! The Data: https://quickdraw.withgoogle.com/data
πŸ’Ύ sketch-rnn: https://magenta.tensorflow.org/sketch-rnn-demo
πŸ’Ύ Quick, Draw! Web Component: https://opensource.googleblog.com/2018/11/introducing-web-component-and-data-api-for-quick-draw.html
πŸ”— Quick, Draw! API: https://github.com/googlecreativelab/quickdraw-dataset

Videos:
πŸŽ₯ Doodle Classifier: https://www.youtube.com/watch?v=pqY_Tn2SIVA&list=PLRqwX-V7Uu6Zs14zKVuTuit6jApJgoYZQ
πŸŽ₯ What is JSON?: https://www.youtube.com/watch?v=_NFkzw6oFtQ
πŸŽ₯ Building an API with Node: https://www.youtube.com/watch?v=P-Upi9TMrBk

Live Stream Archive:
πŸ”΄ Coding Train Live 161: https://youtu.be/v8lm5XZ2V6M?t=4041s

Related Coding Challenges:
πŸš‚ #128 SketchRNN Snowflakes with ml5.js: https://youtu.be/pdaNttb7Mr8
πŸš‚ #153 Interactive Drawing with SketchRNN: https://youtu.be/ZCXkvwLxBrA

Timestamps:
0:00 Introducing today's topics: the Quick, Draw! dataset
2:48 The data is the pixel paths with timing information
4:53 ndjson files
6:58 Download a simplified ndjson file
9:26 Install express and ndjson packages
12:12 Run the server
13:03 Make an express server
14:45 Pick a random drawing
16:05 Have server host a p5 sketch
18:02 Write a function to load the drawing
19:28 Loop through all the paths in the drawing
24:22 Animate the drawing
27:33 Loop through points within the strokes
29:30 Connect the points
32:12 Reset the strokeIndex to zero to draw a new cat
32:22 Enjoy a whole bunch of cats!

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

πŸš‚ Website: http://thecodingtrain.com/
πŸ‘Ύ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
πŸ’‘ GitHub: https://github.com/CodingTrain
πŸ’¬ Discord: https://thecodingtrain.com/discord
πŸ’– Membership: http://youtube.com/thecodingtrain/join
πŸ›’ Store: https://standard.tv/codingtrain
πŸ–‹οΈ Twitter: https://twitter.com/thecodingtrain
πŸ“Έ Instagram: https://www.instagram.com/the.coding.train/

πŸŽ₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

πŸ”— p5.js: https://p5js.org
πŸ”— p5.js Web Editor: https://editor.p5js.org/
πŸ”— Processing: https://processing.org

πŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new

#quickdraw #machinelearning #doodleclassifiers #sketchrnn #p5js #nodejs #javascript







Tags:
computer science
programming
daniel shiffman
tutorial
coding
the coding train
coding challenge
coding train
creative coding
code challenge
creative coding tutorials
coding train coding challenge
quick draw
quick draw data
quick draw neural network
quick draw machine learning
doodle machine learning
google quick draw
drawing computer game
artificial intelligence
quick draw google



Other Statistics

Quick, Draw! Statistics For The Coding Train

At present, The Coding Train has 102,070 views spread across 4 videos for Quick, Draw!, and about 5 hours worth of Quick, Draw! videos were uploaded to his channel. This is less than 0.54% of the total video content that The Coding Train has uploaded to YouTube.