Skip to content

ui-ce/algorithm-visualizer-04

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithm Visualization Framework

Algorithm Visualizer is a framework for recording, framing, and rendering algorithms.
It allows algorithm executions to be captured, transformed into frame-based animations, and rendered either as LaTeX/TikZ (PDF) or as interactive web components (Angular).

The framework is structured into three main layers:

  1. Recorder → Logs algorithm operations and events.
  2. Framer → Converts recorded events into sequential frames.
  3. Renderer → Renders frames as visual or interactive outputs.

📂 Repository Structure

root
├── dist/                         # Built versions of all modules (ready-to-use libraries)
├── docs/                         # Project documentation
│   ├── contracts/                # Recording & Animation contracts
│   └── ...                       # General project documentation
├── examples/                     # Example usage projects
│   ├── latex-examples/           # Example project using LaTeX renderer
│   └── web-examples/             # Example project using Angular web renderer
└── modules/                      # Source code of the framework
    ├── recorder/                 # Recorder layer implementation
    │   └── typescript-recorder/  # TypeScript recorder (implements recording contract)
    ├── framer/                   # Framer layer implementation
    │   └── typescript-framer/    # TypeScript framer (recording → animation contract)
    └── renderer/                 # Renderer layer implementation
        ├── typescript-angular-renderer/ # Angular web renderer
        └── typescript-latex-renderer/   # LaTeX/TikZ renderer

📦 Modules

Recorder

Captures algorithm events (array operations, graph updates, logs, etc.) in a standardized format.

Framer

Converts recorded events into a sequence of complete frames that describe the algorithm execution step by step.

Renderer

Converts framer animation output into a complete render for each frame.

Each implemented module contains its own README.md with details and usage instructions.


📑 Documentation

All documentation is in the docs/ folder:


🚀 Examples

Example projects are in the examples/ folder:


📦 Distribution

The dist/ folder contains the built versions of all modules for direct usage:

  • Typescript Recorder
  • Typescript Framer
  • Typescript Angular Renderer
  • Typescript LaTeX Renderer

📌 Development Strategy

  • Keep this README short and high-level.
  • Each module, example, and contract has its own dedicated README.md for details.
  • This way, contributors and users can navigate easily without one huge README file.

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •