Skip to content

A simple QB64-PE program to simulate artificial life using attraction / repulsion forces between many particles

License

Notifications You must be signed in to change notification settings

a740g/Particle-Life

Repository files navigation

PARTICLE LIFE SIMULATION

This is a QB64-PE version of Particle Life Simulation. It is a simple program to simulate primitive artificial life using simple rules of attraction or repulsion among atom-like particles, producing complex self-organzing life-like patterns.

screenshot screenshot screenshot screenshot

This also includes an early version of an immediate mode GUI library based on ideas from Terry Ritchie's Graphic Line Input Library and Button Library. Thank you Terry!

USAGE

  • Clone the repository to a directory of your choice
  • Open Terminal and change to the directory using an appropriate OS command
  • Run git submodule update --init --recursive to initialize, fetch and checkout git submodules
  • Open ParticleLife.bas in the QB64-PE IDE and press F5 to compile and run
  • To use the GUI library in your project add the Toolbox64 repositiory as a Git submodule

NOTES

  • This requires the latest version of QB64-PE
  • When you clone a repository that contains submodules, the submodules are not automatically cloned by default
  • You will need to use the git submodule update --init --recursive command to initialize, fetch and checkout git submodules

ASSETS

Icon by Everaldo / Yellowicon