Skip to content

scopophobic/something

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

2D Cloth Simulation

Started off trying to make a basic cloth simulation from scratch (no external libraries).
At this point, I have no idea what I just made — but it looks cool and it was fun clicking stuff :)

What it does:
- Simulates cloth using a grid of connected points (weirdly behaving cloth)
- You can:
  • Drag the mouse to attract points
  • Swipe to cut the cloth
  • Press SPACE to throw balls at it
  • Use Arrow Up/Down to play with Z-depth (makes stuff look kinda 3D)

No frameworks, no physics engines — just pure JS and canvas.

That’s it!

About

learning to simulate something 2d from scratch without any external libs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors