Changeset 33306 in project
- Timestamp:
- 04/25/16 04:26:44 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wiki/eggref/4/linden-scheme
r31305 r33306 115 115 116 116 ==== Turtle graphics 117 linden-scheme provides a set of functions (often also render rules) that implement the standard turtle-graphics commands typically associated with graphical L-systems. 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: {{transform-matrix}} and {{thickness}}, although facilities are provided so they do not need to be accessed through {{get-state}} or {{set-state}}.117 linden-scheme provides a set of functions (often also render rules) that implement the standard turtle-graphics commands typically associated with graphical L-systems. 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: {{transform-matrix}}, {{rotation-matrix}}, and {{thickness}}, although facilities are provided so they do not need to be accessed through {{get-state}} or {{set-state}}. 118 118 119 119 <parameter> render-target</parameter> … … 124 124 125 125 Returns the current transformation matrix, as modified by calls to {{pitch}}, {{roll}}, {{turn}}, {{move}}, and {{move-forward}}. 126 127 <procedure> (rotation-matrix)</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 {{rotation-matrix}} 212 213 204 214 ==== Version 0.1.0 205 215 * Initial release
Note: See TracChangeset
for help on using the changeset viewer.