Skip to content

Repository files navigation

GlyphFun

Playground app for the Glyph Matrix (13×13 LED grid) on the Nothing Phone (4a) Pro, built on Nothing's official Glyph Matrix Developer Kit (app/libs/glyph-matrix-sdk-2.0.aar).

Features

  • Drawing playground — finger-paint a 13×13 grid mirrored live to the matrix; Rain / Random animations.
  • Conway's Game of Life — seeds from your drawing (or a random soup), wrap-around edges, fading trails, auto-reseeds when the colony stalls.
  • Glyph Toy (AOD) — a digital clock selectable in the system Glyph carousel.
  • Pomodoro — "Pomodoro" Quick Settings tile starts a 25+5 cycle shown on the matrix as a randomly dissolving field of pixels, mirrored on the in-app grid, with a progress bar in the notification and the app.

Architecture notes

  • GlyphLink — the one shared connection to the Glyph service. GlyphMatrixManager.getInstance() is a process-wide singleton, so no component may call unInit() on its own; everything pushes frames through GlyphLink.
  • The Glyph Toy service (GlyphClockToyService) returns a Messenger binder and redraws on GlyphToy.EVENT_AOD (~once a minute). The 4a Pro supports AOD toys only — no Glyph Touch.
  • PomodoroService is a foreground service (specialUse) holding a partial wakelock per phase.

Build & deploy

./gradlew assembleDebug
adb install -r app/build/outputs/apk/debug/app-debug.apk

Requires an Android SDK (platform 35) pointed to by local.properties.

About

Glyph Matrix playground for Nothing Phone (4a) Pro — drawing, Game of Life, AOD clock toy, Pomodoro on the LEDs

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages