Skip to content

Latest commit

 

History

History

Exercises — Rewriting Grammars

Exercise 01 — Lindenmeyer System

  1. Install the LSystem Library by Martin Prout

    • install it in your Processing/libraries folder (See here)
    • restart Processing
  2. Run the 3D Hilbert Curve Example included in the exercise folder.
    You should also be able to find this example inside the library examples:

  3. Pick one of the two tasks below:

    • Modify the interpretation to create your own visual
    • Modify the ruleset to create your own structure

Exercise 02 — Context Free Art

  1. Download the Context Free Art software and study the CFDG language specs
  2. Go to the Park for inspiration
  3. Create a .cfdg File, that draws a treelike image

Exercise 03 — StructureSynth

  1. Download the StructurSynth Software and study the EisenScript language specs
  2. Go to the Park for inspiration
  3. Translate your .cfdg file to an analogue 3D .es file, to draw a 3D tree

Exercise 04 — ContextFree P5 (optional)

  1. Study the Mountain 3D demo
  2. Reuse the code to display your own .cfdg tree
  3. Add interaction + animation