unicode_animations 1.1.0
unicode_animations: ^1.1.0 copied to clipboard
Unicode spinner animations (Braille + procedural). Pure Dart.
1.1.0 #

New spinners #
3 new procedural generators ported from esceptico's CodePen:
pendulum— swinging pendulum wave (120 frames, 10 chars)compress— data compression visualization (100 frames, 10 chars)sort— sorting visualization with sweep cursor (100 frames, 10 chars)
New public API #
brailleBase— Braille character base codepoint (U+2800)dotBits— dot bit map for direct Braille bit manipulation
1.0.1 #
- Added
example/example.dartso the package example is detected by pub.dev (Improve pub.dev score) - Updated demo.gif to better preview available animations.
1.0.0 #
Initial release — pure Dart port of the unicode-animations TypeScript library.
Features #
Spinnerclass withframes(List<String>) andintervalInMs(intms)BrailleSpinnerNameenum for all 18 available spinnersSpinner.of(BrailleSpinnerName)— non-nullable lookup shortcutspinners— pre-computed, unmodifiableMap<BrailleSpinnerName, Spinner>- All 15 procedural generators accept an optional
intervalInMsparameter for custom timing makeGrid/gridToBraillehelpers for building custom Braille animations- Zero dependencies (pure Dart, SDK ^3.3.0)
Spinners included #
3 hardcoded spinners:
braille— classic Braille dot cyclebrailleWave— rolling wave across the dot griddna— double-helix Braille pattern
15 procedural generators:
scan— vertical bar sweeping left-to-rightscanLine— full-row horizontal scanpulse— radial pulse expanding from centerbreathe— smooth breathing rhythmorbit— dot orbiting the perimeterrain— dots falling downwardsnake— winding snake pathhelix— interleaved helix strandscascade— cascading column fillscolumns— independent column animationswaveRows— sine-wave row animationfillSweep— diagonal fill-and-clear sweepdiagSwipe— diagonal wipe transitioncheckerboard— alternating checkerboard patternsparkle— random twinkling dots