Category:Wren-lsystem: Difference between revisions
(Created page for 'Wren-lsystem' module.) |
m (Tidied links.) |
||
Line 3: | Line 3: | ||
the Wren programming language. It consists of two classes: LSystem and Rule, the latter representing production rules for use by the former. |
the Wren programming language. It consists of two classes: LSystem and Rule, the latter representing production rules for use by the former. |
||
It is the twenty-fourth in a series of modules (listed on the language's |
It is the twenty-fourth in a series of modules (listed on the language's [https://rosettacode.org/wiki/Category:Wren main page]) designed to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily. |
||
To use it you need to copy the source code (in the |
To use it you need to copy the source code (in the [https://rosettacode.org/wiki/Category_talk:Wren-lsystem talk page]) to a text file called ''lsystem.wren'' and place this in the same directory as the importing script so DOME can find it. |
Revision as of 16:37, 12 December 2021
This is an example of a library. You may see a list of other libraries used on Rosetta Code at Category:Solutions by Library.
Wren-lsystem is a module which enables drawings to be made (typically within a DOME script) using the Lindenmayer L-system and the Wren programming language. It consists of two classes: LSystem and Rule, the latter representing production rules for use by the former.
It is the twenty-fourth in a series of modules (listed on the language's main page) designed to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily.
To use it you need to copy the source code (in the talk page) to a text file called lsystem.wren and place this in the same directory as the importing script so DOME can find it.
Pages in category "Wren-lsystem"
The following 2 pages are in this category, out of 2 total.