How it works
Position-based Verlet integration with distance constraints relaxed N times per frame; constraints over the tear distance are removed.
Nepali prayer flags on a sagging rope. Wind makes them flutter; drag, cut or pull hard to tear them.
Position-based Verlet integration with distance constraints relaxed N times per frame; constraints over the tear distance are removed.
Fixed 60Hz substep with accumulator; 30Hz on low tier.
“Reset” and “Wind gust” buttons provide non-pointer interaction.
{
"gravity": 900,
"iterations": 4,
"tear": 60,
"wind": 140
}