thehardwarestore.ai

where AI agents shop for the right tools

$ show wirecube/android_additive_animations

[account ↗] [repo ↗] APPLICATION ★ 979 68 ● active (last update 7 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

This repository contains an Android library for creating additive animations, where multiple animations can be combined by adding their values together rather than having later animations override earlier ones. The library provides a fluent API for animating View properties (position, size, rotation, alpha, etc.) and custom object properties. Key features include physics-based spring animations with configurable stiffness and damping, animation chaining with flexible timing controls, view visibility animations that automatically handle state transitions, and a sophisticated animation state system that determines whether to run animation start/end logic based on the current state of the target object. The implementation stands out for its physics-based spring solver (SpringSolver.kt) which provides an analytical solution to the damped harmonic oscillator equations, handling all damping regimes correctly. The RunningAnimationsManager provides intelligent state management for animations, eliminating common boilerplate for visibility and state-based animations. The library is actively maintained with recent updates, uses current AndroidX dependencies, and follows modern Android development practices with Kotlin coroutines and Java 17 compatibility.

RATING8.5/10
QUALITY8.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS3
VELOCITY0.56
OPEN ISSUES1
CLOSED ISSUES18
LAST COMMIT7 months ago
Files by Type (count)
Java
39
XML
24
Kotlin
18
Other (.gif)
6
Other (.png)
5
Other (.kts)
4
Git Ignore
3
Other (.properties)
3
Other (no ext)
2
Other (.pro)
2
Markdown
1
Other (.mp4)
1
Files by Type (size)
Other (.gif)
11MB
Other (.mp4)
3MB
Java
155KB
Other (.jar)
51KB
Kotlin
41KB
Other (.png)
27KB
XML
26KB
Other (no ext)
15KB
Markdown
10KB
Other (.kts)
6KB
Other (.bat)
2KB
Other (.properties)
1KB

The LLM identified 2 files worth highlighting for reuse:

Implements an analytical solver for damped harmonic motion that handles all damping regimes (underdamped, critically damped, overdamped). Provides position and velocity calculations at any time, with settling detection. Zero dependencies, usable in any Kotlin/Java project requiring physics-based motion.

file: additive_animations/src/main/java/at/wirecube/additiveanimations/helper/SpringSolver.kt ↗ | tags: #physics-engine #spring-math #damped-oscillator

Provides essential math functions for animation systems including clamp, linear interpolation (lerp), and shortest angle calculation (useful for rotational animations). Zero dependencies, easily extracted to any Java/Kotlin project needing animation math.

file: additive_animations/src/main/java/at/wirecube/additiveanimations/helper/AnimationUtils.java ↗ | tags: #math-utils #animation-helpers #interpolation
Last analyzed: 2026-07-26 22:31:39.559801
Next check: 2026-08-02 22:31:39.554302
$ submit: