Skip to content

AlgiViz 0.3.0

Choose a tag to compare

@urffin urffin released this 08 Oct 23:57

Changes

  • Add stable bubble sort with full-history and lazy generator APIs.
  • Animate adjacent swaps and highlight the sorted suffix; choose either algorithm in the demo with history or forward-only playback.
  • Share validation, immutable snapshots and operation counters between algorithms; document adding algorithms.

Compatibility

SortEvent adds swap and pass events. Consumers with exhaustive event switches must handle them. SortSnapshot adds optional sortedSuffixLength. Existing insertion-sort traces remain unchanged.

Validation

28 tests pass, including exhaustive repeated-value inputs and playback equivalence. All 2,186 traces match the pre-refactor baseline. The release tarball was installed in a separate consumer project and verified for ESM imports, both sorts, playback, renderer exports and TypeScript declarations.