S2 Draws an Easter Blessing
Video at
http://www.youtube.com/watch?v=kHZRsPo_wlI
Inspired by Jessica's Hokey Pokey video and lesson I decided to try making my S2 draw and play music at the same time. Using the GUI I developed the music code for "Amazing Grace" by entering the notes from a hymnal. I then viewed the code in the Propeller Tool. I added Jessica's movement code from "Draw your name with an S2 Robot" (mostly to save on typing) with a couple of modifications (see code comments) to draw a cross. To develop the coordinates for the cross I used Jessica's method of using graph paper shown in the "Draw your name with an S2 Robot".
I had drawn the cross with shadow lines, but the S2 missed the connection points as it moved back up the cross. I left the code in so you can try it if you want to. I'm working on the issue, but if you come up with a solution please share it with everyone.
Keep on Scribbling and have a Blessed Easter.
Tony
http://www.youtube.com/watch?v=kHZRsPo_wlI
Inspired by Jessica's Hokey Pokey video and lesson I decided to try making my S2 draw and play music at the same time. Using the GUI I developed the music code for "Amazing Grace" by entering the notes from a hymnal. I then viewed the code in the Propeller Tool. I added Jessica's movement code from "Draw your name with an S2 Robot" (mostly to save on typing) with a couple of modifications (see code comments) to draw a cross. To develop the coordinates for the cross I used Jessica's method of using graph paper shown in the "Draw your name with an S2 Robot".
I had drawn the cross with shadow lines, but the S2 missed the connection points as it moved back up the cross. I left the code in so you can try it if you want to. I'm working on the issue, but if you come up with a solution please share it with everyone.
Keep on Scribbling and have a Blessed Easter.
Tony
Comments
Happy Easter!
Haven't had a chance to look at the code, is it missing the connection points by a lot or a little? I've found that sometimes the Sharpie moving around in the pen port causes some inaccuracies. I've actually wrapped mine in some masking tape so they fit snuggly in the hole. :]
Jessica - When it draws the 3D shadow lines it starts at the bottom where the video ends and as it moves back up the cross on the left side it keeps missing points by an increasing amount till at the top it is off by a 1-2 cm. If you get a chance to run the code that would be great to see if it does the same for you. I will run the full code and post a picture as well.
It is great having a little robot with so many features ready to go out of the box. When I get frustrated with my other robotic adventures I grab my S2 and make up a little program and have fun. That's when the head gets cleared and you remember why you do this - to have FUN!!!
Thanks again all,
Tony
Edit: added pictures which show the best one to date. Some times errors greater.