How to create a Christmas tree with EasyLogo
In this example we create a Christmas Tree, with Christmas balls that will change randomly colors. We use the EasyLogo program, which uses a simplified version of Logo programming language.
The basic steps that students should follow are:
- Split the tree in simpler parts
- In the 1st procedure draw Christmas ball with random color
- Create different procedures for each part of the crown of the tree that have Christmas balls (3 procedures of green triangles with colored balls on their edges)
- Create a 5th procedure that will combine all parts into a Christmas tree (with random colored balls)
- In the last procedure (6 th ) we must use a repeat loop that clears the canvas and calls the Christma tree of the previous procedure, with a small delay.
- To establish a reference point for their tree, e.g. the bottom left of the tree trunk
The full procedure is available in the book: Teaching EasyLogo: 2nd Edition, available from Amazon: http://www.amazon.com/dp/B016TYHVXO (Kindle Version) and https://www.amazon.com/dp/1520255403 (Paperback)
No comments:
Post a Comment