{"id":31667852,"url":"https://github.com/nsland/animatedmesh","last_synced_at":"2026-04-16T04:02:41.968Z","repository":{"id":318126482,"uuid":"1070062941","full_name":"NSLand/AnimatedMesh","owner":"NSLand","description":"Dynamic, themeable, and fully SwiftUI-powered animated mesh gradients","archived":false,"fork":false,"pushed_at":"2025-10-05T09:21:39.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-05T10:17:46.195Z","etag":null,"topics":["ios","macos","mesh-gradients","swiftui","tvos","watchos"],"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/NSLand.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-05T07:23:44.000Z","updated_at":"2025-10-05T09:21:43.000Z","dependencies_parsed_at":"2025-10-05T10:27:59.870Z","dependency_job_id":null,"html_url":"https://github.com/NSLand/AnimatedMesh","commit_stats":null,"previous_names":["nsland/animatedmesh"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/NSLand/AnimatedMesh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSLand%2FAnimatedMesh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSLand%2FAnimatedMesh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSLand%2FAnimatedMesh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSLand%2FAnimatedMesh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NSLand","download_url":"https://codeload.github.com/NSLand/AnimatedMesh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSLand%2FAnimatedMesh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31870516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ios","macos","mesh-gradients","swiftui","tvos","watchos"],"created_at":"2025-10-08T00:48:28.658Z","updated_at":"2026-04-16T04:02:41.952Z","avatar_url":"https://github.com/NSLand.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌀 AnimatedMesh\n\n\u003e **Dynamic, themeable, and fully SwiftUI-powered animated mesh gradients.**  \n\u003e Add motion and color depth to your app’s backgrounds with ease.\n\n![Swift](https://img.shields.io/badge/Swift-6.2-orange.svg)\n![Platforms](https://img.shields.io/badge/Platforms-iOS%20%7C%20macOS%20%7C%20tvOS%20%7C%20watchOS%20%7C%20visionOS-blue)\n![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)\n![SwiftUI](https://img.shields.io/badge/SwiftUI-MeshGradient-purple.svg)\n\n---\n\n## ✨ Overview\n\n**AnimatedMesh** brings **live, evolving color gradients** to SwiftUI using the new `MeshGradient` API.  \nIt’s lightweight, theme-based, and completely customizable — perfect for creating ambient motion backgrounds, onboarding screens, and modern Apple-style visuals.\n\n\u003e Think **App Store icons**, **Apple Music auroras**, or **macOS Sonoma wallpapers** — but made interactive and code-driven.\n\n---\n\n## 🧱 Installation\n\n### Swift Package Manager\n\nIn **Xcode**:\n\n1. Go to **File ▸ Add Packages...**\n2. Enter the URL:\n   ```\n   https://github.com/nsland/AnimatedMesh\n   ```\n3. Choose **Add Package**\n\nOr manually in your `Package.swift`:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/nsland/AnimatedMesh\", from: \"1.0.0\")\n]\n```\n\nThen import it:\n\n```swift\nimport AnimatedMesh\n```\n\n---\n\n## 🧭 Usage\n\n### Basic Example\n\n```swift\nimport SwiftUI\nimport AnimatedMesh\n\nstruct ContentView: View {\n    var body: some View {\n        ZStack {\n            AnimatedMesh(theme: .auroraBlush)\n                .ignoresSafeArea()\n            \n            VStack {\n                Text(\"Hello, Mesh!\")\n                    .font(.largeTitle)\n                    .bold()\n                    .foregroundStyle(.white)\n            }\n        }\n    }\n}\n```\n\n---\n\n### Custom Theme Example\n\n```swift\nlet customTheme = MeshGradientColorTheme(\n    width: 4,\n    height: 4,\n    meshColors: [\n        .blue, .purple, .cyan, .blue,\n        .purple, .cyan, .blue, .purple,\n        .cyan, .blue, .purple, .cyan,\n        .blue, .purple, .cyan, .blue\n    ]\n)\n```\n\nUse it like this:\n\n```swift\nAnimatedMesh(theme: customTheme)\n```\n\n---\n\n## 🎨 Built-in Themes\n\n| Theme | Description |\n|-------|--------------|\n| `.auroraBlush` | Soft pinks, purples, and peaches for glowing backgrounds |\n| `.dreamyPurple` | Serene lavender tones for calm, sleep-inspired UIs |\n| `.moonlitViolet` | Deep blue-violet hues of a moonlit sky |\n| `.twilightFlow` | Subtle purple gradients for elegant dark designs |\n| `.auroraSleep` | Soothing purple and teal blend for tranquil animations |\n| `.deepRest` | Muted purples for meditative or sleep apps |\n| `.lavenderDream` | Gentle spa-like lavender tones |\n| `.sunnyGold` | Bright golden and yellow hues for cheerful UIs |\n| `.sunsetGlow` | Warm sunset reds and pinks |\n| `.vibrantFlow` | Bold and dynamic palette for playful designs |\n\n---\n\n## ⚙️ Customization\n\nYou can easily adjust:\n- `width` and `height` → number of mesh grid columns/rows  \n- `meshColors` → base colors of your theme\n\nYou can even create your own dynamic logic:\n```swift\nextension MeshGradientColorTheme {\n    static let oceanBreeze = MeshGradientColorTheme(\n        width: 3,\n        height: 3,\n        meshColors: [.blue, .teal, .mint, .cyan, .indigo, .blue, .mint, .cyan, .teal]\n    )\n}\n```\n\n---\n\n## 🪄 Accessibility\n\n`AnimatedMesh` is purely decorative.  \nIf used as a background, mark it as hidden from accessibility:\n\n```swift\n.accessibilityHidden(true)\n```\n\n---\n\n## 💡 Requirements\n\n| Platform | Minimum Version |\n|-----------|----------------|\n| iOS | 18.0 |\n| macOS | 15.0 |\n| tvOS | 18.0 |\n| visionOS | 2.0 |\n| watchOS | 11.0 |\n\n- Requires **Swift 6.2** or later  \n- Uses SwiftUI’s native `MeshGradient` API  \n\n---\n\n## 📸 Preview\n![Animated Mesh Gradient Preview](preview.gif)\n\n---\n\n## 📄 License\n\nLicensed under the **MIT License**.  \nSee [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsland%2Fanimatedmesh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnsland%2Fanimatedmesh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsland%2Fanimatedmesh/lists"}