Demos
The Ark repository contains a number of runnable demos. These are listed here, alongside instructions for running them.
Running a demo
Click for instructions
First, clone the repository and `cd` into it:
git clone https://github.com/mlange-42/Ark.jl.git
cd Ark.jl
Next, instantiate the demos project:
julia --project=demos -e 'using Pkg; Pkg.develop(path="."); Pkg.instantiate()'
Run individual demos like this:
julia --project=demos demos/<DEMO>/main.jl
Most of the demos are interactive, so try hovering the mouse over the window.
Logo
An animated, interactive Ark.jl logo. Use only the most basic features of Ark. Source code.
SIR
A simple individual-based epidemiologic SIR model. Source code.
Boids
Boids model, resembling bird flocks or fish schools. Makes use of entities stored in a spatial acceleration structure, as well as in components. Source code.
Network
Random travelers on a network. Makes massive use of entities stored in components. Source code.
Grazers
An model for the evolution of the foraging behavior of grazers. Dynamically adds and removes components to handle behavioral states. Source code.