{"id":2325,"url":"https://github.com/AugustRush/Stellar","last_synced_at":"2025-08-06T12:32:02.098Z","repository":{"id":52242781,"uuid":"59647995","full_name":"AugustRush/Stellar","owner":"AugustRush","description":"A fantastic Physical animation library for swift","archived":false,"fork":false,"pushed_at":"2019-07-31T06:37:32.000Z","size":14106,"stargazers_count":2939,"open_issues_count":9,"forks_count":232,"subscribers_count":68,"default_branch":"master","last_synced_at":"2024-12-06T19:08:05.432Z","etag":null,"topics":["animation","curve","ios","physical","swift-3","uidynamics"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AugustRush.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-25T09:02:36.000Z","updated_at":"2024-12-04T02:57:44.000Z","dependencies_parsed_at":"2022-08-26T05:41:02.932Z","dependency_job_id":null,"html_url":"https://github.com/AugustRush/Stellar","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AugustRush%2FStellar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AugustRush%2FStellar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AugustRush%2FStellar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AugustRush%2FStellar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AugustRush","download_url":"https://codeload.github.com/AugustRush/Stellar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228898281,"owners_count":17988652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","curve","ios","physical","swift-3","uidynamics"],"created_at":"2024-01-05T20:16:10.920Z","updated_at":"2024-12-09T13:30:34.447Z","avatar_url":"https://github.com/AugustRush.png","language":"Swift","funding_links":[],"categories":["UI","Libs","Swift","Animation","UI and SwiftUI","Animation [🔝](#readme)"],"sub_categories":["Animation","Other free courses"],"readme":"\u003cimg src=\"https://github.com/AugustRush/Stellar/blob/master/title.png\"\u003e\n\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg)](https://github.com/Carthage/Carthage)\n![](https://img.shields.io/cocoapods/v/Stellar.svg?label=Current%20Release) [![Packagist](https://img.shields.io/packagist/l/doctrine/orm.svg?maxAge=2592000?style=flat-square)](https://github.com/AugustRush/Stellar/blob/master/LICENSE.md) [![codebeat badge](https://codebeat.co/badges/e91a2d21-b20c-4b2b-a782-e0e2ecd65063)](https://codebeat.co/projects/github-com-augustrush-stellar) [![Travis branch](https://img.shields.io/travis/rust-lang/rust/master.svg?maxAge=2592000?style=flat-square)]() [![Cocoapods badge](https://img.shields.io/cocoapods/p/Stellar.svg?maxAge=2592000?style=flat-square)]()\n\nA 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!\n\n## Support\n\n### Integration\n#### Cocoapods(iOS 8+)\n* You can use [Cocoapods](https://cocoapods.org/) to install Stellar by adding it to your Podfile:\n\n```\nplatform :ios, '8.0'\nuse_frameworks!\n\ntarget 'YourApp' do\n    pod 'Stellar', :git =\u003e 'https://github.com/AugustRush/Stellar.git'\nend\n```\n\n#### Carthage (iOS 8+)\n* You can use [Carthage](https://github.com/Carthage/Carthage) to install Stellar by adding it to your Cartfile:\n\n```\ngithub \"AugustRush/Stellar\"\n```\n\n#### Manually (iOS 8+)\nTo use this library in your project manually you may:\n\n- for Projects, just drag Stellar [Sources](https://github.com/AugustRush/Stellar/tree/master/Sources) to the project tree\n- for Workspaces, include the whole StellarDemo.xcodeproj\n\n### Features\n```\n- View's Animation\n- Layer's Animation\n- Chainable (every step can be observed)\n- File configurable (come soon)\n```\n### Animations\n```\n- Basic\n- Gravity\n- Snap\n- Attachment\n- Push\n- Collsion(come soon)\n```\n### Animatable type\n```\n- Float\n- CGFloat\n- Double\n- CGSize\n- CGPoint\n- CGRect\n- UIColor\n- ......(Any Intrpolatable)\n```\n### Easing Curve (Base Animation)\n\n```swift\n- Default\n- EaseIn\n- EaseOut\n- EaseInEaseOut\n- Linear\n- SwiftOut\n- BackEaseIn\n- BackEaseOut\n- BackEaseInOut\n- BounceOut\n- Sine\n- Circ\n- ExponentialIn\n- ExponentialOut\n- ElasticIn\n- ElasticOut\n- BounceReverse\n- Custom(Double, Double, Double, Double)\n```\n## On display\n\n#### Funny demo's gif(s)\n\u003cimg src=\"https://github.com/AugustRush/Stellar/blob/master/example5.gif\" width=\"320\"\u003e\n\u003cimg src=\"https://github.com/AugustRush/Stellar/blob/master/balls.gif\" width=\"320\"\u003e\n\u003cimg src=\"https://github.com/AugustRush/Stellar/blob/master/layers.gif\" width=\"320\"\u003e\n\u003cimg src=\"https://github.com/AugustRush/Stellar/blob/master/example6.gif\" width=\"320\"\u003e\n\n#### Chainable \n\n1) Common\u003c/br\u003e\n\n\u003cimg src=\"https://github.com/AugustRush/Stellar/blob/master/lines.gif\" width=\"200\"\u003e\n\n``` swift\nfor (index,line) in leftLines.enumerate() {\n    let delay = Double(index) * 0.2\n    \n    line.moveX(200).duration(2).easing(.SwiftOut).delay(delay)\n        .then().moveX(-200).rotateY(1.43).easing(.SwiftOut)\n        .makeColor(UIColor.greenColor()).repeatCount(100)\n        .autoreverses().duration(2).animate()\n }\n        \n for (index,line) in rightLines.enumerate() {\n    let delay = Double(index) * 0.2\n    \n    line.moveX(-200).duration(2).easing(.SwiftOut).delay(delay)\n        .then().moveX(200).rotateY(1.43).easing(.SwiftOut)\n        .makeColor(UIColor.purpleColor()).repeatCount(100)\n        .autoreverses().duration(2).animate()\n }\n```\n\n2) every step completion observable \u003c/br\u003e\n\n\u003cimg src=\"https://github.com/AugustRush/Stellar/blob/master/example4.gif\" width=\"200\"\u003e\n\n``` swift\nanimateView.makeSize(CGSizeMake(50, 150)).snap(0.3).completion({\n                print(\"First step\")\n            })\n            .then().moveX(-100).moveY(-50).anchorPoint(CGPointMake(1, 1)).duration(1).completion({\n                print(\"Second step!\")\n            })\n            .then().rotate(CGFloat(M_PI)).attachment(0.3, frequency: 0.8).completion({\n                print(\"Third step!\")\n            })\n            .then().moveY(500).completion({\n                print(\"last step, all completion\")\n            })\n            .animate()\n```\n\n----------\n#### Snap Curve\n\u003cimg src=\"https://github.com/AugustRush/Stellar/blob/master/snapCurve.gif\"\u003e\n\n#### Attachment Curve\n\u003cimg src=\"https://github.com/AugustRush/Stellar/blob/master/attachmentCurve.gif\"\u003e\n\n#### Gravity Curve\n\u003cimg src=\"https://github.com/AugustRush/Stellar/blob/master/gravityCurve.gif\"\u003e\n\n#### Push Curve\n\u003cimg src=\"https://github.com/AugustRush/Stellar/blob/master/pushCurve.gif\"\u003e\n\n#### Basic Curve\n\u003cimg src=\"https://github.com/AugustRush/Stellar/blob/master/basicCurve.gif\"\u003e\n\n### To do\n```\n- File configurable\n- Easily Interactive Animations\n- Collision\n- Mutilple View/Layer performance\n- More demos\n```\n### Licence\n```\nCopyright (c) 2016 \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAugustRush%2FStellar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAugustRush%2FStellar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAugustRush%2FStellar/lists"}