How to save graphic from p5js to assets

well, i didn’t need to require path. i had the childprocess setup improperly so phantomjs was getting confused.

then i discovered another npm module that is a wrapper around phantomjs-prebuilt that uses await/async. got that running, so now i can keep hacking at it.

weird.