This project is a collection of examples on how to draw on canvas using p5.js and node.js. It uses Webpack to build and run the app.
The project creates a game called "Guess the number" which provides random number to be guessed by pressing the right keyboard key (Live demo).