Skip to content

Particle system with attraction / repulsion between the particles + attraction range / repulsion range

Notifications You must be signed in to change notification settings

ciphrd/LocalizedAttractionRepulsion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Localized Attraction-Repulsion (Particle System) [Processing]

This project was released under the MIT License

LAR demo

This project implements the very basis of localized attraction repulsion between particle. The attraction repulsion of particle is a system where each particle is both attracted and repelled by all the other particles of the system. By introducing an attraction range and a repulsion range, the behavior of the particles starts to mimic life-like behaviors and it gives more flexibility to the system.

The idea is very simple, and I will use this project as a base for more advanced techniques that relies on this.

How to run

  • Download Processing and install it
  • Clone this repo
  • Open the sketch_Localized_Attraction_Repulsion.pde file with Processing
  • Run

About

Particle system with attraction / repulsion between the particles + attraction range / repulsion range

Resources

Stars

Watchers

Forks

Packages

No packages published