Skip to content

Draw some shapes, turn them into softbodies, and then squish them.

Notifications You must be signed in to change notification settings

TesseractionCode/Softbody-Art

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Softbody-Art

Dependencies

This program requires you to have Python 3.0 or above and Pygame installed. You can install Python at the link below if you don't already have it. Make sure to check the small "Add To Path" checkbox in the installation process. https://www.python.org/downloads/

To install pygame, first have Python installed, then run "python -m pip install pygame" in your terminal. image

Usage

Draw some shapes, turn them into softbodies, and then squish them.

To start drawing, run the main.py file, then hold left click and drag. The radius of your brush is shown by the size of the blue circle around your mouse. The size of your brush can be changed by scrolling up and down.

image

To switch to erase mode, press E. To clear everything, press Backspace.

image

You can also make shapes by drawing outlines first, and then pressing F in the center of your shape to fill.

image image

Once you're done with your shape(s), press enter to calculate the softbody particles. You can press enter again at any point in time to recalculate the particles if you make any changes.

image

Now just press Space to switch to physics mode. Holding your left mouse button down will now push particles away from your mouse. You can also right click to pull.

image

And now you can enjoy making your very own squishies!

About

Draw some shapes, turn them into softbodies, and then squish them.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages