using nbb from @borkdude and node-canvas to generate PNGs by scripting #ClojureScript #clojure

just do

npm install nbb canvas

create draw.cljs file with the code below and run

npx nbb draw.cljs

as a bonus you can start an nREPL by running

nbb nrepl-server :port 1337

then connect your favourite editor for interactive development 🎉