Create agents in 3D space

Author: Lukas Breitwieser
In this tutorial we want to demonstrate different functions to initialize agents in space.

Let's start by setting up BioDynaMo notebooks.

We use SphericalAgents with $diameter = 10$ for all consecutive examples.

We define the number of agents that should be created for functions that require this parameter.

We define two helper functions that reset the simulation to the empty state and one to visualize the result.

Create agents randomly inside a 3D cube

Cube: $x_{min} = y_{min} = z_{min} = -200$ and $x_{max} = y_{max} = z_{max} = 200$
By default a uniform random number distribution is used.