How have you made art with code?
from ExperimentalGuy@programming.dev to programming@programming.dev on 17 Feb 19:31
https://programming.dev/post/45919960
from ExperimentalGuy@programming.dev to programming@programming.dev on 17 Feb 19:31
https://programming.dev/post/45919960
I saw the post earlier about making maps using Python. I thought that was a really cool concept as I love seeing open art projects like that. Do you know any other projects that allow you to make art with code?
#programming
threaded - newest
I haven’t used it myself, but you might want to check out Processing.
Yep I used that in university for generative art. It was a lot of fun and actually got me into coding unlike many failed attempts before that.
I’ve fooled around with Processing a lot, and have used it and later (iirc) a C++ or C# library many years ago to do “programmatic” edits to images and photos I had taken.
Stuff like:
I’d come up with different ways to select portions of the image, different ways to place that back in, and different ways to combine the “pasted” section with original. I tossed together something like 30 different “formulas”, then would do like 10 runs of each one that had random elements, spit out the results into a folder of what ultimately was something like 300 “result” images, and then decide the five or so I liked the best.
Add in the fact that I really don’t have any clue how color math works so I wasn’t basing my ideas off anything but whimsy, and some occasional pre and post processing with both paint.net plugins and audacity (you can sometimes open images as raw binary, avoid the file header, apply audio effects, and save it as raw binary to still have an image but it often just makes a corrupt file).
Had a decent “glitch art” hobby going to keep me occupied in my free time.
I desperately need to find that old code again. I miss tinkering with it.
Unfortunately, the existing results are tied to a flikr account with connections to my real name, so I’d have to find the code and make more to share.
I did make some things using html canvas which I think can be considered art.
Ah, the real generative art, before ‘AI generative “art"’
You should look into shader art. Basically “drawing” using code that runs purely inside GPU. Which reminds me I recently found an artist that does this with code that fit within Twitter character limit. Sadly I can not remember the name rn.
I made a sorting algorithm visualizer.
sciactive.github.io/libsortjs/demo/
It’s not really any different than a lot of other sorting algorithm visualizers. It has some additional features, like different visualizations, but it doesn’t have sound.
I didn’t do it to make something better though, I did it to make it myself. I wanted to implement all of those sorting algorithms myself, which was very fun.
I don’t know if you consider that art, but I think it can be beautiful, so maybe.
(Btw, it will happily crash your browser if you try to sort an enormous list using a really inefficient algorithm, so be careful.)
My tattoos are all simulations I built and ran
I personally enjoy playing around with fractals - I’ve built several fractal rendering programs (this is the latest), and they are quite fun to play around with. While they are more art from math than art from code, there are a lot of creative things you can do in code to visualize different features of fractals - Inigo Quiles has great examples of this, as well as non-fractal procedural art such as SDFs.
Through trial and error on https://nudel.cc
Does writing SVGs by hand count?
Open-source projects to make music:
OK, it’s not code but still fun though.
ChucK is a “programming” language: https://chuck.stanford.edu/
strudel.cc