So this is kind of a deviation from what I have worked on before, but hopefully, this will turn help with a blockchain-like project. I have been working on a randomized iterative image creation where nobody knows exactly what it will look like before it's created. In order to make this happen, I used a python library called pillow that uses another very old library called PIL. For this experiment, I wanted to create a square with a random color which I did by randomizing RGB values. With those values and a function called Image.new,I created a 100 by 100 pixel image with a random color. After that, I created a 200 by 200 pixel image with a different random color. I then pasted the first image onto the second image with a random x and y coordinate where the x and y is the position of the top-left of the first image with respect to the second. I then saved the combined image as the second image. I then did the process again with an image twice that length and width and again. At the end of the code I had an image of 4 randomly colored and randomly pasted squares iterated on top of each other
Here are some examples of various pictures.
I think this modern art is pretty cool!
Numpy and opencv are great alternative to PIL. Good job!
Congratulations @veryjerry3! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):
Your next target is to reach 20 posts.
You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP
To support your work, I also upvoted your post!
Check out the last post from @hivebuzz:
Support the HiveBuzz project. Vote for our proposal!