Linebender
Idea
A very simple, yet appealing pattern can be created by drawing multiple vertical lines with equal distances – but what happens if this representation of perfect geometry is being disturbed?
Vertical lines
In the linebender sketch, one or a couple of agents will be placed between the lines and start to move in random directions. The lines should try to avoid contact with the agents and bend away. During this animation of action and reaction, new patterns of lines will be generated. One line shall be highlighted for a better visualization of the effect.
This process will be achieved by creating an array of lines, each line consisting of an array of points. These points will react to the agent’s movements. The observer should be able to reset the process (UP-key) and save single frames of the animation as a pdf (left mouse button).
Vertical lines with one highlighted:
PROGRAM
File:Processing einfuehrung moritz.zip