Description


Press z and drag to move the orientation, and WASD moves the camera.

Cloth simulation uses a mesh of nodes connected by springs. The tricky part was finding the best parameters for the stiffness (k) and the rest length for springs. Adding sliders for both I could binary search my way to parameters that gave me a stable cloth simulation.

Tech Stack

  • JavaScript
  • HTML5
  • CSS3/SCSS

Features

  • Cloth Simulation
  • Air Drag for Cloth
  • 3d Simulation