Blogs

Andy's picture

Recursive 2D fern leaf procedure

Blog project image

In my previous blog, I explained about a recursive tree procedure. Here is another one borrowed from Joshua's Logo Interpreter example: fern leaf procedure. This fern leaf procedure creates a 2D fern leaf in VRMath2's 3D space. You can examine it below in the 3D space with the LOGO program.

Andy's picture

Recursive 2D tree

Recursive 2D tree

One of the powerful abilities of LOGO programming language is its recursive execution of procedure. Recursive call of procedure means a procedure calls itself until an exiting condition is met. A recursive procedure can be very simple yet it can produce complex and beautiful mathematical graphics such as fractal images and naturally occurring objects. 

Andy's picture

My first 3D project: A simple table

Simple table design

This table is consisted of 5 objects. The table top is a scaled box (cube). The four legs are scaled cans (cylinder).

To make this table, I carefully walked the turtle to the location where the objects should be placed and rotate the turtle to face certain direction before I place the objects. To move the turtle, I use the Quick Command Window to try first, and eventually I wrote in the Logo Editor Window the following commands to create this table.