We are about to switch to a new forum software. Until then we have removed the registration on this forum.
the last few days i've been struggling to create a website that exports a generative artwork directly to my server as an .SVG.
my first attempt with P5.SVG: (https://github.com/zenozeng/p5.js-svg/blob/master/doc/getting-started.md didn't succeed, because the custom SVG canvas that is being used can't be allocated to a specific parent for example.
then i stumbled across this post from september 2014 by Lauren: https://forum.processing.org/two/discussion/7315/how-to-export-pdf-or-svg-from-p5js. and tried my luck with this example from Rune Madsen: https://github.com/runemadsen/p5-svg-test
This works! working example of my website: fiftylab.be/paradisebirds
except ... it is only supported up to p5.js 0.4.5. in my new example, I need functionality of the newer versions of p5.js : fiftylab.be/littlerascals This example seemingly works, but the exported .svg is empty. everything, except the p5.js version (and off course the sketch) is the same.
my question is: do any of you know how to update the p5.svg file of the example of Rune Madsen to work with the newer versions of p5.js ?