This one does 16 different trails of brownian motion, leaving the orientation the same as the beginning one.
Code: Select all
startshape startbrownian
rule startbrownian
{
16*
{ h 22.5 }
{ brownian {
sat 1
b 1
}
}
}
rule brownian
{ brownian {y .1} }
rule brownian
{brownian { y -.1}}
rule brownian
{brownian { x .1 }}
rule brownian
{brownian { x -.1}}
rule brownian
{ SQUARE { s .1 }
brownian{ b -.0001} }
rule brownian .00025 {}