added key control
pretified the "for"s in calc()
added rainbow colors
lowered default iterations
added instructions
added needed assets for npm
added code to main and extracted the pure math
extracted color functionality
added npm-debug.log to .gitignore
extracted def and grid calculations
extracted input functions
cleaned up main file