In the final variation on the Quiltmaker software a slider is added to control
the size of each block and the equivalent space between patches.
A slider is a visual variable in MicroWorlds. Sliders have a name and report
the value set on the slider. The slider therefore is a Logo reporter/operation.
Instead of asking the turtle to move forward 40 steps each time a navigational
button is pressed, the turtle willl move by the distance set by the slider.
Our slider will be named, LENGTH.
The changeblock procedure has
an added instruction for setting the size of the patch to the value set by the
slider.
Step One - Create a slider named, Length,
and set its range from 10 to 100.
Step Two - Change the procedures in the procedures page to reflect the
changes in red below. You can also use Find/Replace to swap fd
40 with fd length.
to clear
clean
stamper, pu home
end
to stampit
stamper, stamp
click
end
to changeblock :costume
stamper, setsh :costume
setsize length
end
to north
stamper,
seth 0
pu fd length
end
to south
stamper,
seth 180
pu fd length
end
to east
stamper,
seth 90
pu fd length
end
to west
stamper,
seth 270
pu fd length
end
Qulitmaker with slider to determine block size
Links
A terrific source of links on the mathematics of quilting, geometric patterns,
related books and quilting itself can be found at: MathQuilt
or hit the Yahoo Quilt Index at http://dir.yahoo.com/Arts/Crafts/Quilting/.
Click here
for an amazing assortment of inexepensive, challenging and beautiful foam tesselating
puzzles from http://www.tessellations.com/.
About the author
|