Skip to content

falcowinkler/flockingbird-swift

Repository files navigation

flockingbird-swift

Swift bindings for flockingbird.

Example usage:

let flock = Flock(numberOfBoids: 100, maxX: 1024, maxY: 600)
        let simulationParameters = FlockSimulationParameters(fromDict: ["maxX": 1024, "maxY": 600])
        let flockSimulation = FlockSimulation(flock: flock, simulationParameters: simulationParameters)

setup

git submodule init
git submodule update --recursive
# to update the commit of the submodule
cd Sources/CPP
git pull

build

swift build

test

swift test