tubeshowcase●913,523 videos♡ My collection 0
← Learn to Code

Learn to Code18:05

Coding Challenge 63: Texturing Cloth

The Coding Train ↗

From the creator

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 🚂 Webs

Published 2017-03-14 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code