# charmbracelet/harmonica

A simple, physics-based animation library 🎼

Repository: https://github.com/charmbracelet/harmonica
Canonical: https://ross.abutalabs.com/products/harmonica
Language: Go
License: MIT
License Family: permissive
Topics: go, animation, physics, golang, game-development, hacktoberfest
Last push: 2026-08-13T10:56:52+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 8, longevity 100
- inputs: {"age_days": 1882, "days_push": 20, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1603, forks 42 (observed 2026-08-28T04:05:09.859112+00:00)

## What it is
Harmonica is a small, physics-based spring animation library for Go. It provides smooth, natural motion for 2D/3D contexts, game engines, and terminal UIs via a simple NewSpring/Update API.

## Use cases
- animate sprites with spring physics in a Go game
- add smooth motion to terminal UI animations
- implement natural easing for UI elements in Go
- animate camera or object positions in 2D/3D
- create bouncy, springy transitions in a Go application

## When to choose
- you need physics-based spring animation in Go
- you want a tiny, framework-agnostic animation library
- you're building games or TUIs with Charm libraries and want natural motion

## When to avoid
- you need keyframe or timeline-based animation systems
- you're not working in Go
- you need CSS/DOM animation for the web

## Facets
- artifact type: library
- maturity: stable
- function: animation
- domain: graphics, web-development
- platform: go, cross-platform
- tags: spring-animation, physics-based, tui, game-development

## Member repositories
- charmbracelet/harmonica (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:09.859112+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:52:22.837313+00:00, confidence not recorded.
  - readme: https://github.com/charmbracelet/harmonica (fetched 2026-08-28T04:05:09.859112+00:00, sha fbaef76e9bed)
- Data as of 2026-08-30T08:39:29.467469+00:00.
