How little is needed to create a visual composition? How many lines of code are necessary to make an interactive installation? this course focuses on maximize efforts, how to obtain the best result with the smallest amount of code possible. The students will code sets of rules and instructions to draw lines, to blink leds or to activate servomotors, with a particular eye on simplicity and readability.
If you can’t explain it simply, you don’t understand it well enough.
Albert Einstein
Create a sketch using your favourite creative coding framework (Processing, openFrameworks, three.js, paper.js, p5.js, nannou, arduino IDE, you name it), using only 5 lines of code.
- Read the wikipedia article on Rubber Duck Debugging.
- Write down on a piece of paper what each line is doing, as you were explaining your code to a rubber duck.
- Make 3 variations of your sketch.
- Pick one that one that you like mostly. You will polish it and make it presentable the 23 of October.
P.S.
-
The 5 lines of code have to be in the
draw
method, or in theloop
method if you are working with Arduino. Any code related to resources inizialization, like the code that in an openFrameworks application goes into theofApp.h
file, does not count. The same applies for the code that in Processing and in Arduino goes into thesetup
method. -
Each line can not be longer than 80 chars, spaces included.
The Minimalist Manifesto, by Donald Judd.
Grapefruit, by Yoko Ono.
Wall Drawings 1, 2, 3 by Sol LeWitt.
The conditional design manifesto
Line Describing a cone, by Anthony McCall.
ASDFG, by Jodi.
Rules of the day:
- Make a grid. Start with a small grid, like 30x30. Make it bigger later.
- Initialize each cell of the grid with a value. It can be whatever, a color, a number, a sound, a string, a led turned on or a switch button.
- Invent 3 rules for which each cell interacts with the other cells and eventually change. Those 3 rules can not be espressed in more than 5 lines of code, each line of code can not be longer than 80 chars. (from now on, we will refer to this last rule as
the 5 LOC rule
).
- cellular automata
- Daniel Shiffman video
- Rule 110
- Rule 90
- Brian's Brain
- Game of life
- Von Neumann cellular automaton
- Alexander Galloway on Nils Barricelli
- Nils Barricelli on Dataisnature
- George Dyson: The birth of the computer
- George Dyson, Darwin among the machines
Let's make a step back and let's remove the cells from the grid. Consider a grid simply as a defined number of lines, not necessary of the same with, crossing each other at a certain angle.
Rules of the day pt. 1:
- You have to use lines.
- Each line have to be a bit different from the others.
- Animate the grid.
Rules of the day pt. 2:
- You can use just circles, or square or triangles.
- Animate the grid.
- Use at least 4 colors, black and white are not allowed.
Rules of the day:
- Define a system in which you can represent 0 or a finite number of elements.
- The total number of elements in your system grows as times goes by.
- At a given limit, your system is reset, and the total number of element goes to 0.
- Respect the
5 LOC Rule
- yayoi kusama accumulation series
- Tara Donovan, 2
- Wolfgang Laib’s Pollen from Hazelnut
- Katamari Damacy
Rules of the day:
- Create an abstract landscape, details are not important, try to give a sense of depth.
- You can use just two colors.
- Respect the
5 LOC Rule
.
- Daniel Brown, Travelling by Numbers
- Fractional noise mountains Mandelbrot and Richard F. Voss
- In Jared Tarbell’s classic Substrate
- Everest Pipkin,Mirror Lake
- Kristyn Janae Solie’s Lonely Planets
- Catacomb of Solaris
the algorithmic botany archive Circular Gallifreyan Arrival, Wolfram every combination of incomplete cube sol lewitt