Type
Tool note
Status
Active public repo note
Published
2026-04-30
Version
v0.1.0
Canonical URL
https://shanecurry.com/lab/tools/chewgum-time-chime/
Repository
github.com/chewgumlabs/ChewGumTimeChime/tree/v0.1.0
Live toy
Stroke Chime
Related project
ChewGum Animation
External implementation
Migration by Shelly Xiong

ChewGumTimeChime v0.1.0 is a small public browser harness for comparing stroke smoothing algorithms through timed chimes. A live pointer stroke becomes a smoothed visual trail, high chime events, a low held-note phrase, and a faint air layer.

DEFAULT_SMOOTHING_MODES
Three bounded smoothing contracts: 1/10 Point, Clocked Bands, and Heavy Drag.
smoothPoint(previousPoint, rawPoint, alpha)
Exponential point smoothing used by the live drawing example.
shouldTriggerNote(...)
Point-count and clocked note-trigger helpers for turning smoothed motion into timed events.
pickRandomNote(...)
Selects random notes from a one-octave C major set.
phraseNoteForIndex(...)
Selects the low F / C / A / F held-note channel in ten-chime blocks.
airNoteForIndex(...)
Schedules the upper air phrase after a low-phrase loop: A5, G5, then fading E5.
TimeChimeAudio
Browser Web Audio output for high chimes, low drone, air layer, panning, and limiter-protected master output.
  • No private ChewGum Animation internals.
  • No stroke dataset.
  • No storage or upload behavior.
  • No claim that the three smoothing modes are exhaustive.
  • No framework wrapper.
  • No npm publication claim; this page only claims the public GitHub repository and v0.1.0 tag.

The library exists because the live toy needed the smoothing contract to be explicit. Once the toy worked, the reusable part became small enough to name: smoothing modes, note scheduling, pitch selection, and browser audio output.

The canonical live demo is Stroke Chime. This tool note is the repo-backed extraction surface; the toy page is the experiential citation surface.

Migration is a browser rhythm game by Shelly Xiong. Its public itch.io page credits ChewGum Time Chime as the audio toolkit and credits Shane Curry's music for the campaign soundtrack.

Game
Migration
Creator
Shelly Xiong
Implementation status
External implementation of the repo-backed ChewGumTimeChime tool, based on Migration's public audio-tool credit.
Music context
Music — Shane Curry

This is dependency-free ESM with no build step. The public repository contains the source, MIT license, README, browser drawing example, tests, and v0.1.0 tag.

import {
  DEFAULT_SMOOTHING_MODES,
  TimeChimeAudio,
  airNoteForIndex,
  phraseNoteForIndex,
  pickRandomNote,
  smoothPoint
} from './src/index.js';

The package name appears in the source metadata, but the public claim here is limited to the GitHub repository and tag.

Shane Curry / ChewGum Labs, "ChewGumTimeChime v0.1.0," https://shanecurry.com/lab/tools/chewgum-time-chime/, published 2026-04-30.