top of page
Search

Creating Algorithms

  • Writer: Kimberly Agosto
    Kimberly Agosto
  • Nov 12, 2018
  • 1 min read

November 9, 2018 Today we created our own algorithms using a simplified method of code commands. We simulated real code by starting from the origin, (0,0), at the upper left corner, and based our code off of that starting place.


We mainly focused on creating lines, connected by two points, to create a bigger picture. The commands we used was start, moveup, movedown, moveleft, moveright, next and end. We made algorithms for our own pictures on post-its, then gave those post-its to partners so that they could recreate the original image.



This was my partner Hanna's algorithm, which I recreated successfully. I liked her method because it was very clear, and I knew when I would move and from where.




This was Hanna's recreation of my image. Unfortunately, my numbers were off as I had miscounted, and so the image was not a success. I believe that next time, I should adopt a more simpler algorithm like Hanna's so I could keep track of every point and have a clear, methodic approach to constructing the drawing, rather than my confusing one.


Next, we made a new image, using a slightly modified algorithm. We were given the option to use mode(center) to describe a point that would go in the center of the object. The objects we were given were paper shapes, which we placed in specific spots on our board and then reflected those spots in our algorithm.


After this, we were told to exchange code with a group to recreate the image they had made.


We managed to recreate the image successfully.

 
 
 

Recent Posts

See All
My game!

Link to my game: https://editor.p5js.org/kimagosto/sketches/f2JnXUJU8 In my game I created a spaceship that has to avoid the incoming...

 
 
 
Creating Data Summary Tables

January 27, 2019 Data summary tables are a good idea because they concisely present data in an aesthetic manner that is easy to read....

 
 
 

コメント


bottom of page