Visual tasks for Processing Workshop

Author: Zsófia Ruttkay Version: 0.6 Date: 3.3.2010

Lines

Series of sketches made of a number of lines, some reacting to mouse, others to time (animated).
WorkshopSketches/Lines/line_1/image.jpg line_1
Two lines of different line width.
line(), smooth()
setup(), size(), draw()
WorkshopSketches/Lines/line_2/image.jpg line_2
9 lines of increasing line width.

WorkshopSketches/Lines/line_3/image.jpg line_3
2n+1 lines of increasing line width.
for()
WorkshopSketches/Lines/line_4/image.jpg line_4
Height of line changes according to some function, line sin()

sin(), %,
WorkshopSketches/Lines/line_5/image.jpg line_5

A point within the square connected to equidistant points along the perimeter.
WorkshopSketches/Lines/line_6/image.jpg line_6
From a point within the square lines are drawn of with equal angular rotation.

translate(), rotate()
WorkshopSketches/Lines/line_7/image.jpg line_7
As the previous drawing, but the internal point is selected randomly.
A new point is selected whenever clicking the mouse. The layers are drawn on top of each other.
random(), mousePressed()
WorkshopSketches/Lines/line_8/image.jpg line_8
The internal point moves around a circle.
Try to comment out the background().
sin(), cos(), frameRate
WorkshopSketches/Lines/line_9/image.jpg line_9
As the previous one, but the center of the circle follows the mouse.

mouseX, mouseY
WorkshopSketches/Lines/line_10/image.jpg line_10
Two sets of lines, each having a center moving around an own circle, in own speed.