Pole (fixed)
Fabric node
This 2D simulator builds a flag from a grid of point masses joined by structural and shear springs, pins the entire hoist edge to a flagpole, and advances the rest with Verlet integration under a gusting wind field. Raise the wind speed to see the fabric billow harder toward the free fly edge, hit the gust button for a sudden burst, and adjust fabric stiffness to trade a loose, floppy ripple for a tighter, faster-recovering wave — the same trade-off that separates heavy canvas from light nylon in a real flag.