Turtle art lesson 5

From Karnataka Open Educational Resources
Revision as of 17:38, 22 April 2015 by ashok (talk | contribs)
Jump to navigation Jump to search
Week 5 Creating action sequences and patterns based on defined actions.
Objectives
  1. Combining input parameters, action sequences and evaluating conditions to make Turtle move
  2. Calling a function (Action)
  3. Passing values (for parameters) to function
  4. Familiarization of ways of defining parameters - movement, co-ordinates and colour
  5. Visualize steps, space, co-ordinates and shapes through movement and vice versa
Steps

1.Define an action as a sequence of commands 2.Addition and division commands defined as actions 3.Note that the values are stored in variables “box 1” and is transferred between actions. The variables can also pass value from main code to the action sequence 4.Tracing a circle of a given angle and a given radius