File:Screenshot.png: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Remove wrong description of subdivision. It's actually aesthetic only.)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:PNG]]
[[Category:Turtle Art activity]]
Simple recursion in Turtle Art. Recursive loop is handled in stack1, with final case of drawing a line. Stack two is used to orient the turtle between line segments. The control variable box1 is used to store total draw length (300 horizontal pixels in this case), multiplied by 4 to offset the division on the first draw in stack2. box2 is used to control recursion depth. Here it's set to 4, meaning we will subdivide the line 4 times.
Simple recursion in Turtle Art. Recursive loop is handled in stack1, with final case of drawing a line. Stack two is used to orient the turtle between line segments. The control variable box1 is used to store total draw length (300 horizontal pixels in this case), multiplied by 4 to offset the division on the first draw in stack2. box2 is used to control recursion depth. Here it's set to 4, meaning we will subdivide the line 4 times.

Latest revision as of 17:08, 25 September 2008

Simple recursion in Turtle Art. Recursive loop is handled in stack1, with final case of drawing a line. Stack two is used to orient the turtle between line segments. The control variable box1 is used to store total draw length (300 horizontal pixels in this case), multiplied by 4 to offset the division on the first draw in stack2. box2 is used to control recursion depth. Here it's set to 4, meaning we will subdivide the line 4 times.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current03:34, 1 September 2008Thumbnail for version as of 03:34, 1 September 20081,200 × 900 (115 KB)Kirkjerk (talk | contribs)Reverted to version as of 20:30, 19 March 2008
03:34, 1 September 2008Thumbnail for version as of 03:34, 1 September 20081,200 × 900 (14 KB)Kirkjerk (talk | contribs)
20:30, 19 March 2008Thumbnail for version as of 20:30, 19 March 20081,200 × 900 (115 KB)Bjc (talk | contribs)Simple recursion in Turtle Art. Recursive loop is handled in stack1, with final case of drawing a line. Stack two is used to orient the turtle between line segments. The control variable box1 is used to store total draw length (300 horizontal pixels in th

The following 2 pages use this file: