Instantly share code, notes, and snippets.
Hide content and notifications from this user.
Learn more about blocking users
Contact Support about this user’s behavior.
Learn more about reporting abuse
npm install electron electron-rebuild serialport --save
npx electron-rebuild -f -w serialport
client code for sketch.js:
This workshop encourages students to make use of npm modules to build complex and interesting artworks.
If you find a module you want to use, like riso-colors, you can install it from your project folder like so:
npm install riso-colors
Copy these files in the gist to a new folder. Generate a package.json:
npm init -y
Then install deps:
npm install open
It should launch in full screen mode.