Making Patterns 1

Arva Syed: In this project we are using micro:bits to program GiggleBots. Since micro:bits use Microsoft MakeCode (a language new to me) I needed to test out how the code would translate to motion in the bot.

first I started simple with just going forward.

Screen Shot 2018-12-01 at 3.48.02 PM

Upon uploading it into the bot and taping on a pen I learned that 1000 ms=9.5 in. of line drawn. This means that each inch drawn equates to about 105 milliseconds

20181201_151844

From this info I tried to diagram a pattern and switch from terms of inches to terms of milliseconds. so that I could code this pattern. 20181201_160220

Here is how I attempted to code this pattern:

Screen Shot 2018-12-01 at 3.36.16 PM

Upon testing it the outcome was far different than what I imagined.

20181201_153421

The line turned out to be much more wavy than the sharp lines I had expected. Next I am going to try making a pattern that is much more wavy like this:93d20c6d-58a8-4b52-a207-fed256dbd9be

Then I will work my way up to more complicated patterns.

Well, that it for now!

~ Arva Syed 12/1/18

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.