Create blocks of data that represent values. Then map these blocks from a simple array.
![Sketch of design for the blocks of value activity](https://csee.bangor.ac.uk/wp-content/uploads/2022/01/cts-blocks-of-value-SketchOfDesign-1200x918.jpg)
Create blocks of data that represent values. Then map these blocks from a simple array.
Create hundreds of coloured rectangles.
In this activity you will create a rainbow in code using software sketchbook and a language “Processing”.
This post starts you off with Processing. Download, run and draw some coloured lines. The computer programming language Processing, is a great way to start coding. You get a quick visual result from a few lines of code.
Values of Red, Green and Blue colours are used to code colours on a computer. Learn how to create different colours from RGB values.
Understand rainbows, why we typically think it has 7 colours, and make a colour spinner.