PROCESSING 2

Here I combined Randoms with declared colours. I used codes from Photoshop to declare the colours that I wanted to use and drew a  a small square.
Screen Shot 2014-10-16 at 13.34.08


Once I had my colours and a ‘randomNum’ set up I had to declare the random number as an integer. I had to do this so it could use one of the colours I had chosen because otherwise the ‘randomNum’ would have chosen a random decimal number, this would have crashed as it only had the option from the list 4 specific colours.
Screen Shot 2014-10-16 at 14.14.48

Advertisements

PROCESSING 1

The screen shots below show my development on programming using the programme processing.


This shows the use of Statements, a type of Interger (int), Float and Boolean.

All of which are used to declare the value of g = 14

Screen Shot 2014-10-09 at 13.23.09


First attempt at using loops:

Screen Shot 2014-10-09 at 13.29.34


Using all of the techniques above to draw a red rectangle adding in a Random function to produce the ellipses at random points within the frame. Screen Shot 2014-10-09 at 14.11.13


I also introduced a function ‘mouseClicked’ so the location of the ellipses would change every time I clicked.  I used a website ‘www.processing.org’ to help me develop my skills further so as well as changing the location of the ellipses  randomly I made the colour of the ellipses could also change.
Screen Shot 2014-10-09 at 14.25.12


I then began playing with the functions I had already made by changing colour preferences, I used the codes from photoshop to get exact colours. I also changed the number of ellipses that would appear at a time.
Screen Shot 2014-10-09 at 14.27.29

PROGRAMMING INTRO

My first workshop in programming! I used a software called Processing where I shown the basic concepts for programming, that I will need to apply to all my work throughout the course.

Screen Shot 2014-11-09 at 12.17.30


Intro to programming using IDE ‘Processing’ software. Programming is just lots of simple instructions, that use high level language that can be interpreted into machine code. The importance of formatting code with indentations and {} which keeps the statements in code blocks. Statements are conditional, they are either true or false, dependant on that they can choose to either perform the command or not. Camel Case is also vital as each software understands a different language dependant on the lower and upper case letters used and in what sequence. The differences between comparison operators, assignment operators, which are interpreted/understood by the machine code and comments which are used for human understanding, which makes it easier to identify what you are asking the machine to do.

IMG_3713