This is the code for algo2 final project. Add some feature based on the previous project from previous student: https://github.com/mgold/Melkmans-Algorithm-Visualized
To run the project locally,
you can either use npm install && browserify melkman.js -o bundle.js && wget http://d3js.org/d3.v3.js
and open index.html with the Live Server extension on VSCode,
or you can run without an IDE: after running npm install && browserify melkman.js -o bundle.js && wget http://d3js.org/d3.v3.js
, run sudo npm install http-server -g
and then run http-server
.
Note that npm, browserify and wget are need to be pre-installed:
•if you haven't install npm, you can install it on https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
•if you haven't install browserify, here is the instruction: https://browserify.org/#install
•if you haven't install wget, here is the instruction for mac homebrew https://stackoverflow.com/questions/33886917/how-to-install-wget-in-macos
•if you have access eror, try add sudo
before the command.