Category:Wren-turtle: Difference between revisions
(Make it clear Wren-turtle can only be used with DOME.) |
m (Tidied links.) |
||
Line 2: | Line 2: | ||
'''Wren-turtle''' is a module which enables drawings to be made within a [https://rosettacode.org/wiki/Category:DOME DOME] script using turtle graphics and the Wren programming language. It consists of two classes: Pen and Turtle, the former representing the latter's pen. |
'''Wren-turtle''' is a module which enables drawings to be made within a [https://rosettacode.org/wiki/Category:DOME DOME] script using turtle graphics and the Wren programming language. It consists of two classes: Pen and Turtle, the former representing the latter's pen. |
||
It is the twenty-fifth in a series of modules (listed on the language's |
It is the twenty-fifth 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-turtle talk page]) to a text file called ''turtle.wren'' and place this in the same directory as the importing script so DOME can find it. |
||
Wren-turtle depends on the graphics and math modules which are part of the DOME framework. As such it can only be used in a DOME script. |
Wren-turtle depends on the graphics and math modules which are part of the DOME framework. As such it can only be used in a DOME script. |
Revision as of 16:38, 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-turtle is a module which enables drawings to be made within a DOME script using turtle graphics and the Wren programming language. It consists of two classes: Pen and Turtle, the former representing the latter's pen.
It is the twenty-fifth 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 turtle.wren and place this in the same directory as the importing script so DOME can find it.
Wren-turtle depends on the graphics and math modules which are part of the DOME framework. As such it can only be used in a DOME script.
Pages in category "Wren-turtle"
The following 2 pages are in this category, out of 2 total.