Przemyslaw Prusinkiewicz & Aristid Lindenmayer published a book in 1990 called The Algorithmic Beauty of Plants whose Fig 1.24 contains a series of bushes created using bracketed 0L systems (b to f above) Fran rewrote the code for some of these as parametric L- |
||
bush b The midi file has general midi piano as the default instrument. An XG piano was used to generate the extract. L- /* Plant- #define maxgen 5 #define delta 20 #define step 0.5 START :F(step) p1 : F(step) - |
bush c The midi file has general midi piano as the default instrument. An XG piano was used to generate the extract. L- /* Plant- #define maxgen 7 #define delta 22.5 #define step 0.5 START :F(step)X p1: X- p2: F(x):x=step- p3: F(x):x=(step*2)- |
bush d The midi file has general midi piano as the default instrument. An XG piano was used to generate the extract. L- /* Plant- #define maxgen 8 #define delta 20 #define step 0.25 START :X p1 : X - p2 : F(x) - |
bush e The midi file has general midi harp as the default instrument. This midi file (without harp) was used in the piece twin bush. The extracts contain 2 interpretations of the same midi file. The first is using an XG harp, the second one a Yamaha CS1X "performance". L- /* Plant- #define maxgen 7 #define delta 25.7 #define step 0.125 #define maxStep 3 START :X p1: X - p2: F(x):x<=maxStep - p3: F(x)- |
bush f The midi file has general midi guitar as the default instrument. The extracts contain 3 interpretations of the same midi file.The first uses an XG guitar, the other two use Yamaha CS1X "performances" L- /* Plant- #define maxgen 5 #define delta 22.5 #define step 0.25 START :X p1: X - p2: F(x) -
|
|