I haven an assignment where I have to modify the pixels of famous images in order to reveal them. However, I'm a beginner and our teacher doesn't tell us what things we could do. The assignment is
here, and it's pretty basic. I have all the photos uploaded into my sketch. Please help!
I have an assignment where I have to put an image in Processing, then change the RBG values of it to reveal the picture. I have the code figured out, but I don't know WHERE to put the image. I've tried saving it in the same folder that the .pde file is in, but it doesn't recognize the image. Any help? Note: I'm using a Mac.
I'm trying to draw a checkerboard that alternates black and white.
I have to use loops, so this is what I have so far:
for(int i=200; i>100; i= i-10){
rect(5, i, 10, 10);
}
So my questions are:
1. How do I change the Y value after each row is completed, so it creates multiple rows. (I'm guessing with nested loops, but I don't know how to use them.)
2. How can I alternate black and white squares in the rows?
I'm in a beginner programming class, and our assignment is to create basic drawings using loops. I'm trying to recreate
this picture. I have a few question:
For the colored circle drawing, how do I add the color? I got the shape but can't figure out how to add the color.
In the third drawing (going clockwise from the top left), how do I do that? I'm completely lost on that one.
How do I create multiple rows of squares? Such as the checker board?
In addition, how do I add color to those rows of squares? Specifically, the checker board and random color grid.
With the oval on the bottom left, how do I create that? Whenever I try to do it, it comes out as a weird circle. How do I change the X AND Y variables in a loop to create that oval?
Sorry for all the questions, but I bet for an experienced person these will be a piece of cake. Thank you for taking the time to read this, and please help if you can!
Note: I've use 'for'' loops for most of the drawing, if that helps you.