Working with Processing

Moving on from photoshop and designing, we shortly started to do some work with java and programming. Programming is a set of instructions and a high level language that are then interpreted to machine code, meaning turning code into objects.

We had some vocabulary to learn such as:

  • IDE – Integrated development environment
  • Variable
  • Parentheses ( – open ) – close
  • Functions & Methods
  • Class – building block for objects
  • Instant – we create instants after a class
  • Data Type – types of objects
  • Loops – concept of repeating a loop
  • Compiler
  • Conditional Statement – testing for a condition, always returns true or false
  • OOP – Object oriented programming
  • Camel Case – how we name our variables: myVar – myFirstFunction – topScore

Here is processing in use:

Code practising

 

Here’s an example of what has been created with the following codes:

Rectangle java

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s