ELLIPSE

Synopsis
ELLIPSE crosswise.semiaxis inline.semiaxis
Description

Draws an ellipse based on the turtle heading, turtle position, and given inputs. The center-point of the ellipse is the turtle's current position. ELLIPSE does not move the turtle. The size and shape of the ellipse is based on the crosswise.semiaxis and inline.semiaxis inputs. The crosswise.semiaxis input is the distance from the turtle to the ellipse in the direction perpendicular turtle's current heading. The inline.semiaxis input is the distance from the turtle to the ellipse in the direction which the turtle is currently heading.

Example
; a 2D example
ELLIPSE 100 200
CLEARSCREEN
ELLIPSE 50 50
CLEARSCREEN
ELLIPSE 50 50
; a 3D example
PERSPECTIVE
REPEAT 18 [ELLIPSE 100 200 RIGHTROLL 10]
See Also
ELLIPSE2

SourceForge.net Logo