This is a set of supercollider compositions to musicially illustrate some l-systems I wrote.
Each example is an L-System and uses intervals/ratios from ragas to make music. It started last year when I worked a bit on @avanka ’s lsystems drawing tool. That was fun. https://anvaka.github.io/lsystem/ Then, I rediscovered an L-System composition thingy from http://sccode.org/1-5bp . It’s fun, too. There’s a lot more at Github repo.
axiom: A
rules:
A =>[FY]A[FXA]
F => XF
X => FY
Y => [F+F+F][F-F-F]
Raga: Punnaag-avaraali
Up 2*9/5, 1, 16/15, 6/5, 4/3, 3/2, 8/5, 9/5
Dn 9/5, 8/5, 3/2, 4/3, 6/5, 16/15, 1, 2*9/5
axiom: Y
rules:
X => X[-FF-F][+FF+F]FX
Y => YFX[+Y][-Y]XFY
Punnaag-avaraali raga
Up 2*9/5, 1, 16/15, 6/5, 4/3, 3/2, 8/5, 9/5
Dn 9/5, 8/5, 3/2, 4/3, 6/5, 16/15, 1, 2*9/5
axiom: Y
rules:
X => X+YF++YF-FX--FXFX-YF+
Y => -FX+YFYF++YF+FX--FX-Y
See the Github repo for details.