Friday, April 22, 2016

LogoTurtle Constellation

A conversation about how the LogoTurtle and ink work led to this project starter.

What better place to play with ink blots than drawing constellations? Since I am an Aries, I found a nice image of the constellation that also modeled the relative brightness of each star.

I used a protractor and a ruler to measure the degrees that the LogoTurtle would need to turn to drive to the next point in the constellation. Conveniently one distance between stars in this image is five centimeters. In order to translate the real distances into LogoTurtle steps, I used the five centimeter measurement as my basis, equating it to 100 LogoTurtle steps. I remarked to the students around me at the time that I was using algebra to figure out the information I needed for my program, so pay attention, kids!

I programmed the procedure to put down the pen and then wait. When the LogoTurtle gets ready to move to the next position, it picks up the pen. I had to play around with the wait time, and it still needs debugging. The goal is to get a good pen bleed where the stars are, which would also provide an element of randomness to each piece produced.

I added this project to the LogoTurtle Curriculum site.

1 comment:

akmal niazi khan said...

Programming is very interesting and creative thing if you do it with love. Your blog code helps a lot to beginners to learn programming from basic to advance level. I really love this blog because I learn a lot from here and this process is still continuing.
Love from Pro Programmer