Deforming sprite meshes
Cut a picture into a 7×7 lattice triangle, move only the vertices, attach each triangle as an affin transformation, and make breathing, flag-draping, pulling, and waving.
- Category
- 2D visual effects
Technical terms · Mesh deformation (2D warp) · Affine texture mapping per triangle · ctx.clip + ctx.transform · Squash & stretch / breathing