Activities/Plot: Difference between revisions

Tswast (talk | contribs)
No edit summary
Tswast (talk | contribs)
Added more info for adding functions to plot.
Line 1: Line 1:
<noinclude>{{TOCright}}
<noinclude>{{TOCright}}
[[Category:Activities|Turtle Art]]</noinclude>
[[Category:Activities|Plot]]</noinclude>


[[Image:Activity-plot.svg‎]]
[[Image:Activity-plot.svg‎]]
Line 9: Line 9:


== Modifying Plot ==
== Modifying Plot ==
For the ambitious, who don't mind programming:
=== Adding a function ===
=== Adding a function ===
1. Add to plotter/parse.py
1. Add to plotter/parse.py
2. Create icon.
 
==== Create an icon ====
[[Image:Plot-modify-createicon.png‎]]
 
Create an icon for the new function. As a convention, its name should be the same as the function name in all lowercase letters. There should be two files: one for the working copy, and an exported "Plain SVG" copy. There names should be <functionname>.svg for the plain svg and <functionname>-inkscape.svg for the working copy.
 
3. Create node class.
3. Create node class.
4. Add to node list.
4. Add to node list.