1. Home
  2. /
  3. Logo
  4. /
  5. Triangle Pattern

Triangle Pattern - Logo Typing CST Test

Loading…

Triangle Pattern — Logo Code

Draws multiple triangles to form a pattern.

to triangle :size
	repeat 3 [forward :size right 120]
end

repeat 6 [triangle 50 right 60]

Logo Language Guide

Logo is an educational programming language known for its turtle graphics and simple syntax, designed to teach programming concepts and computational thinking to children and beginners.

Primary Use Cases

  • ▸Educational programming for children
  • ▸Teaching mathematics and logic
  • ▸Turtle graphics for visual learning
  • ▸Introductory programming courses
  • ▸Developing problem-solving and algorithmic thinking

Notable Features

  • ▸Simple and readable syntax
  • ▸Turtle graphics for immediate visual feedback
  • ▸Support for recursion and procedures
  • ▸Interactive command-based environment
  • ▸Encourages exploration and experimentation

Origin & Creator

Developed in 1967 by Wally Feurzeig, Seymour Papert, and Cynthia Solomon at MIT.

Industrial Note

Logo’s turtle graphics made it a pioneering tool for teaching algorithmic thinking and computational concepts in classrooms worldwide.

More Logo Typing Exercises

Logo Counter and Theme ToggleLogo Draw SquareLogo Draw TriangleLogo Draw Circle ApproximationLogo SpiralLogo StarLogo Draw PolygonLogo Random WalkLogo Colorful Spiral

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher