# Any Distance Goes Open Source

> Deep-dive writeup and open-source release of the Apple Design Award–winning fitness tracker.

A detailed technical article celebrating the open-source release of Any Distance, a popular iOS activity tracking app. It breaks down the app's signature UI components, including 3D route rendering in SceneKit, Metal shaders, and custom SwiftUI animations, complete with code snippets and GitHub links. It serves as an instructive reference for iOS developers and design engineers aiming to build high-polish mobile interfaces.

Website: https://spottedinprod.com/blog/any-distance-goes-open-source

## What it is for

- Learn how to render animated 3D GPS routes and elevation maps using SceneKit
- Study production SwiftUI and Metal implementations for custom micro-interactions
- Reference complete iOS codebase architecture from an Apple Design Award winner

## Features

- Technical breakdown of 3D route rendering using SceneKit line nodes and planes
- Source code snippets for countdown animations, confetti, and scrubbable line graphs
- Implementation details for Metal-based gradient animations and progressive blurs
- Direct links to full production files in the open-source GitHub repository
- Architectural commentary from the app's creator

## Pricing

Free to read; repository is open source

## Details

- Type: Article or course
- Category: [Development](https://xiry.app/topics/development.md)
- Open source: yes
- Platforms: Web, iOS
- For: iOS developers, design engineers, and mobile UI designers.
- Alternative to: Strava, Nike Run Club
- Tags: ios, swiftui, scenekit, design engineering, open source, swift

## Why it was saved

- [@n___vc, 20 June 2025](https://x.com/n___vc/status/1936090131221622962): Background reading on the project and where to find more details.
- [@n___vc, 20 June 2025](https://x.com/n___vc/status/1936090131221622962): Background reading on what open sourcing means for the project.

## Related

- [Animated Loading Button in SwiftUI](https://xiry.app/resources/animated-loading-button-in-swiftui): Pattern for building a multi-state morphing button in SwiftUI (Tip, Free)
- [Chat UI Architecture on iOS: SwiftUI List to UICollectionView](https://xiry.app/resources/chat-ui-architecture-on-ios-swiftui-list-to-uicollectionview): Engineering guide for building high-performance, streaming-friendly iOS chat message lists. (Tip, Free)
- [clean-architecture-swiftui](https://xiry.app/resources/clean-architecture-swiftui): Sample SwiftUI app demonstrating Clean Architecture with modern Swift patterns (GitHub repo, Open source)
- [Add Apple Docs to Cursor Composer](https://xiry.app/resources/add-apple-docs-to-cursor-composer): Index official Apple documentation as reference docs inside Cursor's AI composer (Tip, Free)
- [SwiftUI Modern Animated OTP Input Pattern](https://xiry.app/resources/swiftui-modern-animated-otp-input-pattern): SwiftUI guide for creating animated OTP verification inputs with validation states (Tip, Free)
- [x-algorithm](https://xiry.app/resources/x-algorithm): The open-source code powering the For You recommendation feed on X. (GitHub repo, Open source)

Updated 10 October 2026. Page: https://xiry.app/resources/any-distance-goes-open-source

Make your own library: Xiry takes your saved reels, tweets, Reddit bookmarks and Watch Later videos, makes them searchable and pulls the useful stuff out, like this library. It's invite-only for now; join the waitlist at https://xiry.app/#waitlist.
