Inspired by Grokking Algorithms and python-execution-trace, this project aims to reveal the mechanics behind algorithms via interactive visualizations of their execution. Visual representations of variables and operations augment the control flow, alongside actual source code. You can fast forward and rewind the execution to closely observe how an algorithm works. The same code that is displayed next to the illustration is also decorated using babel-plugin-trace-execution and executed to record the context at every step. Literally the same source file. Going back and forth between function execution (and call stack when algorithm uses recursion) is effortless. So is pausing and resuming. This project uses styled-jsx, but takes the idea of CSS-in-JS even further. Sizing, positioning and transition offsets are computed by JS, all before elements hit the DOM.

Features

  • Edge cases and optimizations are beyond the scope of this project
  • Visual representations of variables and operations augment the control flow
  • You can fast forward and rewind the execution to closely observe how an algorithm works
  • Visualizations are easy to follow
  • The featured implementations are chosen for their simplicity
  • Interactive algorithm visualizations

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Illustrated Algorithms

Illustrated Algorithms Web Site

Other Useful Business Software
Say goodbye to broken revenue funnels and poor customer experiences Icon
Say goodbye to broken revenue funnels and poor customer experiences

Connect and coordinate your data, signals, tools, and people at every step of the customer journey.

LeanData is a Demand Management solution that supports all go-to-market strategies such as account-based sales development, geo-based territories, and more. LeanData features a visual, intuitive workflow native to Salesforce that enables users to view their entire lead flow in one interface. LeanData allows users to access the drag-and-drop feature to route their leads. LeanData also features an algorithms match that uses multiple fields in Salesforce.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Illustrated Algorithms!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Algorithms, JavaScript Data Visualization Software

Registered

2022-02-24