Podcast Lookup

Class 06 – Iterated function system (2018B)

Evolutionary Graphics

  • February 23, 2019

About this episode

Assignment 1 reminder

Lecture topics

  • Iterated function system
  • Generative graphics
  • Animation
  • Graphical programming software

Workshop
Prepare a graphics that can resemble an ink painting.

startshape MyShape shape MyShape { loop 8 [r 45 x 0.1] Drop [f 90] } shape Drop rule { Circle [s 0.1 b 0.9 r -8] Circle [s 0.1 b 0.9 r 8] Drop [x 0.01 r 4 s 1.002] } rule { Circle [s 0.1 b 0.9 r 1] Circle [s 0.1 b 0.9 r 10] Drop [x 0.005 r -4 s 1.005] } rule { } shape Circle rule { CIRCLE [] Circle [x 0.005 y 0.005 s 0.98 0.998 r -2 b 0.001] } rule { CIRCLE [] Circle [x 0.005 y 0.001 s 0.99 0.997 r 2 b -0.025] }

Prepare another image with water colour effects.

startshape MyShape CF::Background = [b -1] CF::Tile = [s 8] shape MyShape { simple[h 0 b 1 sat 1 a -0.99] } shape simple rule { draw[] simple[h 0.1 s 0.999] } rule { draw[s 3 1] simple[r 20] } rule { draw[s 1 2] simple[r -10] } rule { draw[s 1 3] simple[x 0.1] } rule { draw[s 3 2] simple[y 0.2] } shape draw { CIRCLE [] }

Demonstration

Iterated function in Processing.

Graphical programming software

Artist reference