Shubham0812/SwiftUI-Animations
51.2
Weak · 14 November 2026
10.2k
lines of production code
Swift
primary language
5
measurements over time
What this system is
This system is an iOS application built with SwiftUI that serves as an interactive gallery for demonstrating various visual effects and animations. It provides a curated collection of components, including 3D graphs, card carousels, and shader-based image distortions, allowing users to explore and manipulate these effects through direct interaction. The app organizes these demonstrations into a tabbed interface with search and filtering capabilities, functioning primarily as a showcase for UI/UX animation techniques rather than a utility product.
How it got here
2020 — Project governance and SwiftUI modernization
7 changes.
This period focused on professionalizing the repository through comprehensive documentation, governance policies, and a structural overhaul to support a modern open-source workflow. The codebase was updated to Xcode 15, introducing new animation components, semantic utilities, and a modern SwiftUI lifecycle while removing legacy files and specific deprecated views.
2026 — Tab-based navigation and shader gallery expansion
21 changes.
The project restructured its architecture to support a tab-based interface with a dedicated Shaders tab, centralizing navigation via an AppCoordinator. This period focused on populating the new Shaders section with a comprehensive gallery of Metal-based visual effects, including Chromatic Aberration, Glitch, and Fluid Grain. Additionally, the library expanded with various interactive animation components such as TextSwirl, Card Swap, and 3D Graphs.
Features
Add Auto Scroller card carousel component
Introduced a new Auto Scroller view that displays a carousel of stylized wallet cards (metal black, metal white, and purple designs). The component automatically advances the top card every two seconds and supports manual swiping left or right to navigate, featuring asymmetric slide transitions, a page indicator, and a hint text for user interaction.
SwiftUI-Animations/Code/Common/Animations/Auto Scroller · high confidence
Add Card Swap and Scratch to Reveal animations
Two new interactive animation demos are now available in the SwiftUI-Animations library. The Card Swap feature lets users drag a stack of credit cards to cycle them, with a toolbar button to toggle between a stacked wallet view and a fanned-out layout. The Scratch to Reveal feature allows users to drag across a black cover to expose a hidden image, with an auto-fading timer that gradually hides the revealed area and controls to pause the fade or reset the drawing.
SwiftUI-Animations/Code/Common/Animations/Cards Swap, SwiftUI-Animations/Code/Common/Animations/Scratch to Reveal · high confidence
Add Circular Download animation with liquid fill and progress ring
A new CircularDownloadView component has been added to the SwiftUI-Animations library, featuring a circular progress indicator that simulates a download with a rising liquid wave fill, a morphing download arrow, and a draw-in checkmark upon completion. The view includes a toolbar reset button and guards against progress overshoot by preventing re-initiation while a download is in progress, providing a self-contained demo of state-driven animations.
SwiftUI-Animations/Code/Common/Animations/Circular Download · high confidence
Add Colorful Heatmaps component
A new SwiftUI view displaying a GitHub-style yearly contribution heatmap is now available. Users can browse activity data by selecting different years via a toolbar menu and customize the visual appearance by choosing from three color palettes (Emerald Matrix, Sky Blue Grid, Violet Pulse). The component supports accessibility features like reduced motion and includes interactive day selection.
SwiftUI-Animations/Code/Common/Animations/Heatmaps · high confidence
Add TextSwirl interactive animation view
Introduces a new TextSwirlView component that displays a list of words arranged in a circular layout. Tapping the view triggers a chaotic 'swirl' animation where words scatter randomly and a keyword is highlighted in the center, while a reset button returns the layout to its neat circular state.
SwiftUI-Animations/Code/Common/Animations/TextSwirl · high confidence
Add asset images and custom fonts to the app bundle
The app now includes several new image assets (axis, charmeleon, face, landing1, mastercard, medium, visa, and cart variants) and registers the ClashGrotesk font family (Bold, Extralight, Light, Medium, Regular, Semibold) via the Info.plist, making them available for use in the interface.
SwiftUI-Animations/Resources · high confidence
Add interactive light bulb animation with brightness control
A new vector-style hanging light bulb animation has been added to the SwiftUI-Animations library. Users can tap a power button to toggle the bulb on and off, which triggers a warm background glow and a scale-up effect. When lit, an arched CurvedSlider appears, allowing users to drag a knob to adjust the bulb's brightness, which dynamically scales the background tint and the intensity of the bulb's glow. The implementation includes support shapes for the bulb silhouette and filament, and adapts its UI controls for iOS 26+ using Liquid Glass effects, falling back to material-backed controls on earlier versions.
SwiftUI-Animations/Code/Common/Animations/Light Bulb · high confidence
Add interactive text bouncing animation
Users can now interact with text where each character bounces and changes color when touched or dragged. This new feature includes a 'Text Bouncing' view that allows users to type custom text or cycle through preset phrases, with haptic feedback provided on interaction.
SwiftUI-Animations/Code/Common/Animations/Text Bouncing · high confidence
Added interactive Cards Shuffle animation component
Introduced the CardsShuffleView component, which displays a stack of cards with a 3D depth illusion created by scaling and offsetting rear cards. Users can drag the top card upward; if the drag exceeds a threshold, the card shuffles to the back of the stack with a spring animation, otherwise it snaps back to its original position.
SwiftUI-Animations/Code/Common/Animations/Cards Shuffle · high confidence
Added snap carousel with haptic feedback for bank card selection
A new SnapCarousel component has been introduced to the Bank Card animation module, enabling users to swipe horizontally through a series of cards with snap-to-center behavior. The implementation includes a shared UI state model to synchronize the active card index across views, live drag translation for rubber-band visual feedback, and medium-intensity haptic impacts triggered whenever the user swipes past a 50-point threshold to change the selected card. The carousel calculates card dimensions based on screen width and ISO 7810 aspect ratios, ensuring consistent sizing across devices.
SwiftUI-Animations/Code/Common/Animations/Bank Card · high confidence
Adds haptic feedback, semantic colors, and Clash Grotesque font support
The app now includes tactile feedback for user interactions via a new HapticManager that triggers success, error, warning, selection, and impact vibrations. A centralized Colors utility provides semantic color definitions (such as chat, Wi-Fi, and like button palettes) with support for adaptive system themes and hex-string initialization. Additionally, the Clash Grotesque font family is now available through FontManager, allowing views to use specific font weights like extralight, light, regular, medium, semibold, and bold.
SwiftUI-Animations/Code/Utils · high confidence
Interactive 3-D Graph with theme-adaptive styling
The 3-D Graph component now supports interactive manipulation, allowing users to drag individual bars up or down to adjust their height in real time. The visualization also adapts to the system appearance, automatically switching between lighter pastel tones in dark mode and deeper, more saturated colors in light mode to ensure legibility across both themes.
SwiftUI-Animations/Code/Common/Animations/3D Graph · high confidence
Introduce ShaderItem model with new Fluid Grain shader
The app now includes a new 'Fluid Grain' shader effect, which is marked as new and appears first in the Shaders list. The underlying data model (ShaderItem) has been updated to support this addition, including the definition of shader categories (effect, filter, transition) and navigation destinations for various shader demos such as Burn Effect, Pixel Appear, Ember Reveal, Wave Ripple, Chromatic Aberration, Halftone, and Glitch.
SwiftUI-Animations/Code/Features/Models · high confidence
New Metal shader effects for image distortion and stylization
The Shaders module now includes several new visual effects implemented in Metal and exposed via SwiftUI views. Users can apply a Chromatic Aberration effect that splits RGB channels radially, a Glitch Effect that creates horizontal band corruption and scan-line flashes, a Halftone effect that renders images with newspaper-style ink dots, and a Wave Ripple effect that distorts images with expanding rings from a touch point. Additionally, an Ember Reveal shader animates an image burning into view from the center, a Pixel Snap effect transitions an image into large pixel blocks, and a Fluid Grain shader provides an animated, smoky background with a film-grain overlay and a color-picker toolbar to change the glow tint in real time.
SwiftUI-Animations/Code/Common/Shaders · high confidence
New Shader Gallery with Category Filtering and Search
Users can now browse and preview a collection of visual effects through a new Shader gallery. This view introduces category-based filtering via horizontal chips, full-text search, and a layout that prioritizes newly added shaders at the top. The gallery includes support for eight specific effects: Burn Effect, Pixel Snap, Ember Reveal, Ripple Effect, Chromatic Aberration, Halftone, Glitch Effect, and Fluid Grain, each presented with a dedicated card view.
SwiftUI-Animations/Code/Features · high confidence
New Shaders tab with Ember Reveal effect and category filtering
A new Shaders tab has been added to the app, featuring a browsable list of shader effects that can be filtered by category using horizontal chips and searched by name. This view introduces the Ember Reveal shader effect alongside the existing Burn Effect, allowing users to navigate to detailed views of each animation. The interface includes smooth spring animations for category switching and search filtering, with a dedicated toolbar layout for iOS 26.0+ that hides the shared background.
SwiftUI-Animations/Code/Features/Shaders · high confidence
New home screen with category filtering, search, and new-item prioritization
The app now features a dedicated Home screen that displays available animations and components in a grid layout. Users can filter items by category (Animation, Loader, Component) using horizontal chips, search for specific items by title, and see the most recently added items (marked with a NEW tag) surfaced at the top of the list. Tapping a card navigates to the corresponding animation detail view.
SwiftUI-Animations/Code/Features/Home · high confidence
Removals
Removed AddCartView animation component
The AddCartView component, which previously displayed an animated 'Add to cart' button with cart movement and bounce effects, has been removed from the application.
SwiftUI-Animations/Cart · high confidence
Behavioural changes
45 commits (5 fixes) modifying SwiftUI-Animations.xcodeproj/project.xcworkspace/xcuserdata/shubham.xcuserdatad
A change to existing behaviour in SwiftUI-Animations.xcodeproj/project.xcworkspace/xcuserdata/shubham.xcuserdatad — 45 commits (5 fixs), 1 file.
(repo-wide) · medium confidence · unverified
5 commits (1 fix) modifying SwiftUI-Animations/Code
A change to existing behaviour in SwiftUI-Animations/Code — 5 commits (1 fix), 1 file.
SwiftUI-Animations/Code · medium confidence · unverified
Added worktree configuration for hide-tabbar feature
The .claude directory now includes a new worktree entry for the 'hide-tabbar' feature, pointing to a specific subproject commit. This indicates that the project structure has been updated to support a separate worktree for managing changes related to hiding the tab bar, likely to isolate development or testing of this specific UI behavior.
.claude · medium confidence
App entry point switches to a tabbed interface with a dedicated Shaders tab
The application's root view has changed from the previous single-screen layout (which displayed the YinYang animation) to a new \RootView\ featuring a \TabView\. This new interface includes a Home tab and a new Shaders tab, allowing users to navigate between different animation demonstrations. The \SceneDelegate\ now instantiates this \RootView\ as the window's content, and the underlying navigation state is managed by an \AppCoordinator\ to preserve context when switching tabs.
SwiftUI-Animations/Code/Controllers, SwiftUI-Animations/Code/Features/App · high confidence
Introduce tab-based navigation with AppCoordinator and Router system
The app now uses a tab-based navigation structure managed by an AppCoordinator and a new Router system. This change centralizes navigation logic, allowing views to push destinations via a Router instance rather than constructing NavigationLink values directly, which keeps navigation state out of view bodies and supports per-tab navigation stacks.
SwiftUI-Animations/Code/Navigation · high confidence
Project governance and documentation overhaul
The repository has been restructured to support a more professional open-source workflow. This includes adding a comprehensive CONTRIBUTING guide with specific instructions for adding new animations, a CODE\_OF\_CONDUCT (Contributor Covenant v2.1), a SECURITY policy for responsible vulnerability reporting, and a CHANGELOG tracking changes. The README has been revamped to reflect the new folder structure (Code/Common/Animations, Code/Features, Code/Common/Shaders), updated to require iOS 17.0+, and now features a polished gallery with demo GIFs. Additionally, a .gitignore file has been added to exclude Xcode build artifacts and user-specific settings.
(repo-wide) · high confidence
Project structure updated to Xcode 15 and organized with new animation components
The Xcode project has been upgraded to object version 70 (Xcode 15) and now includes a comprehensive set of new SwiftUI animation views and supporting files. This update adds numerous loader and interaction components—including Yin-Yang, Octocat, Book, Card, and Circle loaders—along with a new HomeView for navigation, a Router for tab-based navigation, and Clash Grotesk fonts. The project also introduces file-system synchronization groups for specific animations like Text Bouncing and Circular Download, and removes the legacy AppDelegate and SceneDelegate files in favor of the new lifecycle structure.
SwiftUI-Animations.xcodeproj · high confidence
Yin Yang theme switcher animation now forces light mode
The Yin Yang theme switcher animation view now explicitly locks the color scheme to light mode, ensuring the visual effects (such as the expanding ripple and symbol contrast) render correctly regardless of the host application's system theme. Previously, inheriting a dark mode could invert colors and hide the animation details; this change guarantees the intended light-themed appearance is always displayed.
SwiftUI-Animations/Code/Common/Animations/YinYang-Toggle · high confidence
Fixes
3 commits (2 fixes) fixing SwiftUI-Animations/Code/Common/Animations/Like
A fix in SwiftUI-Animations/Code/Common/Animations/Like — 3 commits (2 fixs), 9 files.
SwiftUI-Animations/Code/Common/Animations/Like · medium confidence · unverified
Housekeeping
Updated local Xcode user preferences and breakpoints
This change updates local developer-specific configuration files within the project. It adds a new symbolic breakpoint configuration for the debugger and modifies the scheme management settings to suppress auto-creation of a specific buildable target. These are local IDE settings that do not affect the application's source code or behavior for other users.
SwiftUI-Animations.xcodeproj/xcuserdata · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 49 → 51 (+2.6)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 98 → 93 (-5.3)
- Architecture 80 → 92 (+12.2)
- Maturity 58 → 63 (+4.9)
- Readiness 21 → 21 (+0.0)
- Security 100 → 100 (+0.0)
Resolved (5)
- Duplicated block (23 lines × 2) (SwiftUI-Animations/Code/Common/Animations/DownloadButton/DownloadStateView.swift)
- Hotspot: SwiftUI-Animations/Code/Features/Home/HomeView.swift (SwiftUI-Animations/Code/Features/Home/HomeView.swift)
- No ADRs found
- No tests found
- Projects may be oversized for their cohesion
New (20)
- Edited copies of one member (3 members, 10+ corresponding lines) (SwiftUI-Animations/Code/Common/Animations/Bank Card/Support Shapes/CardPatternOneView.swift)
- Edited copies of one member (3 members, 11+ corresponding lines) (SwiftUI-Animations/Code/Common/Animations/3D Graph/ThreeDGraphView.swift)
- Edited copies of one member (3 members, 11+ corresponding lines) (SwiftUI-Animations/Code/Common/Animations/Cart/SupportShapes/Tick.swift)
- Edited copies of one member (3 members, 29+ corresponding lines) (SwiftUI-Animations/Code/Common/Animations/Octocat-Wink/Support Shapes/OctoHead.swift)
- Edited copies of one member (3 members, 35+ corresponding lines) (SwiftUI-Animations/Code/Common/Shaders/ChromaticAberration/ChromaticAberrationView.swift)
- Edited copy of a member (11 corresponding lines) (SwiftUI-Animations/Code/Common/Animations/Circular Download/Support Shapes/DownloadWaveFill.swift)
- Edited copy of a member (11 corresponding lines) (SwiftUI-Animations/Code/Common/Animations/LoginView/Support Shapes/RoundedTriangle.swift)
- Edited copy of a member (12 corresponding lines) (SwiftUI-Animations/Code/Common/Animations/Loader/LoaderState.swift)
- Edited copy of a member (18 corresponding lines) (SwiftUI-Animations/Code/Features/Home/HomeView.swift)
- Edited copy of a member (26 corresponding lines) (SwiftUI-Animations/Code/Common/Animations/Auto Scroller/Views/Support Shapes/MetalCard.swift)
- Edited copy of a member (27 corresponding lines) (SwiftUI-Animations/Code/Common/Animations/Auto Scroller/Views/Support Shapes/CardWhite.swift)
- Edited copy of a member (27 corresponding lines) (SwiftUI-Animations/Code/Common/Animations/Auto Scroller/Views/Support Shapes/WalletCardView.swift)
- Edited copy of a member (28 corresponding lines) (SwiftUI-Animations/Code/Common/Animations/Light Bulb/Support Shapes/BulbSilhouette.swift)
- Edited copy of a member (29 corresponding lines) (SwiftUI-Animations/Code/Features/Home/Views/Support Views/AnimationCardView.swift)
- Edited copy of a member (3 corresponding lines) (SwiftUI-Animations/Code/Common/Animations/PillLoader/Support Shapes/Pill 2.swift)
- Edited copy of a member (38 corresponding lines) (SwiftUI-Animations/Code/Common/Shaders/EmberReveal/EmberReveal.swift)
- Edited copy of a member (49 corresponding lines) (SwiftUI-Animations/Code/Features/Home/HomeView.swift)
- Edited copy of a member (7 corresponding lines) (SwiftUI-Animations/Code/Common/Animations/PillLoader/Support Shapes/Pill 2.swift)
- Edited copy of a member (8 corresponding lines) (SwiftUI-Animations/Code/Common/Animations/BookLoader/BookLoaderView.swift)
- No ADRs found (SwiftUI-Animations.xcodeproj/project.pbxproj)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
Shubham0812/SwiftUI-Animations was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 494a363523019961e52f91bb81c77fe258aa952e — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.