{"id":13751617,"url":"https://github.com/adellibovi/SwiftUI-PathAnimations","last_synced_at":"2025-05-09T18:31:38.839Z","repository":{"id":240974394,"uuid":"195130933","full_name":"adellibovi/SwiftUI-PathAnimations","owner":"adellibovi","description":"Tools for SwiftUI that helps perform Path and Shape animations, such us morphing circle or shape transformations","archived":false,"fork":false,"pushed_at":"2019-09-13T22:44:55.000Z","size":3209,"stargazers_count":222,"open_issues_count":1,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-08T12:21:10.407Z","etag":null,"topics":["swift","swiftui","swiftui-animations","swiftui-example"],"latest_commit_sha":null,"homepage":null,"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/adellibovi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-03T21:53:52.000Z","updated_at":"2025-03-19T09:40:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"af2ab533-f95f-4d5f-ba50-5ff014d66f6f","html_url":"https://github.com/adellibovi/SwiftUI-PathAnimations","commit_stats":null,"previous_names":["adellibovi/swiftui-pathanimations"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adellibovi%2FSwiftUI-PathAnimations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adellibovi%2FSwiftUI-PathAnimations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adellibovi%2FSwiftUI-PathAnimations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adellibovi%2FSwiftUI-PathAnimations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adellibovi","download_url":"https://codeload.github.com/adellibovi/SwiftUI-PathAnimations/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253303024,"owners_count":21886873,"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":["swift","swiftui","swiftui-animations","swiftui-example"],"created_at":"2024-08-03T09:00:50.015Z","updated_at":"2025-05-09T18:31:36.105Z","avatar_url":"https://github.com/adellibovi.png","language":"Swift","funding_links":[],"categories":["🌎 by the community"],"sub_categories":[],"readme":"# SwiftUI+PathAnimations 🔵\n\n## Introduction\n\nThis packages contains `SimilarShape` and `InterpolatedShape`, both can be used to achieve shapes animations with SwiftUI.\n\n![SwiftUI Morphing Circle Demo](demo.gif)\n\n## How it works?\n\n`SimilarShape` should be used when animating two or more similar paths. A path is similar to another one when having the same number and types of `Path.Element`. I.e.: two rects with different height, width and origin are considered similar, since the two paths are made by the same `Path.Element` but with different `CGPoint`.\n\n`InterpolatedShape` should be used when animating two or more different paths. Internally, it will create a slighlty different path used for animation, by interpolating the original one. \n\n## Example\n\nThe attached example (Example/Example.xcodeproj) is using:\n* `SimilarShape` to perform the drag animation of the morphing circle 🔵, since the `Path` create starting from the original circle and the one create with the dragging point are essentially the same\n* `InterpolatedShape` to perform the animated trasformation from a circle and a rounded rectangle, being very different paths.\n\n## Author\n\nFeel free to reach me out at [@adellibovi](https://twitter.com/adellibovi)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadellibovi%2FSwiftUI-PathAnimations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadellibovi%2FSwiftUI-PathAnimations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadellibovi%2FSwiftUI-PathAnimations/lists"}