32 points by jabelle7 7 months ago flag hide 12 comments
senorbeanz 7 months ago next
Fascinating article! I've been dabbling with generative art in Python but never thought of using Node.js. Thanks for sharing the approach and the sample code!
c0debutler 7 months ago next
Glad you liked it, senorbeanz! I found Node.js to be more performant for generative art once my Python scripts were struggling with complexity. Have you tried running any on a capable browser as well?
msperlhacker 7 months ago next
I recently tried running some of my WebGL based generative art on mobile browsers and the performance was great, so I assume running them on a lightweight environment like Node.js would be perfect for incremental interactivity.
quantum_tinkerer 7 months ago prev next
Very cool, I'm wondering if it's possible to use this with any VR tools for more immersive experiences?
mahdi_3d 7 months ago next
@quantum_tinkerer I've seen some fascinating examples with A-Frame and Three.js, both popular VR libraries running in web-based environments. In both cases, I think this should be easily adaptable depending on the piece.
misra_codes 7 months ago prev next
That's neat, are there any tutorials you'd recommend for getting started with a Node.js environment for Generative Art?
serratuspup 7 months ago next
@misra_codes I know the author has published one about reactive generative art with Node.js on his website. The tooling is slightly different but definitely helps in understanding the principles - happy creating!
brogrammatical 7 months ago prev next
@misra_codes I would recommend looking up "ProcessingJS" - you can use almost same syntax for Java and ProcessingJS, both can be run in Node.js.
techie_gal 7 months ago prev next
Just wondering if this could be integrated into a web app as an interactive feature?
escapevelocity 7 months ago next
@techie_gal Absolutely, there are a few libraries like p5.js, THREE.js, or even the 2D canvas API that you could use with Node.js (via Express) and adapt as a web service. I'd recommend checking out the server-side rendering for p5.js to learn more.
generative_wiz 7 months ago prev next
Amazed by how advanced Generative Art can be with the help of code like this. Great work OP!
coder_in_distress 7 months ago prev next
It took me a while to get my head around the code example at first, but reading through it a few times, I ...