Comon code snippets
List images inside folders
const glob = require('glob');
glob(path.join(SOURCE_FOLDER ,"**/+(*.jpg|*.jpeg|*.png|*.PNG|*.JPG)"), {}, (err, files)=>{
//do the things after glob done
});
SVG Paths
https://developer.mozilla.org/en/docs/Web/SVG/Tutorial/Paths
Draw circles
M 0 0, A $radius $radius 0 1 0 0 0.001 z
Last updated
Was this helpful?