How kuldeepjambhulkar/nothing-glyph works
Nothing Glyph is a browser-based animated pixel-glyph display. The user cycles through registered modes with the left and right arrow keys; the animation loop evaluates the selected mode for each point in a generated circular grid and draws the resulting brightness on a canvas. The graph preserves the distinct grid, mode-selection, animation, and rendering responsibilities. Edges reflect the shown setup and runtime calls; animation dispatch is dynamic through the selected registry entry.
Main entry points: main.js Animation Loop · controller.js Arrow Controls · engine.js Animation Registry · grid.js Glyph Grid
Components 12
Display Runtime
- Animation Loop
src/main.js - Glyph Grid
src/grid.js - Canvas Renderer
src/renderer.js
Mode Selection
- Animation Registry
src/engine.js - Arrow Controls
src/controller.js
Animation Modes
- Clock Glyph
src/animations/time.js - Countdown Glyph
src/animations/countdown.js - Bottle Glyph
src/animations/bottle.js - Bounce Simulation
src/animations/bounce.js - Neural Sparks
src/animations/neuralSparks.js - Spiral Glyph
src/animations/spiral.js
Other components
- Keyboard User
Connections 12
- Keyboard User → Arrow Controls: presses arrows
src/controller.js - Animation Loop → Glyph Grid: generates grid
src/main.js - Animation Loop → Canvas Renderer: resizes and draws
src/main.js - Animation Loop → Animation Registry: registers and selects
src/main.js - Animation Loop → Arrow Controls: sets up controls
src/main.js - Arrow Controls → Animation Registry: advances registry
src/controller.js - Animation Loop → Clock Glyph: registers and dispatches
src/main.js - Animation Loop → Countdown Glyph: registers and dispatches
src/main.js - Animation Loop → Bottle Glyph: registers and dispatches
src/main.js - Animation Loop → Bounce Simulation: registers and dispatches
src/main.js - Animation Loop → Neural Sparks: registers and dispatches
src/main.js - Animation Loop → Spiral Glyph: registers and dispatches
src/main.js