https://github.com/codenameyau/sorting-visualization
Sorting algorithms visualized with HTML5 canvas
https://github.com/codenameyau/sorting-visualization
Last synced: over 1 year ago
JSON representation
Sorting algorithms visualized with HTML5 canvas
- Host: GitHub
- URL: https://github.com/codenameyau/sorting-visualization
- Owner: codenameyau
- License: gpl-2.0
- Created: 2014-10-05T12:05:14.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-11T03:37:23.000Z (over 11 years ago)
- Last Synced: 2025-01-29T20:19:44.715Z (over 1 year ago)
- Language: JavaScript
- Size: 185 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
sorting-visualization
=====================
Sorting algorithms visualized with HTML5 canvas
**[Live Demo](http://codenameyau.github.io/sorting-visualization/)**
###Project Reflections
Doing this project in JavaScript was more challenging than expected.
Since JavaScript doesn't support `sleep` or `wait` due to its async nature,
the best option was to:
1. use on `setTimeout` and callbacks
2. convert iterative loops to recursive loops