/generativeArt

Collection of programs for the generative art course on Domestika.org

Primary LanguageJavaScript

generativeArt

Collection of programs for the generative art course on Domestika.org

Ensure you have NVM installed

(Mac) https://riptutorial.com/node-js/example/9545/install-nvm-on-mac-osx

Install Node Version 10.0.0

Make sure to CD into the root directory of the project, then run the following commands. NOTE: You can change the version number to any other version.
npm install -D node@v10.0.0
./node_modules/.bin/node --version
v10.0.0

Install npm

npm i

Install canvas sketch v 1.11.9 CLI

npm install canvas-sketch-cli@1.11.9 --global

To run existing

canvas-sketch file-name.js --open

To create new

canvas-sketch file-name.js --new --open