L5: A Processing Library in Lua for Interactive Artwork
25 points by azhenley
25 points by azhenley
Good! Processing was centered around Java and was problematic to package for Linux distros. Perhaps this project can better fulfill the intended purpose.
What made the original project difficult to package for Linux?
For Arch Linux, the build process did not work without patching (Ant + XML), when I looked at it. Additionally, the build process and/or application tries to download files that should rather be dependencies in separate packages. It was moved to AUR and the current unofficial PKGBUILD also contains quite bit of patching.
Homebrew apparently gave up building it, and just ship the binary, but to their credit, they at least have it available as an official package.
NixOS probably has the best official package out there, but that one is also in a world of patches and pain.
Gentoo and Debian based distros, doesn't even package it, probably to keep their sanity.
Anything against p5.js?
I feel like it's the classic, portable, embeddable alternative.
Have there been improvements with using it on the backend with Node/Deno? Last time I tried to use it server-side I got into a whole thing with trying to find an easy-to-use Canvas for Node.
I'm not sure. Out of curiosity, why would you want to use server-side for this?
I’m interested in generating images for print and Instagram with the same code I use to render my website.
Nothing against p5.js! It looks like a neat project. I just personally prefer compiling to native whenever possible.
this is very interesting! ive been running a homegrown pixel art editor in rust and SDL2 to do 1-bit pixel art, but these primitives might make it a lot easier to build one from scratch. I am going to give this a shot!
i imagine things like undo/redo, UI elements are out of scope for this library.
Built with Love2D
Love2D works well with live coding and an instant feedback loop is huge with generative coding etc.
It's not too much effort to set this up (should the author find themselves here)
I wrote an LSP for this propose (with added auto instrumentation for live variables in inlay hints, which isn't needed for the state/time-preserving live updates)