Hello,
Over the years, I've written a bunch of programs in Factor. As the
language evolves, it's interesting to revisit old code and update it for
new idioms. One of the earliest programs I wrote in Factor was a program
to generate and display L-systems. I recently rewrote it and
incorporated alot of the idioms I've picked up over the years.
You're welcome to try it out. These are the "runnable" vocabularies:
"L-system.models.abop-1"
"L-system.models.abop-2"
"L-system.models.abop-3"
"L-system.models.abop-4"
"L-system.models.abop-5"
"L-system.models.abop-5-angular"
"L-system.models.abop-6"
"L-system.models.airhorse"
"L-system.models.tree-5"
So, from a listener you can do:
"L-system.models.abop-1" run
Or, from a shell:
$ ./factor -run=L-system.models.abop-1
Press 'x' to iterate the model by one step.
Press F1 in the window for more help.
Ed
PS to Jeff: I know that parts of 4DNav were based on the old 'lsys'.
Feel free to mine the new 'L-system' for code and ideas that might be
useful in 4DNav.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk