Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

This code is meant to be used in the Processing 4 IDE, just download the file and open it with the official processing 4 IDE, or just open a new window and copypaste the code. Note: since the code to calculate the acceleration is O(n^2) (every particle influences every other particle) don't overdo it or you might have performance issues.

Some Changeable variables are at the start of the file, notably to change number, dimension and gravitational pull of particles. The code is (or should, atleast) somewhat readable as i have written extensive comments.

It's just a fun personal project of mine, it serves no real purpose.

About

This is a quick project in Processing 4 simulating gravity between particles

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages