Author Archives: Markku Reunanen

Wrapping up

The lectures are coming to an end an next it’s time for you to do the assignment. Just some final notes, recap and further pointers for you left. First a little cheat sheet of what the things we’ve learned so … Continue reading

Posted in Uncategorized | Leave a comment

Additional Processing exercises

More little Processing exercises. Not obligatory, just for rehearsing the topics we’ve covered. Example solutions included, but try first on your own. Simple graphics. Create the familiar smiley face using the graphical capabilities offered by Processing. smileyface.pde Variables. Declare two … Continue reading

Posted in Processing | Comments Off on Additional Processing exercises

6. Types and conversions

Let’s start with a nice little trick: instead of running your sketch, present it to make it fullscreen (shift-command-r). Decimal numbers (desimaaliluvut) So far we’ve used only int type for our calculations. Often the precision is not enough: for example … Continue reading

Posted in Processing | Comments Off on 6. Types and conversions

Tools for the JavaScript part

For the second part of the course, where you’ll learn JavaScript, install the following programs on your computer: Chrome Brackets They can be found on school computers already, so if you use the classroom Macs, then no need to care … Continue reading

Posted in HTML5-JS | Leave a comment

5. Functions, keyboard, images

Functions (Funktiot) Also known as procedures or subroutines (aliohjelma) in many languages. They are a way to structure your programs to meaningful wholes for the sake of readability, and to avoid unnecessary copypasting of the same code over and over … Continue reading

Posted in Processing | Comments Off on 5. Functions, keyboard, images

4. Arrays, loops, types, random

Arrays (taulukot) So far we’ve used variables, which let you store single values and work with them. Often we need to process large amounts of data, and single variables aren’t enough for that. Arrays let you store multiple values of … Continue reading

Posted in Processing | Comments Off on 4. Arrays, loops, types, random

3. Flow control

Flow control In numerous cases we need to do things conditionally, a number of times, or until something happens. For those sort of purposes we have different flow control statements: if – do something if a condition is true if-else … Continue reading

Posted in Processing | Comments Off on 3. Flow control

2. Variables (2), math, interaction

Recap of variables. Properties, declaration, assignment. Conflict with reserved words. Simple mathematics in Processing We can use variables for many kinds of calculations, such as addition (+), division (/), subtraction (-) and multiplication (*). In the mathematical statements we can … Continue reading

Posted in Processing | Comments Off on 2. Variables (2), math, interaction

1. Introduction, graphics, variables

Course structure, aims, assessment. A brief history and overview of programming languages (slides). Walkthrough of the Processing user interface. Special characters … and how to type them on a Finnish Mac keyboard. We’ll need many of these when typing in … Continue reading

Posted in Processing | Comments Off on 1. Introduction, graphics, variables

Starting up again

Yet another round of Software Studies for Media Designers is about to begin. These pages will be updated throughout the course with examples, lecture material and so on. For now, you can check the MyCourses page for information on the schedule. … Continue reading

Posted in Uncategorized | Comments Off on Starting up again