I didn't run into any extreme problems. Mostly, the problems were centered around making a certain error code go away that kept popping up when I would try to establish integers.
I was setting up my numeric random values such as "float x = random (1, 255);" but I kept getting an error. So I had to make the code realize that it was supposed to establish it as an integer within the line, so I changed it to say "int x = int (random (1, 255));" to solve the problem.
In the beginning, I was messing with the code a lot to try to get it to give me different colors
from the available values 1-255, but I didn't like it as it seemed to be a mismatch to me:
So I eventually looked up if processing could utilize a color palette and made use of that code, to which I was able to get the analogous red colors. But I wanted to also mess with the opacity for the colors which led me to this black and white version:
not my favorite, as it got rid of the color data, so I had to fiddle with it a bit as well.
No comments:
Post a Comment