Monthly Archives: September 2017

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