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
🕓 2 years 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: 28 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

MVP release
2 years 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