• Stars
    star
    160
  • Rank 234,703 (Top 5 %)
  • Language
    Swift
  • License
    Other
  • Created almost 10 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Swift soft body physics engine

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.

More Repositories

1

SwiftRewriter

A Swift Package Manager console app and library to convert Objective-C code into Swift.
Swift
255
star
2

FastBitmap

A fast C# Bitmap wrapping layer
C#
92
star
3

Pixelaria

C# program for creating pixel art game sprites
C#
27
star
4

LibTessSwift

Libtess2 tesselation/triangulation library wrapper for Swift
C
15
star
5

ZScript

A game scripting programming language written in .NET C#
C#
13
star
6

swift-z3

A Swift wrapper over Microsoft's Z3 Theorem Prover
C++
11
star
7

swift-blend2d

Experimental Swift bindings for Blend2D
C++
11
star
8

GPEngine

iOS entity-base game engine written in Swift
Swift
8
star
9

TowersSolver

A solver for the Skyscrapers/Towers logic game written in Swift 4.
Swift
8
star
10

Geometria

Swift geometry-related types and algorithms
Swift
8
star
11

Antlr4-Swift

A heavily modified adaption of ANTLR4's Swift runtime used in SwiftRewriter
Swift
7
star
12

GIFViewer

A C# Windows 7/8/10 program for visualizing animated .gif files
C#
6
star
13

Templates

Useful Xcode file templates to save you precious typing time.
4
star
14

MiniLexer

A teeny-tiny-weeny lexer written in Swift available as a Swift Package.
Swift
4
star
15

SwiftSyntaxSearch

A small experimental library containing generic types for performing search and replacement on Swift Syntax trees.
Swift
4
star
16

MiniGraphviz

A teeny-tiny-weeny Graphviz-emitter written in Swift available as a Swift Package.
Swift
2
star
17

ObjcGrammar

Repository for latest Objective-C ANTLR4 grammar files used in SwiftRewriter; based off of existing grammar files from ANTLR's github pages.
ANTLR
2
star
18

TargetDependencyChecker

A SwiftPM package for figuring out if SwiftPM projects have botched dependency graphs
Swift
1
star
19

jelloas3

Automatically exported from code.google.com/p/jelloas3
ActionScript
1
star
20

MiniDigraph

A teeny-tiny-weeny directed graph library written in Swift available as a Swift Package.
Swift
1
star
21

Console

Barebones-ish CLI module for Swift
Swift
1
star
22

ImagineUI

An experimental UI system written in Swift
Swift
1
star
23

GeometriaApp

A small macOS toy raytracer
Swift
1
star
24

swift-bezier

A BΓ©zier curve library written in Swift
Swift
1
star
25

SwiftTestFileGen

A Visual Studio Code extension that automatically creates test files from source files.
TypeScript
1
star
26

JsGrammar

Clone of Antlr4's Javascript grammar files
Swift
1
star
27

TaskMan

Simple MacOS task management application
Swift
1
star