Coding Challenge #150: AI Rainbows with Runway and p5.js
In this challenge I generate rainbows using the StyleGAN Machine Learning model available in Runway ML and send the rainbows to the browser with p5.js! This challenge is based on the live coding talk from the 2019 Eyeo Festival. Code: https://thecodingtrain.com/challenges/150-ai-rainbows-with-runway-and-p5js
Runway brings the power of artificial intelligence to your creative projects with an intuitive and simple visual interface.
πΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/K6l0JbS6u
π₯ Previous video: https://youtu.be/GTWrWM1UsnA?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Next video: https://youtu.be/F1OkDTUkKFo?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
References:
π» RunwayML ML Lab page: https://app.runwayml.com/all-models
π» RunwayML download page: https://runwayml.com/download/
π» RunwayML on GitHub: https://github.com/runwayml
π» StyleGAN: https://github.com/NVlabs/stylegan
π» Anastasis Germanidis on GitHub: https://github.com/agermanidis
Videos:
π Intro to Runway Part 1: https://youtu.be/ARnf4ilr9Hc
π Intro to Runway Part 2: https://youtu.be/7btNir5L8Jc
π My talk at 2019 eyeo Festival: https://vimeo.com/354276216
π₯ HTTP Post Request with fetch(): https://youtu.be/Kw5tC5nQMRY
π₯ 4D Hypercube: https://youtu.be/XE3YDVdQSPo
π₯ Saving Images and 64 Base Encoding: https://youtu.be/9Rhsb3GU2Iw
Related Coding Challenges:
π #122 Quick, Draw!: https://youtu.be/yLuk0twx8Hc
π #128 SketchRNN Snowflakes with ml5.js: https://youtu.be/pdaNttb7Mr8
π #151 Ukulele Tuner with Machine Learning: https://youtu.be/F1OkDTUkKFo
π #153 Interactive Drawing with SketchRNN: https://youtu.be/ZCXkvwLxBrA
Timestamps:
0:00 Introduction
0:19 RunwayML
1:25 StyleGan
1:58 Checkpoints
2:13 Input source
2:24 Run remotely
3:04 Latent space
4:04 Network tab: HTTP request
5:00 Let's Code!
5:39 generateRainbow()
8:54 vector
11:17 Export vector as json
12:39 truncation
13:14 httpPost
15:03 base64 encoding
18:42 Review
21:15 Anastasis Germanidis
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
#stylegan #machinelearning #latentspace #runwayml #p5js