Visualizing algorithms using Processing.js , part II

A quick update on the project:

So far I’ve created examples for

  • Stack
  • Queue
  • Cyclic Queue

Before I move on to other algorithms I started refactoring the existing code and reviewing the logic.
One of the tools I started to use was: requireJS
I refactor and restructured the stack example to load all its dependencies with requireJS.
The idea is to reuse some code between all the examples, and requireJS will definitely help on that

You can check a live example here
GitHub Repo
What’s next?

  • Refactor Queue and Cyclic Queue
  • Use requireJS to load files for Queue and Cyclic Queue
  • Blog :)

Next ->

Visualizing algorithms using Processing.js

As part of one assignment for the BTC640 – Multimedia Presentations class, I have to create a visual representation of some algorithms using Processing.js.

The list of algorithms includes:

  • Stack
  • Queue
  • Cyclic Queue
  • Singly Linked List
  • Bubble Sort
  • Selection Sort
  • Insertion Sort
  • MinHeap

So far I started working on the Stack, Queue and Cyclic Queue algorithms.
You can check the code on github

I’ll keep posting updates with the work in progress.

Stay tuned! :)

Next ->