Swiftpack.co - falcowinkler/flockingbird-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by falcowinkler.
falcowinkler/flockingbird-swift 0.0.6-beta
Flocking simulation in swift
⭐️ 0
🕓 33 weeks ago
.package(url: "https://github.com/falcowinkler/flockingbird-swift.git", from: "0.0.6-beta")

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

GitHub

link
Stars: 0
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

MVP release
33 weeks ago

This is the first release with a fully functional binding to the c++ flockingbird library. (Fixed unsafe flags)

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics