Swiftpack.co -  falcowinkler/flockingbird-swift as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
falcowinkler/flockingbird-swift
Flocking simulation in swift
.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: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

MVP release
1 week 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