Skip to the content.

Lesson 07 – Pixels

Schedule

Time Desc
00:00 – 00:15 Intro
00:15 – 00:30 Sharing
00-30 - 01:00 Work on assignement
01:00 - 01:10 Break
01:15 - 02:00 Work on assignement
02:00 - 02:15 Wrap up

🎯 Focus

Use pixels as raw generative material.

Content

Brief

Write a program that treats pixels as raw material for creating original designs. Load an image, access its pixel data (colors, positions), and use that information to generate something new. Think carefully about the relationship between your pixel concept and the image you choose to transform. 1

Note: This is about working directly with pixel-level data in code. Instead of drawing shapes that the computer renders into pixels, you’re reading pixel values from an image and using that data to create new visual outputs.

Key questions to explore:

What does “pixels as material” mean?

When you normally code graphics, you work with shapes and the computer handles the pixels:

You think: "Draw a red circle"
Computer does: Calculates which pixels to color red

Today, you’re flipping this - you work directly with the pixel data itself:

You access: The actual color values of each pixel in an image
You decide: What to do with that information
You create: A new visual representation based on pixel data

The conceptual shift:

Drawing with shapes (what you’ve been doing):

Working with pixels (today):

Basic workflow:

  1. Load an image → Get source material
  2. Access pixel array → Read the color/brightness data
  3. Extract information → What do you want from each pixel? (its red value? its brightness? its position?)
  4. Transform/remap → Use that data to create something new
  5. Display → Show your new interpretation

What can you do with pixel data?

Use pixel COLOR to control:

Use pixel POSITION to:

Use pixel RELATIONSHIPS to:

Thinking about image choice

The image you choose matters. Consider:

Ask yourself: What’s the relationship between the original image and your transformation? Are you:

Concrete examples of pixel operations:

Simple level:

Medium level:

Complex level:

Variations / Steps 1

References

The examples below show artists working with pixels as material - reordering, reinterpreting, and reimagining pixel data. Your task is to write code that reads pixel data and transforms it into something new.

1 –> Search pixels projects on CAN (username + password were sent on Slack yesterday)
2 –> Search fyprocessing for pixels projects, a lot of cool examples there :arrow_down:

'0,16 - Aram Bartholl' 0,16 - Aram Bartholl

0,16 is a light installation in which the shadows of a passer-by is transformed into ‘pixels’. The installation consists of a wall built of small square frames covered front and back with transparent paper. A third layer of paper is attached in the centre of the frames. A lamp shining at a distance breaks the shadows of the passers-by into squares, allowing a pixellated human figure to be seen on the other site of the installation. In this simple way, Bartholl renders tangible the pixels found in the world of digital communications. The ‘resolution’ of the screen is 0,16 ppi (pixels per inch), hence the title.

Pixel is Data
Pixel is Data - Matthieu Savary

Created by Matthieu Savary, Pixel is Data is not your ordinary photography app for the iOS. Instead of dealing with pixels as you’d expect, all in order to represent the scene you have just photographed, Pixel is Data uses the image data and shows it using various parameter to reorder the pixels. They can be arranged either the “right” way – their photographic order, or using the RGB components of each pixel to determine priority.

IRIS - Hybe
Created by Korean collective HYBE, IRIS is a media canvas with matrix of conventional information display technology, that is a monochrome LCD.Through the phased opening and closing of circular black liquid crystal, IRIS can create various patterns and control the amount (size) of passing lights.


100.000.000 Stolen Pixels
100.000.000 stolen pixels is a personal project by Kim Asendorf in attempt to create an archive of numerous sites by ‘stealing pixels’ from them. A web crawler created by Kim started with 10 URLs (See first 10 in url.log) and searched HTML pages for images and hyperlinks. Each found image got downloaded and 100 pixels in a square of 10×10 were cut out of it. Each found hyperlink got stored in cache and thereby added to the list of searchable URLs.






:arrow_up: KIM ASENDORF - Misc



k_koi
Kensuke Koike 小池健輔

You will find code examples in the book Generative Gestaltung (P4…)
Check :sparkles: Pinterest Portrait board
(username: tmp.pin@gmail.com password: TT4[bosses )
> Pinterest class board

Examples

See the Pen Demo 02 by G. (@gu-ma) on CodePen.

Cam pixels in P5.js

:books: Resources

📝 Activities

📂 Deliverables

📓 Journal Prompts

🎨 References & Inspiration

  1. Code as Creative Medium - Tega Brain / Golan Levin  2