However, try to make your own from scratch, using these guidelines.
keyIsPressed() is a valuable function because you can have specific keys of the keyboard control your sketch in real time!
When you make this sketch, try changing the fill colors or shapes. Press any key on the keyboard to change the background color!
In this exercise we will create our own function named keydraw. Using it, we will make a complex and beautiful drawing machine. The goal is to take inputs from the keyboard which will draw in the canvas.
When you make this, try to make the drawing react faster by changing increments. Also, make the brush with different colors by changing the fill value. Click Play and then use the arrow keys to draw!
When you recreate OOF, change the text by replacing it with your own poems. Make a few lines each with different text alignment, size and color.
We will make a sketch that takes keyboard input and displays the key input.
When you are done, make more keys to change the values.
5. Date Paintings
In this exercise we will recreate one of On Kawara’s Date Paintings.
When you make the date painting, make a clock by using hour(), minute(), second(). Hints in the code…
// This code makes a clock // h = hour() // mi = minute() // se = second() // textSize(30) //
6. String poems
We are taking Ezra Pound’s poem, In a Station of the Metro.
The apparition of these faces in the crowd;
Petals on a wet, black bough.
Let’s make it into a string of text, and display one word at a time.
When you've made this, great job. We are done for the day!
The next class in will be taking place in the Fall of 2016.