https://github.com/a740g/particle-life
A simple QB64-PE program to simulate artificial life using attraction / repulsion forces between many particles
https://github.com/a740g/particle-life
basic-programming cross-platform qb64 qb64-pe qbasic qbasic-code qbasic64 quickbasic quickbasic64
Last synced: about 2 months ago
JSON representation
A simple QB64-PE program to simulate artificial life using attraction / repulsion forces between many particles
- Host: GitHub
- URL: https://github.com/a740g/particle-life
- Owner: a740g
- License: mit
- Created: 2022-10-15T22:15:26.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-12T01:39:46.000Z (5 months ago)
- Last Synced: 2024-12-12T02:34:03.456Z (5 months ago)
- Topics: basic-programming, cross-platform, qb64, qb64-pe, qbasic, qbasic-code, qbasic64, quickbasic, quickbasic64
- Language: QuickBASIC
- Homepage: https://qb64phoenix.com/forum/showthread.php?tid=1022
- Size: 2.27 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# PARTICLE LIFE SIMULATION
This is a [QB64-PE](https://github.com/QB64-Phoenix-Edition/QB64pe) version of [Particle Life Simulation](https://github.com/hunar4321/particle-life). 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.



This also includes an early version of an immediate mode GUI library based on ideas from [Terry Ritchie](https://www.qb64tutorial.com/)'s [Graphic Line Input Library](https://qb64phoenix.com/forum/showthread.php?tid=84) and [Button Library](https://qb64phoenix.com/forum/showthread.php?tid=82). 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](https://github.com/a740g/Toolbox64) repositiory as a [Git submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules)## NOTES
- This requires the latest version of [QB64-PE](https://github.com/QB64-Phoenix-Edition/QB64pe)
- 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](https://iconarchive.com/artist/everaldo.html)