These are a bunch of p5js sketches I make when I am feeling either bored or inspired, sometimes when I'm traveling or waiting for food. This also includes the code for some of my prints.
While this is meant to be an unstructured playground, I've tried to put common/reusable stuff into the lumic folder. There's a bunch of stuff that you may find useful like quadtree, line-circle clipping, etc, I don't actually remember what's in there - some of it might be broken. I might continue to add/change random stuff here and there.
Separate starter templates are available for rendering to canvas, WebGL or SVG.
Best way to run these sketches is using the Live Server VS Code extension.
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer
Or, you can use any local web server to serve the index.html page. You can comment/uncomment stuff here to pick which sketch you want rendered.
It's kinda fun making stuff with code.
I have included the p5 and p5-svg by zeonzeng (https://github.com/zenozeng/p5.js-svg) libraries so that I can code without an internet connection. Some free fonts are included as well.