Texturing Cloth Simulation Part 1
Coding Challenge #63.1
In this two part coding challenge, I demonstrate how to render geometry with an image texture (making a waving flag). In this first part, I cover the beginShape(), endShape(), and texture() functions and discuss different options like TRIANGLE_STRIP, QUAD_STRIP, and more.
Community Contributions
- Surface of Water / Taught Cloth Simulation by Aryaman Kejriwal (Source Code)
- Cloth Simulation hanging from letters by Lorenzo Salmina (Source Code)
- p5.js Unikitty Flag (w/Toxiclibs.js) by Sam Lee (Source Code)
- p5.js Unikitty Flag on Flagpole (w/Matter.js) by Sam Lee (Source Code)
You can also add your own version! (See how)