Winter Themed Artwork (Python with Turtle)

So this time in CSAI with Christmas just around the corner in class we created Christmas-themed artwork. I decided to draw a Christmas tree. Now, this assignment was not much of a challenge but I was able to learn and use some new commands. Now both the code and the actual drawing are too large to show in a picture but here is a link to it so that you can see my code. There wasn’t that much to talk about today about this project. Thanks for reading and I hope you will be reading my next blog.

 

 

Turtle Maze Challenge

So this time in CSAI the class worked on solving a maze with code. So Mr. Dembo sent us all a link to a code that would randomly draw a maze and what we had to do was write a code that could solve the maze consistently. This project was for more complicated than any project we had worked on before. In order to solve the maze and so that it could consistently solve different mazes (because each time it draws a maze the maze is different than before) I had to look at the variables used for the maze and use those same variables to solve the maze. Now the code is too long to show in a picture so I will provide a link to it here. Now due to the fact that we had a limited amount of time to work on this I was unable to get my turtle through the entire maze, but I was able to get it through the first two rows as you can see here: That is all for today. Thanks for reading, I hope I will see you in the next one.

Turtle Race in Python

So today in CSAI we worked on creating a turtle race in Python. This was the first time that we used any variables of sorts. Here is a picture of my code:

As you can see here this isn’t a very complicated code but remember that this was my as well as most of the rest of the class’s first time working with variables in python. If you would like to look at the code more closely I will provide a link here.

There really isn’t much more to talk about. I didn’t have many issues while writing the code so that is basically it. Thanks for reading and I will see you in my next post.

Inspired Artwork (Turtle Art)

So this time in CSAI we needed to create a piece of artwork in Turtle Art inspired by the one of Turtle Art Books, Book 1, Book 2, or Book 3. I was inspired by this painting called “us”. I really liked the stick figures so I decided to make one of my own.

 

 

 

So I started with making a background now at this point I had already had an idea in my head. My idea was to make a sort of Light vs. Dark type thing going on inside the stick figures body. So for the background, I decided to make one half of the screen blue (the left half) and the other half of the screen to be red (the right half).

 

 

 

 

 

 

Here you can see the background with the code used to make it.

 

 

 

 

 

 

 

 

 

 

 

 

 

Now the next thing I needed to do was make the stick figure. Now my code is too long to show in the picture so here is a link to the code.

 

So now that I had my Stick figure done I wasn’t sure how to add to it but then an idea sprang to mind. I decided to add sort-of beams of energy traveling into the character’s body to symbolize two sides inside him conflicted.

 

 

 

 

 

So here you can see the whole thing with all the code. again here is a link to the code so that you can see it all more in detail. So now I was finally done. All I needed to do now was write this blog post.

 

Thanks for reading, I’ll see you in the next blog.

Name Project

So this time we had to make our name in turtle art. My name is Jeff but you probably knew that already. At first for all the curves I tried to use the repeat and inside I had forward 1 right 1 and repeat however many times I needed but then Mr. Dembo told me about the arc block which was extremely useful instead of using three blocks for a curve I could now use just one which shortened my code a lot. I also used action blocks for each letter and the rest of the code is to put the turtle where it needs to be in order to draw the letter. Originally I had used two different codes for F but then I figured out a way to just use one F action block. that’s basically it for this one

Turtle Art

This is a cool shape that I made with turtle blocks. it took longer than it should have. One of the issues I was having was how to change the colors but in the end, I was able to figure it out. I also had issues with saving the project and before I had lost the project and had to remake it. This is a link to the code https://turtle.sugarlabs.org

All About Me

Hi, I am Jeff Zavelsky. I am a student at Quest Academy, a school for gifted children. On this blog, I am going to Document my education at Quest, mostly I am going to be posting things about CSAI. I am a huge Star Wars, Mission Impossible, and Batman fan.