Coding Challenge #63.1: Texturing Cloth Simulation Part 1
In this two part challenge, I cover beginShape(), endShape(), and texture(), TRIANGLE_STRIP, QUAD_STRIP, and more. I combine these geometry functions with the Toxiclibs physics library to simulate a waving flag (with a unikitty image texture!) Code: https://thecodingtrain.com/challenges/63-texturing-cloth-simulation
Other Parts of this Challenge:
๐บ Texturing Cloth Simulation - Part 2: https://youtu.be/FeXnJSCFj-Q
๐ฅ Previous video: https://youtu.be/KakpnfDv_f0?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ฅ Next video: https://youtu.be/xXjRlEr7AGk?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ฅ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
References:
๐ Toxiclibs Physics Library: http://haptic-data.com/toxiclibsjs
Videos:
๐ Toxiclibs Verlet Physics: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6aiaU4s30tXvUmwGMlb9UUS
๐ด Live Stream Archive: https://youtu.be/xtFu66DZrBw
Related Coding Challenges:
๐ #20 3D Cloth with Toxiclibs: https://youtu.be/jrk_lOg_pVA
๐ #62 Plinko with Matter.js: https://youtu.be/KakpnfDv_f0
๐ #138 Angry Birds with Matter.js: https://youtu.be/TDQzoe9nslY
Timestamps:
0:00 Introduction!
1:06 Discussing image texturing
4:29 Demonstrating the use of texture() function with code
10:54 Rendering sets of points across lines as triangle strips
15:56 Texturing the image of unikitty onto the triangle strips in normal mode!
17:32 Conclusion!
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
#physicsengine #texture3d #toxiclibs #cloth #simulation #processing #java
Other Videos By The Coding Train
Other Statistics
THE EDITOR Statistics For The Coding Train
At present, The Coding Train has 96,122 views spread across 3 videos for THE EDITOR, and less than an hour worth of THE EDITOR videos were uploaded to his channel. This is less than 0.07% of the total video content that The Coding Train has uploaded to YouTube.