Midterm 1

For the midterm project, I decided to do the project called “Create your own Mondrian”. The idea is based on Piet Mondrian’s art pieces “Composition with Red, Blue, Yellow”. Since this series contains only grids and color blocks, I want my project to be created different images with these elements by changing the position and color. People will interact with mouse click to change the position of the intersection points and key pressed to change the color. The color I choose Mondrian’s red, blue, yellow, black and white.

Skills to realize: set variables, random, key pressed, mouse pressed.

Difficulties: random from limited choice(array?)

Midterm Part 1

For my midterm project, I am attempting to make an interactive portrait of the city in 3D. The idea is that the user can control the time of day through sliding the mouse from left to right (left is day, right is night). The sun eventually turns into the moon as the day ends. The user is able to create buildings by clicking, as well as streetlights by pressing a key. At the moment these functionalities have not been implemented, as I still need to create the building and streetlight class. I also would like to create clouds for the daytime and stars for the night. I drew inspiration from this sketch, this sketch, and this sketch on open processing. I have been very interested in perspective drawing lately and felt that this would be an interesting opportunity to try perspective drawing through code. I will most likely be using arrays to create star and cloud objects. I have never made anything in 3D before, so will need to learn how to render all of the shapes in 3D, as well as how to light the scene to give it more of a sense of depth. The most challenging part of this will most likely be giving the user freedom to create the buildings where they would like to, and it still looking right. Because it is a perspective drawing, the scale/size of the buildings will be different based on where they click. At the moment I plan on only allowing control in the x direction as to where the building is and the rest will be done by the computer. My code isn’t functioning correctly in open processing as it is in Processing, but here is the link:

https://www.openprocessing.org/sketch/513463

midterm part 1

My goal is to create a unique matrix rain simulation. I have started by simulating the effect of the matrix rain using classes and random number and character creation inside of a loop the give the effect of letters falling down the screen. I still need to iron out the fading of the letters and make the “rain” more concrete but i have the basic form down. However I want to add a interaction to simulate the start of entering the matrix. it would look as if the letters have frozen and then a zoom in effect like warp drive from star wars would occur. I still do not know how to make this happen so if anyone had an idea as to how to do this it would be greatly appreciated.

https://www.openprocessing.org/sketch/513316

Midterm 1

For my project, I would like to make a rain cloud that is perpetually raining. Ideally, I’d like to have the composition so that when clicked, the background flashes like a lightening storm. Additionally, lightning will flash out of the clouds. The colors will be mostly gray and black, but the background will alternate quickly between white and black to mimic lightning. I might also add sounds for the thunder, if we delve deeper into that during class. I haven’t decided yet if I would like the precipitation to just be rain, or if I will include other forms of weather like snow or possibly something even grander like a hurricane. I might add more elements to the landscape like a tree for example, since I would like to learn how to use classes in my code to generate/organize elements in my sketch. I would love to get more familiar with using loops, and would probably incorporate that to construct my rain drops iterations.

link to sketch: https://www.openprocessing.org/sketch/513122

Midterm Project

The inspiration for my midterm project comes from the research I did for the Research Project.  Using the work of Stan Vanderbeek and Ken Knowlton, I want to use bright, contrasting, and flashing colors to simulate and Electronic Dance Music (EDM) stage backdrop.

While I would ideally like to have the stage be mapped to an input of sound, for now I will use the keyboard and mouse.  The stage will light up according the the height of the mouse on the y-coordinate and change colors according to keys pressed. I will need to create objects and loops to print ellipses, and functions and loops in order to create the flashing and fluid motions of the colors as the user moves the mouse.

The goal of the project is to mimic the screens present at a music festival with flashings lights, whose position on the screen is based on the mouse’s locations, and colors are based on key presses.  The lights will also stretch to the location of the mount giving it a rising mountain peak look with flashing colors.     

https://www.youtube.com/watch?v=uwk-XskXCI4     

Midterm 1

I am creating the magic eight ball with my code. I liked to play with these as a kid, and I thought it would be cool to recreate this on Processing. The final piece will have the user put in a question, and the ball will show the answer, randomly generated. I also want to incorporate how the eight ball actually works, having the ball shake with the answer appearing slowly on the triangle.

In order to accomplish this, I need to know how to have user interact by type. I will also  have to figure out how to shake the ball when the user inserts enter. If I am trying to accomplish more, it would be nice to figure out how to make the answers appear slowly. I already figured out how to make the user type in the question, but I am not sure how to make the ball shake when the user presses enter. One problem I faced when I uploaded on open processing is that when I type, it prints out numbers instead of the actual letters I am typing. I did not face this when I was working on it on Processing. I will have to figure out the solution by research. This will be something fun and interactive once it is finished.

Here is a link to my sketch on open processing: https://www.openprocessing.org/sketch/512867 

Midterm Part 1

For my midterm project, I would like to create an interactive “Time and Space” art piece. I want to have an analog clock in the middle of the piece, with an interactive background with stars that slowly chase after the mouse. I want some stars to be moving randomly across the screen. I also want to have a larger star rotating around the clock in the opposite direction as the hands are rotating. I want this star to interact with the other stars (maybe have the smaller stars bounce off of the bigger star.

In order to have two object interact with each other, I have to learn how to show if the objects are overlapping. There will be a lot of moving parts, and many of the same type of objects, so I will be using multiple classes. One for the hands of the clock, one for the little stars that move randomly, one for the little stars the follow the mouse, and one for the bigger star. I will also need to use my knowledge of loops and statements to create these classes correctly.

For part one, I have created the frame of the pocket watch, and the moving second hand. I can use a “hand” class to create the minute and hour hands. I will have to create a star class to finish the project.

I’ve drawn inspiration from the following pictures:

Midterm 1

For my midterm, I want to create a mini ecosystem relating to sharks and fishes. The sharks would be able to eat the fishes, and its body parts would be affected by multiple things such as the amount of fishes it ate and the various kinds of fish it ate. If the shark eats harmful fish accidentally, it would get sick and die. I want the overall piece to act like a game but also as an art piece demonstrating relationships between animals. The final piece would have graphic effects such as blood stains, and the fish would move in a cyclical pattern flowing through the water, while the shark would move randomly trying to eat its prey. People would first generate how many fish they would want there to be on the screen, and then when they’re done, they can wreak havoc by creating a shark with a keypress.  I want to use the colors of underwater, make fishes relatively colorful, and the shark grey.  The composition would look like an aquarium turned into a war zone.

I will rely heavily on classes. The sharks would definitely need their own class so the body parts can be properties in processing and altered when fish are “eaten”.  I will also rely on my skills on animating to make a dynamic aquarium, so the fish can look and feel alive. I need to learn about optimal mathematical relationships and more knowledge about how to use classes properly.

I drew some inspiration from a relatively recent viewing of blue planet, so I am now more fascinated by the ocean life. It might be seen as ironic that I would want to create a scenario where death of fishes is optimal after watching this documentary, but it’s more about showing how fishes can evolve to protect themselves in nature. Hopefully, I can implement more species into this aquarium sketch.

 

Midterm Part 1

My midterm project will be a sketch of a square universe. While looking for inspirations, I came across a tutorial about recursion, which is putting a function within the same function to achieve something like a loop but different. After following the tutorial I played around with it and came up with a really cool spaceship looking diamond object made up of millions of squares. Then I rotated the whole recursion and used the scale to zoom into the object to reveal a universe of squares.

At this point, I’ve used variables, functions, scale, rotate, conditional, and interaction in my sketch.

This part of the project asked to incorporate classes into the sketch, but I had difficulty executing recursion with a class. I need to figure out how to do this for part 2, because I have two objects moving separately, and I would like to organize them in classes.

I have a pretty solid vision for this project. First, the sketch starts off with a close up of rectangular recursion, which looks like an ancient pattern of some sort. Then with the arrow key people will be able to zoom out to reveal the diamond shape and orbiting circles. However, once people reach a certain point of scale, the diamond breaks apart into a galaxy of squares. Then the sketch zooms into the galaxy.

My initial sketch has some minor problems with the interaction, but the most urgent issue for next week will be incorporating classes.

Inspiration: https://www.youtube.com/watch?v=s3Facu6ZVeA&t=4s

*When I was uploading the sketch on OpenProcessing, it worked initially, but after saving it does not show anything because of an unexpected identifier. The program still works on Processing.

https://www.openprocessing.org/sketch/512849

Here is a screen recording of my sketch for now.

Midterm1

The midterm sketch I added was basically small video game. I made mouse point as a needle, you can hit the randomly falling balloon by moving the mouse point horizontally. For the midterm sketch, I calculated objects and oriented programing. It might be easier that I could array all the objects. I will figure out how to array objects effectively. (with out using A,B,C,D,E.. groups).  For this sketch, I did not make acceleration for balloons. Also, I need to figure how balloon and needle meets together .