Lesson 1.5: Changing Line Shapes
Step 1 - Link Shapes Editor
Link Shapes Editor. To do this click on
Tools in the menu bar, then select the
Link Shapes Editor.
You should see something like below.
Step 2 - Adding a New Line Style
Now click on the
curviness with a random number.
Now choose a line style for
middle line and/or
Step 3 - Creating Linked Turtles
Let's start with creating a few linked turtles. You can do this by typing
create-turtles 5 [ create-links-with other turtles ]
Now let's move the turtles around so we can see the lines. Type
[ forward random 150 ] into the observer input field.
Lastly let's change the style of the line from the boring solid line to the
line you created in Step 2. To do this we'll use the following command
links [set shape "curvy" ]. If you used a name different from
curvy type that instead.