[ Home | About | What's New | Email | Franšais ]

Previous Index Next

Mswlogo downloads

Drawing Geometrical Figures in Logo

 

Geometrical figures can be drawn using the FD, BK, LT, RT and HOME primitives.

A Scalene Triangle

 

TO scalene

CS

FD 100 

RT 150

FD 50

HOME

END

An Isosceles Triangle

 

TO isosceles

 

CS

RT 20

FD 100 

RT 140

FD 100

HOME

      

END

An Equilateral Triangle

 

TO equilateral

 

CS

FD 100 

RT 120

FD 100 

RT 120

FD 100 

      

END

A Rectangle

 

 

TO rectangle

 

CS

FD 100 

RT 90

FD 50

RT 90

FD 100 

RT 90

FD 50

RT 90

      

END

A Square

 

TO square

 

CS

FD 100 

RT 90

FD 100 

RT 90

FD 100 

RT 90

FD 100 

RT 90

 

END

A Kite

 

TO kite

 

CS

FD 90

BK 30

RT 90

FD 30

BK 60

LT 45

FD SQRT (2*(30*30))

RT 90

FD SQRT (2*(30*30))

HOME

FD 60

LT 90

FD 30

HOME

 

END

A Pentagon

 

TO pentagon

 

CS

FD 100 

RT 72

FD 100 

RT 72

FD 100 

RT 72

FD 100 

RT 72

FD 100 

RT 72

 

END

 

 


Logo Users Ring
Previous 5 Logo Spoken Here: Ring Home Join Statistics Ring Home
Next 5
Random Site
List Sites
pages viewed since January 19 2002
Previous Index Next