CCI Diploma 2020/2021: Unit 1: Lecture 8: Images and Simulating.
Back to slide index.
I'm going to start every lecture with a promise and an artist to reference.
I promise that by the end of this lecture you'll be able to understand how images are made and stored on computers, and how they can be used to store more than "just" imagery.
The artist of the day is Anna Ridler.
I was first drawn to her work by her piece "Myriad (Tulips)".

Anna was awarded a fellowship here at CCI.

I think alot of Anna's work is about images and systems for making images, which is why she's perfect for today's lecture - which is on exactly those things!
The main things I want you keep in mind today is that images can also be thought of as two dimensional arrays of pixel data. The way that images are usually stored in memory is in one giant one dimensional array - with all the rows of image data stacked side by side. Pixels in p5.js are (usually) stored in RGBA order, something you can move through with a pair of nested for loops - one for dealing with the rows and one for dealing with the columns in those rows.
By the end of this lecture, you'll know more about:
Moving to four dimensions.
Artists working with space and time.
How p5.js works with images.
https://p5js.org/reference/#/p5/loadImage
https://p5js.org/reference/#/p5/image
https://p5js.org/reference/#/p5/createImage
https://p5js.org/reference/#/p5/pixels
https://p5js.org/examples/image-load-and-display-image.html
https://p5js.org/examples/image-transparency.html
https://p5js.org/examples/image-alpha-mask.html
https://p5js.org/examples/image-create-image.html
https://p5js.org/examples/image-pointillism.html
https://p5js.org/reference/#/p5/saveCanvas
https://p5js.org/reference/#/p5.Image - p5.Image is a super useful object to use - it even allows you to load animated gifs!
Spatial compression and Temporal compression.
The Fast Fourier transform.
Three kinds of feedback: audio, visual and interactive.
Conway's Game of Life, Cellular Automata and rules 30 and 110.
Boids, Evolved Virtual Creatures and emergence.
How you can use p5.js to simulate different systems
https://p5js.org/examples/simulate-game-of-life.html
https://p5js.org/examples/simulate-wolfram-ca.html
https://p5js.org/examples/simulate-spirograph.html
https://p5js.org/examples/simulate-l-systems.html
https://p5js.org/examples/simulate-recursive-tree.html
https://p5js.org/examples/simulate-stepping-feet-illusion.html
https://p5js.org/examples/simulate-particles.html
Thanks!
Back to slide index.