forked from leahbuechley/Turtle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
83 lines (78 loc) · 4.53 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link href="stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<center>
<table height="100%" border="0" cellpadding="0" cellspacing="0" width="600">
<tbody><tr>
<td class="indexheader libName" height="80" valign="top" width="400">Turtle</td>
</tr>
<tr>
<td class="indextext">A Library by <a href="http://leahbuechley.com">Leah Buechley</a> for the <a href="http://www.processing.org" target="_blank">Processing</a> programming environment. The Turtle library provides an implementation of a LOGO Turtle for Processing.<br>
<br>
Turtle Geometry (see the fabulous <a href="https://mitpress.mit.edu/books/turtle-geometry" target="_blank">book of the same name</a> by Hal Abelson and Andrea diSessa)
provides a different way of thinking about geometry. You draw by driving around a "turtle".
Programs are written from the point of view of this turtle, which enables you to
take an embodied approach to geometry. </br></br>
LOGO, a turtle-based programming language, was developed by Seymour Papert and a group of
collaborators in the late 1960s. It was presented as a novel way to introduce children
to computer programming and mathematics. LOGO and Turtle Geometry remain strongly associated
with children and education, but are full of beautiful tools and ideas that adult artists and
programmers can fruitfully explore.</br></br>
A previous turtle library for Processing, <a href="http://terrapin.sourceforge.net/" target="_blank">Terrapin</a>,
is great, but somewhat limited in functionality. This library provides a more full-featured
implementation, including "push" and "pop" functionality as well as high-resolution drawing capabilities.
<br>
<p><b>DOWNLOAD</b></p>
Download Turtle in
<a href="./download/Turtle.zip">.zip format</a>.<br>
<br>
<p><b>INSTALL</b></p>
Unzip the Turtle.zip file and add the unzipped "Turtle" folder into your Processing libraries folder. See more info under Manual Install <a href=https://github.com/processing/processing/wiki/How-to-Install-a-Contributed-Library target="_blank">here</a>.<br>
<br>
<p><b>EXAMPLES</b></p>
<img src="images/leaves.png">
<p>Find a list of examples in the current distribution of Turtle, or have a look at them by following the links below. Library reference also contains examples.</p>
<ul>
<li><a href="examples/Basic/Basic.pde">Basic</a></li>
<li><a href="examples/Square/Square.pde">Square</a>
<li><a href="examples/PolygonPDF/PolygonPDF.pde">PolygonPDF</a>
</li> <li><a href="examples/Tree/Tree.pde">Tree</a></li> <br>
</ul>
<p><b>SOURCE CODE</b></p>
<p>The source code of Turtle is available at <a href="https://github.com/leahbuechley/Turtle">https://github.com/leahbuechley/Turtle</a>, and its repository can be browsed here: <a href="https://github.com/leahbuechley/Turtle.git" target="_blank">https://github.com/leahbuechley/Turtle.git</a>.</p>
<br>
<em>by <a href="http://leahbuechley.com">Leah Buechley</a> 2017, updated 2019</em><br><br>
Page format inspired by Carl Emil Carlsen's <a href="http://sixthsensor.dk/code/p5/point2line/index.htm">point2line</a> library documentation.<br><br><br><br>
<br></td>
<td class="descList">
<h2>Reference</h2></br>
<h4>Basics</h4></br>
<a href="reference/forward.html">forward ()</a><br>
<a href="reference/back.html">back ()</a><br>
<a href="reference/right.html">right ()</a><br>
<a href="reference/left.html">left ()</a><br><br>
<a href="reference/penUp.html">penUp ()</a><br>
<a href="reference/penDown.html">penDown ()</a><br><br>
<a href="reference/push.html">push ()</a><br>
<a href="reference/pop.html">pop ()</a><br><br>
<a href="reference/goToPoint.html">goToPoint ()</a><br><br>
<a href="reference/drawTurtle.html">drawTurtle ()</a><br><br><br>
<h4>Turtle State</h4></br>
<a href="reference/getX.html">getX ()</a><br>
<a href="reference/getY.html">getY ()</a><br>
<a href="reference/getHeading.html">getHeading ()</a><br><br>
<a href="reference/setX.html">setX ()</a><br>
<a href="reference/setY.html">setY ()</a><br>
<a href="reference/setHeading.html">setHeading ()</a><br><br><br>
<h4>Other Handy Stuff</h4></br>
<a href="reference/clearTurtleHistory.html">clearTurtleHistory ()</a><br><br>
<a href="reference/setWrapAround.html">setWrapAround ()</a><br>
</td>
</tr>
</tbody></table>
</center>
</body></html>