Coding Challenge #81.1: Circle Morphing - Part 1

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



Duration: 28:27
40,034 views
797


In this multi-part challenge, I implement two possible solutions to Golan Levin's Circle Morphing challenge. Code: https://thecodingtrain.com/challenges/81-circle-morphing

p5.js Web Editor Sketches:
🕹️ Circle Morphing - Part 1: https://editor.p5js.org/codingtrain/sketches/r9AhwHO9o
🕹️ Circle Morphing - Part 2: https://editor.p5js.org/codingtrain/sketches/muq_AnqEu

Other Parts of this Challenge:
📺 Circle Morphing - Part 2: https://youtu.be/0veqAiA61AU

🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

References:
🔗 Golan Levin's GitHub repo on Circle Morphing: https://github.com/golanlevin/circle-morphing

Videos:
🎥 Polar to Cartesian Coordinates: https://youtu.be/O5wjXoFrau4
🎥 Golan Levin's Modulo Operator video: https://www.youtube.com/watch?v=r5Iy3v1co0A
🎥 Golan Levin's Circle Morphing Challenge: https://www.youtube.com/watch?v=mvgcNOX8JGQ
🔴 Live Stream Archive: https://youtu.be/ldx_J589fcs

Related Coding Challenges:
🚂 #163 Bézier Curves: https://youtu.be/enNfb6p3j_g

Timestamps:
0:00 Introducing today's topic: Circle Morphing
3:58 Use polar coordinates to get the points on the circle
6:17 Draw the path of the circle
7:36 Get the triangle path
15:30 Write a polar to cartesian function
18:43 Use modulus to get the points on the triangle path
23:19 Use lerp() to morph between the circle and triangle
25:33 Use the sine function to ossillate between a circle and a triangle
28:25 Conclusion and suggstions for variations

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://discord.gg/hPuGy2g
💖 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

#golanlevin #interpolation #circlemorphing #polarcoordinates #javascript #p5js







Tags:
guest tutorial
guest coding tutorial
codepen
coding tutorial
daniel shiffman
guest talk
live coding
animations
guest
javascript (programming language)
creative coding
programming
tutorial
p5js
p5.js
p5.js library
golan
golan levin
golan levin tutorial
interpolation
circle morphing
interpolation javascript
interpolation js
interpolation art
circle to triangle
circle triangle
polar cartesian
trigonometry circle