Learn creative coding writing simple programs

117. Reading and displaying bytes, part 2

Continuation from part 1. This episode is split in two parts because apparently I just talk too much :)

After loading the bytes from a file, we loop through those bytes displaying them as colorful lines.

Later we will work with more meaningful data (data you can generate yourself or download from the Internet).

Tags: loadBytes, data, byte, megabyte

Code editor

You can make changes to the code below. Then

Questions and comments

Try to stay close to the topic of this episode. Use the Processing forums for help with unrelated Processing projects (or hire me for help ;-)

To indicate that a word in your comment is code, use the `backtick`. Example
  Do `float` and `int` smell similar?
To highlight code blocks, use ```processing and ``` like this:
  ```processing
  void setup() {
    size(600, 600);
  }
  ```