An algorithm that adapts music visualizer colors by extracting and stretching the most frequent hues from song thumbnails, then smoothing them into a gradient.

Stars

38

7-day growth

No data

Forks

0

Open issues

0

License

No data

Last updated

2026-07-10

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It solves a real aesthetic problem in a custom music player with a simple, computationally efficient approach and is accompanied by a live coding session and visual gallery.

Who it is for

  • Music player developers
  • Visualizer and UI designers
  • Color algorithm enthusiasts
  • Game or multimedia app developers seeking dynamic theming

Use cases

  • Adapting visualizer colors to album art in real-time
  • Generating coherent color gradients from images
  • Building reactive UI themes based on cover artwork
  • Learning about hue extraction and smoothing techniques

Strengths

  • Proven in a real-world custom music player
  • Includes visual gallery showing consistent results
  • Algorithm is clearly explained with a reference C implementation
  • Open source with a live coding session for learning

Considerations

  • Currently tested only on Linux
  • Requires manual build from source (no pre-built binary or package)
  • Limited to hue processing; may not handle dark or low-saturation thumbnails well

README quick start

Quick Start

Description

Hue Stretch Algorithm we use in Sowon2 to adapt the color of the visualizer to the thumbnails of the currently playing songs

Related repositories

Similar projects matched by category, topics, and programming language.

Infatoshi
Featured
Infatoshi GitHub avatar

netherite

A from-scratch C/CUDA reimplementation of Minecraft 1.11.2 that is bit-verified against the original Java game and includes batched CUDA reinforcement learning support.

AI & Machine LearningLarge Language Models
231
nsdkinx
Featured
nsdkinx GitHub avatar

twell

Twell is a tiny, embeddable, zero-allocation physics engine for interruptible, Apple-style UI animations, available as a single-header C library with Python bindings.

MobileDesign & Creative
17
sqliteai
Featured
sqliteai GitHub avatar

waste

WASTE is a C-based inference engine that streams MoE experts from disk to run a 2.78 trillion-parameter model on a consumer laptop with 64 GB RAM.

Data & DatabasesData Engineering
14