My Programming Projects

Home
The first day I learned how to create a webpage in HTML. I made pages for robotics and my server project, and linked to those pages from my index.
The first week I learned the LOGO language (which Mr.Miller helped developed at MIT), and we drew triangles and other figures using code, loops, and conditional statements.
On Thursday we created a colony of turtles and used loops and code to get them to move around randomly, "eat" grass and reproduce. Here's a screenshot of my colony:

On Friday we learned how to create fractals using recursion. Here's a picture of a "Nested Triangle:"

It was surprising to me that this complicated figure could be made with only a few lines of code. Here's the entire code for that fractal:

Today in the 17th of October we went into a new programming site called Python to create simple games and the like. We made a few games like a Guessing game and even paper, scissors, rock. After that we then began coding on Python To bring back the turtles into Python and make random squares and shapes. I for one hated it because it was frustrating to make the codes for them and it was pain to find out how to know the damn codes. But after figuring out the codes it was fun to do and to look at so it wasn't so bad. I was able to make several images and shapes and here is an example of some of them.


On Friday we continued with our programming projects in Python 3.3 in making more complex shapes and features with just codes and the such We started making trees with just codes which was impressive in alot of ways and it was beautiful to look at our creations. It took me a couple tries to get the codes correct to actually pull it off and make it work. Finally I got it to work and the final product was great and it was fun. Basically we made digital trees of several inputted codes and they used many codings of directions to code it to the right shape . Here is a picture of my fractal

The next part of was that were going to make figures out of squares like last time except it would be a bit more complex. The process was quite similar to what we did to the tree except we are three square called trisquares. Again inputting the codes to build a figure took a while but once you are done coding it would be awesome. We put many directions like rt and lt to make the shapes and then we changed around the values for the sizes and amount just like with the trees. Once we began to make the squares we put 150, ? to give it the size and required directions to make the shapes. Here are a few examples of my fractals I created through this process.

Yesterday we started using game making programs called Scratch and BYOB which was made by MIT and the other by UC Berkley. They are mostly used by beginning programmers who are making games because it allows you to make simple 2D games with many options it gives. It was confusing to look at the programs at first, but as looking closely at the blocks of coding it uses the same codes that we typed out on net logo and Python after a few classmates noticed it. The program simplified the use of codes that we did before into blocks that can be places together to make a complete code for an action of a sprite or it's property. We started to get a feel for it and began by making a simple pong game with the blocks the code that we had and make it for play. Here is a screenshot of my pong game.