Coding Challenge #64.4: Inverse Kinematics - Multiple
In this multi-part coding challenge, I demonstrate how to implement kinematics in Processing (Java). Code: https://thecodingtrain.com/challenges/64-kinematics
p5.js Web Editor Sketches:
๐น๏ธ Kinematics - Part 1: https://editor.p5js.org/codingtrain/sketches/91Ys1PU7B
๐น๏ธ Kinematics - Part 2: https://editor.p5js.org/codingtrain/sketches/CvGJFQPLa
๐น๏ธ Kinematics - Part 3: https://editor.p5js.org/codingtrain/sketches/p8hH8INCv
๐น๏ธ Kinematics - Part 4: https://editor.p5js.org/codingtrain/sketches/bNPjMWlwV
Other Parts of this Challenge:
๐บ Part 1: Forward Kinematics: https://youtu.be/xXjRlEr7AGk
๐บ Part 2: Inverse Kinematics: https://youtu.be/hbgDqyy8bIw
๐บ Part 3: Inverse Kinematics - Fixed Point: https://youtu.be/RTc6i-7N3ms
๐ฅ Previous video: https://youtu.be/JunJzIe0hEo?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ฅ Next video: https://youtu.be/ZNH0MuQ51m4?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ฅ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
References:
๐ Kinematics on Wikipedia: https://en.wikipedia.org/wiki/Kinematics
Videos:
๐ฅ Polar Coordinates: https://youtu.be/O5wjXoFrau4
๐ฅ Interactive Fish Aquarium Desktop Wallpaper: https://youtu.be/Inpo9tpUMwE
๐ฅ Coding Math on Youtube: https://www.youtube.com/user/codingmath
๐ด Livestream Archive: https://youtu.be/xtFu66DZrBw
Related Coding Challenges:
๐ #3 The Snake Game: https://youtu.be/AaGK-fj-BAM
๐ #111 Animated Sprites: https://youtu.be/3noMeuufLZY
Timestamps:
0:00 Refactoring the Code
1:05 Create a Tentacle class
4:05 Use Rename to change the name of the array to segments
5:29 Add tentacles around a circle
8:55 Add an "apple"
10:55 Have tentacles follow the apple
13:18 Have two tentacles "play catch" with the apple
14:17 See you next time!
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
#forwardkinematics #inversekinematics #tentacleanimation #linkedlists #arrays #processing