Sabtu, 13 November 2010

Week 6 : Logo Programming

 Logo is a high-level programming language noted for its ease of use and graphics capabilities. Logo's syntax is more understandable for novices. Logo is so easy that it can be understood by the 7 to 77 years old. Logo's graphics language is called turtle graphics, which allows complex graphics images to be created with a minimum of coding.


Drawing a shape using Logo program applets by putting some commands into the terminal.
eg:

  • Square: REPEAT 4 [FD 100 RT 90]
  • Circle: REPEAT 90 [FD 10 RT 4]
  • Octagon: REPEAT 8 [FD 50 RT 45]
  • Star: REPEAT 5 [FD 100 RT 144] 
You can see good website for command using logo program. the link is http://mckoss.com/logo/turtle.htm


Link: http://www.mathsnet.net/logo/turtlelogo/index.html


An Example is in the link below


Example

Tiada ulasan:

Catat Ulasan