Changeset 33306 in project
 Timestamp:
 04/25/16 04:26:44 (5 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

wiki/eggref/4/lindenscheme
r31305 r33306 115 115 116 116 ==== Turtle graphics 117 lindenscheme provides a set of functions (often also render rules) that implement the standard turtlegraphics commands typically associated with graphical Lsystems. These commands are intended to be a standard foundation for turtle graphics, but do not provide any graphical output mechanism themselves. Rather, they provide a convenient parameter for holding some sort of rendering target, as well as a set of procedures that are used to modify and access the usual geometric qualities: namely translation/rotation matrices and thickness. Two state variables are therefore defined for the turtle graphics system: {{transformmatrix}} and {{thickness}}, although facilities are provided so they do not need to be accessed through {{getstate}} or {{setstate}}.117 lindenscheme provides a set of functions (often also render rules) that implement the standard turtlegraphics commands typically associated with graphical Lsystems. These commands are intended to be a standard foundation for turtle graphics, but do not provide any graphical output mechanism themselves. Rather, they provide a convenient parameter for holding some sort of rendering target, as well as a set of procedures that are used to modify and access the usual geometric qualities: namely translation/rotation matrices and thickness. Two state variables are therefore defined for the turtle graphics system: {{transformmatrix}}, {{rotationmatrix}}, and {{thickness}}, although facilities are provided so they do not need to be accessed through {{getstate}} or {{setstate}}. 118 118 119 119 <parameter> rendertarget</parameter> … … 124 124 125 125 Returns the current transformation matrix, as modified by calls to {{pitch}}, {{roll}}, {{turn}}, {{move}}, and {{moveforward}}. 126 127 <procedure> (rotationmatrix)</procedure> 128 129 Returns the rotation component of the current transformation matrix, as modified by calls to {{pitch}}, {{roll}}, and {{turn}}. 126 130 127 131 <procedure> (pitch ANGLE)</procedure> … … 202 206 === Version history 203 207 208 ==== Version 0.2.0 209 24 April 2016 210 211 * Add {{rotationmatrix}} 212 213 204 214 ==== Version 0.1.0 205 215 * Initial release
Note: See TracChangeset
for help on using the changeset viewer.