p5.popup.js
p5.js simple popup library used for displaying instructions for sketches
by oran collins
github.com/wisehackermonkey
oranbusiness@gmail.com
20200629
Live Example
P5.js live editor
P5.js live editable version
CDN Example
CDN links
How to use CDN links
Add one of the following two CDN options to your p5.js sketches html file
Replace X.X.X with the latest version number
OR
<link rel="stylesheet" type="text/css" href="style.css"> <meta charset="utf-8" /> </head> <body> <script src="sketch.js"></script> </body></html>
Brain storm
inital idea
p5.js popup for instructions on how to play game, mobile and desktop friendly
add: one liner
example
//have templates for common input types
example v2
//have templates for common input types
publish npm package
npm version patch
npm publish
how to publish local tag
Sharing Tags
git push origin v0.0.4
TODO
- github action minifiy
- auto lint
- todo add popupMode(BOTTOM)