FLAMEGPU / FLAMEGPU2

FLAME GPU 2 is a GPU accelerated agent based modelling framework for CUDA C++ and Python
https://flamegpu.com
MIT License
105 stars 20 forks source link

Example Readme(s) #1104

Closed ptheywood closed 1 year ago

ptheywood commented 1 year ago

Within this repo, the purposes of each example and what they do is unclear to someone out of the loop.

I.e. there is nothing which says "the circles readme is this model. This version shows spatial comms" etc.

It might be nice to add this, either as examples/readme.md describing all of them in very little detail, or adding a per example readme with more info?

Robadob commented 1 year ago

work in progress, will likely finish tomorrow AM

FLAME GPU Examples

This document briefly summarises the purpose of each example model provided, and links to any additional resources.

The examples directory has four subdirectories, corresponding to different model language options:

Boids

The Boids example is a classic agent based model, first published by Craig Reynolds in 1986. Agent's represent birds flying in a flock according to three simple rules:

As a classic model, this has been implemented in many frameworks and provides a means of comparison.

This example is available using both brute force and spatial messaging, and is only available in 3 dimensions.

Versions

Circles

The Circles example was developed as a simple agent model for benchmarking communication strategies. It is an improvement over the version published in 2017, which smooths agent movement to reduce jitter.

Versions

Diffusion

Game of Life

Sugarscape

Pedestrian Navigation

The pedestrian navigation example implements a copy of the original FLAME GPU 1 pedestrian navigation example.

It was created to demonstrate keyframe animation and user interface support within FLAME GPU. Previously in FLAME GPU 1 much of this visualisation functionality had to be hand coded.

Pedestrian agents walk between pairs of entrances whilst avoiding collisions with one another.

Versions

The pedestrian navigation exists as a C++ model in a standalone GitHub repository.

Ensemble

Host Function

CodeGen