3 ms·
Here is another interesting technique for generating algorithmic art, from Renato Budinich: https://renatobudinich.com/create-random-images-with-randimage/ http
by pncnmnp 3y ago
Here is another interesting technique for generating algorithmic art, from Renato Budinich: https://renatobudinich.com/create-random-images-with-randimage/ https://renatobudinich.com/create-random-images-with-randima....
It is a beautiful algorithm using a simple two-step procedure. The first step involves taking a random gray-valued mask image and applying the path-finding procedure of the Easy Path Wavelet Transform (EPWT) to it. This path-finding technique is greedy and aims to obtain a succession of vectorized pixel values with minimal variation. It does this by always picking the next point (among the available neighbors) that yields the minimum absolute value difference in pixel values. This approach helps it select regions with similar pixel values before making a jump to pixels with significantly lighter or darker regions.
Once a random path of say length N is obtained, a random color map (think of one from matplotlib or seaborn) is applied, with each point k in the path mapped to the k/N point in the color map. Et voilà! A gorgeous image appears.
I've been using this as cover art for my personalized radio station software (https://github.com/pncnmnp/phoenix10.1 https://github.com/pncnmnp/phoenix10.1).
- begueradj 3y agoInteresting those PDF files (links in the bottom).