Oct-20-2016, 11:06 AM
Hello everyone.
Im trying to make a smart way to using fractals and i have been searching a bit around without any advice on my topic.
Well it's basicly about applying One Rule.
It looks like this:
start F
rule F -> F L F R F L F
i got the main ideer of it that when it reads F it should write F L F R F L F and then add it to the "result".
My only problem is that im not the best programmer and therefore i don't know how i should proceed to write it into python.
it should read the list, then replace F with F L F R F L F ever time it finds it when it searching the list. In the end it should give a output where the whole result is printed.
list, tuples etc?
Best regards Malling
Im trying to make a smart way to using fractals and i have been searching a bit around without any advice on my topic.
Well it's basicly about applying One Rule.
It looks like this:
start F
rule F -> F L F R F L F
i got the main ideer of it that when it reads F it should write F L F R F L F and then add it to the "result".
My only problem is that im not the best programmer and therefore i don't know how i should proceed to write it into python.
it should read the list, then replace F with F L F R F L F ever time it finds it when it searching the list. In the end it should give a output where the whole result is printed.
list, tuples etc?
Best regards Malling