Monday, 28 March 2011

Working towards my final Wallpapers :)

I started Simple, and created a main code that I could alter in order to create different geometric forms =)
Firstly utilizing the fantastic processing reference website and playing with codes on open processing, I managed to learn enough about variables, 2D rotation methods and loop tools in order to create my code. I then created a basic code for a simple geometric shape which took some time and altering of numbers to finally get it right :)
 
    pushMatrix();                    
//stores the information needed to do the rotation
    noFill();                           
//makes the shapes have no filling
    translate(50, 70);              
//where the shape is placed
    scale(5,5);                      
//scale of the shape
     rotate(radians(i*4));        
//helps make the 2D rotation,
    ellipse(0,0,100,50);          
//chosen shape
    popMatrix();                    
//closes the pushMatrix =)
  

Altering this code I was able to produce many different geometric shapes and produce my wallpaper. Playing around with colour was the next step, with the colour scheme being hard to get right. I then chose to change the background to black in order to provide a greater contrast between the geometric shapes and the background.  

Here are a few Openprocessing codes which by playing with helped me understand what i needed to write 

No comments:

Post a Comment