Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.06 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.06 KB

🧵 js-cloth-simulation

✔ This is a simple js physics simulator for 2D cloth simulations.
✔ It makes use of verlet integration to achive proper physics behaviour.
🏃‍♀️ Open index.html to run simulator in your browser of choice

Controls

[Bottom controll panel]

📊 PLAY / PAUSE - Starts and stops physics simulation
👾 CREATE / CONNECT / MOVE / DESTROY - Switches action for the left mouse button
🔃 LOAD - Load presets for nets of different sizes [rows] [collums] [distance between dots]

🌎 GRAVITY - Gravity modifier from -10 to 10
🏎 FRICTION - Friction modifier from -3 to 3
🏓 BOUNCE - Bounce modifier from -5 to 5DRAW POINTS - Allows to enable / disable points
✅ DRAW STICKS - Allows to enable / disable sticks

[Other]

👆 Left Mouse Button - Main action button 
👆 Right Mouse Button - Click on a point to make it immovable