Skip to content

hchiam/draw-with-mouse-and-spacebar

Repository files navigation

draw-with-mouse-and-spacebar

No pen? No problem! Draw by moving the mouse and hitting spacebar to toggle.

Live demo: https://codepen.io/hchiam/full/JjXOxwd

Alternate live demo: https://draw-with-mouse-and-spacebar.surge.sh

Or just run this in your browser console, or as a bookmarklet: https://github.com/hchiam/draw-with-mouse-and-spacebar/blob/master/jamboardRemap.js

You can also toggle drawing with any of these keys: Ctrl, Command, Enter.

Local development

Run demo from within this repo using yarn:

yarn
yarn start

(If you don't use yarn, edit the package.json "scripts" section.)

Deploy

yarn demo

About

Got no touchpad/pen? Draw by moving the mouse. Hit spacebar to toggle. https://codepen.io/hchiam/full/JjXOxwd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published