All Projects → AugustRush → Stellar

AugustRush / Stellar

Licence: mit
A fantastic Physical animation library for swift

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Stellar

frechet
Discrete Fréchet distance and of the minimum path required for traversing with it
Stars: ✭ 14 (-99.52%)
Mutual labels:  curve
d3-radial-axis
A radial implementation of the D3 axis component
Stars: ✭ 23 (-99.21%)
Mutual labels:  curve
Pathslider
Numerical slider that follows a Bezier path
Stars: ✭ 15 (-99.48%)
Mutual labels:  curve
libgoldilocks
An implementation of Mike Hamburg's Ed448 (Goldilocks) curve - derived from libdecaf. This is a mirror of https://bugs.otr.im/otrv4/libgoldilocks
Stars: ✭ 17 (-99.41%)
Mutual labels:  curve
ae-ease-to-gsap-customease
Converts the keyframes of the selected property in After Effects to a set of SVG path commands that can be used directly in GreenSock's CustomEase plugin
Stars: ✭ 58 (-98%)
Mutual labels:  curve
GravityTagCloudView
A tag cloud view with gravity.
Stars: ✭ 22 (-99.24%)
Mutual labels:  uidynamics
Flubber
Flubber is an elegant solution for making animations in Android. The library is developed and maintained by Appolica.
Stars: ✭ 254 (-91.23%)
Mutual labels:  curve
react-svg-curve
React components to draw different types of curves with svg
Stars: ✭ 42 (-98.55%)
Mutual labels:  curve
to-path-figma
object and text to path, a figma plugin
Stars: ✭ 31 (-98.93%)
Mutual labels:  curve
similarity measures
Quantify the difference between two arbitrary curves in space
Stars: ✭ 140 (-95.16%)
Mutual labels:  curve
discrete frechet
Compute the Fréchet distance between two polygonal curves in Euclidean space.
Stars: ✭ 68 (-97.65%)
Mutual labels:  curve
levenberg-marquardt
Curve fitting method in JavaScript
Stars: ✭ 63 (-97.82%)
Mutual labels:  curve
BezierKit
Bezier curves and paths in Swift for building vector applications
Stars: ✭ 190 (-93.44%)
Mutual labels:  curve
smooth-corners
CSS superellipse masks using the Houdini API
Stars: ✭ 133 (-95.41%)
Mutual labels:  curve
re-gent
A Distributed Clojure agent for running remote functions
Stars: ✭ 18 (-99.38%)
Mutual labels:  curve
btc-bash-ng
math and bitcoin tools in gnu bc and bash
Stars: ✭ 25 (-99.14%)
Mutual labels:  curve
mechanical-keyboard
⌨️ Resources related to my mechanical keyboard build.
Stars: ✭ 14 (-99.52%)
Mutual labels:  physical
D2PCurvedModal
An elegant and curved modal View for iOS (Swift)
Stars: ✭ 59 (-97.96%)
Mutual labels:  curve
Flutter-Anim
Fluent Flutter Animation library. Describe Sequences & Parallel animation's workflow, setup startDelay, duration and curve, then run !
Stars: ✭ 35 (-98.79%)
Mutual labels:  curve
StockView
股票相关控件(分时图、五日分时图、自选股迷你分时图、资金趋势图、盈亏额/盈亏率)- (曲线图、折线图)
Stars: ✭ 87 (-96.99%)
Mutual labels:  curve

Carthage compatible Packagist codebeat badge Travis branch Cocoapods badge

A fantastic Physical animation library for swift(Not Just Spring !!!), it is base on UIDynamic and extension to it, friendly APIs make you use it or custom your own animation very easily!

Support

Integration

Cocoapods(iOS 8+)

  • You can use Cocoapods to install Stellar by adding it to your Podfile:
platform :ios, '8.0'
use_frameworks!

target 'YourApp' do
    pod 'Stellar', :git => 'https://github.com/AugustRush/Stellar.git'
end

Carthage (iOS 8+)

  • You can use Carthage to install Stellar by adding it to your Cartfile:
github "AugustRush/Stellar"

Manually (iOS 8+)

To use this library in your project manually you may:

  • for Projects, just drag Stellar Sources to the project tree
  • for Workspaces, include the whole StellarDemo.xcodeproj

Features

- View's Animation
- Layer's Animation
- Chainable (every step can be observed)
- File configurable (come soon)

Animations

- Basic
- Gravity
- Snap
- Attachment
- Push
- Collsion(come soon)

Animatable type

- Float
- CGFloat
- Double
- CGSize
- CGPoint
- CGRect
- UIColor
- ......(Any Intrpolatable)

Easing Curve (Base Animation)

- Default
- EaseIn
- EaseOut
- EaseInEaseOut
- Linear
- SwiftOut
- BackEaseIn
- BackEaseOut
- BackEaseInOut
- BounceOut
- Sine
- Circ
- ExponentialIn
- ExponentialOut
- ElasticIn
- ElasticOut
- BounceReverse
- Custom(Double, Double, Double, Double)

On display

Funny demo's gif(s)

Chainable

  1. Common

for (index,line) in leftLines.enumerate() {
    let delay = Double(index) * 0.2
    
    line.moveX(200).duration(2).easing(.SwiftOut).delay(delay)
        .then().moveX(-200).rotateY(1.43).easing(.SwiftOut)
        .makeColor(UIColor.greenColor()).repeatCount(100)
        .autoreverses().duration(2).animate()
 }
        
 for (index,line) in rightLines.enumerate() {
    let delay = Double(index) * 0.2
    
    line.moveX(-200).duration(2).easing(.SwiftOut).delay(delay)
        .then().moveX(200).rotateY(1.43).easing(.SwiftOut)
        .makeColor(UIColor.purpleColor()).repeatCount(100)
        .autoreverses().duration(2).animate()
 }
  1. every step completion observable

animateView.makeSize(CGSizeMake(50, 150)).snap(0.3).completion({
                print("First step")
            })
            .then().moveX(-100).moveY(-50).anchorPoint(CGPointMake(1, 1)).duration(1).completion({
                print("Second step!")
            })
            .then().rotate(CGFloat(M_PI)).attachment(0.3, frequency: 0.8).completion({
                print("Third step!")
            })
            .then().moveY(500).completion({
                print("last step, all completion")
            })
            .animate()

Snap Curve

Attachment Curve

Gravity Curve

Push Curve

Basic Curve

To do

- File configurable
- Easily Interactive Animations
- Collision
- Mutilple View/Layer performance
- More demos

Licence

Copyright (c) 2016 

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].