Swiftpack.co - LuizZak/JelloSwift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by LuizZak.
LuizZak/JelloSwift 0.15.0
Swift soft body physics engine
⭐️ 157
🕓 2 years ago
.package(url: "https://github.com/LuizZak/JelloSwift.git", from: "0.15.0")

JelloSwift

Build Status

Soft-body physics dynamics library written in Swift


they all look so *squishy!*

Video demo available here: https://www.youtube.com/watch?v=0J6P5WaxSHA

This is a port of JelloPhysics, a C#/C++ soft-body physics engine (the original license is included at the JelloPhysics-License.md file).

This port more closely resembles the AS3 version of the engine, JelloAS3, with many optimizations and modifications made to better fit Swift, with the biggest change being how spring and pressure bodies are defined.

The project comes with a demo scene for the iPad, so just fire up and drag the soft bodies around!

Example

To run the example project, clone the repo, open the Sample project under Sample/Sample.xcodeproj, select a platform and run.

Requirements

To compile this project, you require Xcode 10.2 w/ Swift 5.0 installed.

Installation

Swift Package Manager

JelloSwift is also available as a Swift Package

dependencies: [
    // [...]
    .package(url: "https://github.com/LuizZak/JelloSwift.git", from: "0.14.0"),
],

License

JelloSwift is available under the MIT license. See the LICENSE file for more info.

GitHub

link
Stars: 157
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

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