Turtle Races

This project was a bit more complicated than the last one. We used python code for this not block code like normal. The assignment was for us to make a few turtles race each other. But the interesting part was that the winner of the race needed to be different each time and they had to move differently if that makes sense.

What I did was, I made my turtles and changed their color and, just for fun, I named them all after famous race car drivers. Basically, each turtle would move a total of 5-10 pixels each time and then repeat making them move differently and essentially look like they were moving faster and slower. I had a bit of trouble with being able to stop them at the end but Mr.Dembo my teacher helped me with a code to do that. I learned a lot doing this like how to use random randint code. After I did this code I was really happy with the results and asked my mom to see it. I then told her to pick a turtle and if that turtle won the race I would help her make dinner and if the turtle I picked won then I would get TV for the rest of the day. I raised the number of pixels my turtle could move and cheated to get my TV. Cheating is winning with extra steps.

Turtle Maze

The project for this week was to drive a turtle through a maze. Simple, right? Wrong, because the maze was different every time. We had to make the turtle go through every time.

Mr.Dembo gave us a code that would make a maze code. Each time you ran the code the maze would change. To solve this project I first had to break down the code and figure out how the maze worked. I found out that the maze was made by using lists. I learned that the space inbetween the first and second line was the same as the second line. This was the same with all the sections. The lines were also diagonal from each other and then moved on to the next set. So to get my turtle to move I wrote, turtle.forward(r1+t1/2). This told my turtle to move forward the distance of the first line then move forward half the space inbetween.

Then I had it do the same but with r2 and t2. I had a lot of trouble figuring out how much I wanted my turtle to move through the lines because if it was too much then the turtle would end up moving straight through the maze. I solved this by using trial and error. I just kept trying different numbers until one worked. The number I settled on was 48.5. I really enjoyed this project because I worked really hard and the code worked perfectly in the end so my efforts weren’t in vain.

Winter Themed Artwork

For this project we had to code an artwork that was winter themed in some way. Quite a simple concept.

I did two things for this project. I did a reindeer race and I drew a snowflake. The snowflake was easy. It wasn’t really meant to be part of the project I was just playing around with some code but I ended up making a kind of cool snowflake looking thing so I decided to use it as part of my project.

The reindeer race was also simple. All I did was use my turtle race code and change the names to the names off Santa’s reindeer.

Inspired artwork

Hey hey hey! This weeks assignment was to make a turtle art based on an artwork done by somebody else. We used the Turtle Art Gallery

I chose two artworks to base my project on.

The creator of Life Star(the one on the right) used a code to draw large shapes in the form of a circle. I also liked the color scheme of the artwork on the right. I took both of these aspects into account when I made my project.

This is my project.

This is my code.

I used actions blocks to simplify my code. Action block star is the cool rainbow star shape that you see in the project. The action block star 2.0 makes the stars in a circle making what I call MEGA STAR! And then there is star 3.0 and this action block changes the color of the stars to make the rainbow. And last the background was just me making the background black by making the pen size very large. And the maine code uses all these aspects to make the project that you see.

Turtle Art Names

This is a story how triumph turned into tragedy read at your own risk.

The assignment was to code the turtle to draw our names. I managed to code my entire name perfectly. I learned a lot in this experience and I hope you’ll join me in my journey.

Z

When brainstorming on my code I decided that I wanted every letter of my name to be a different color. Just so you know my name is Zaine. The Z was purple. It was the easiest to code. All I had to do was make the turtle move forward, turn, forward repeat. Keep in mind that only the Z was capitalized and all the other letters were lowercase.

A

For the A I decided to use an arc block for the code. I made an arc which is basically a circle and then coded a line coming off of it and bam A. The A was teal.

I

The I surprisingly took the most code. I had to use pen up pen down commands to make the dot on top disconnect from the I. The I was green.

N

For the N, I simply had to command the turtle to move forward, turn 120 degrees, forward, it was as easy as the Z. I made the N dark blue.

E

The E was the hardest to code. I ended up coding it pink. It took me sometime to think about how to do the E but in the end I used an arc block to make a circle but I coded it so that the circle would only go 3/4 around and stop. Then I coded a line from the end to form an E.

To keep everything organised I used action blocks to simplify my code. will writing this I don’t think I used action blocks as they were intended to be used but there’s nothing I can do now.

So far you have heard about a few of my struggles but, you have yet to hear the terrible thing fate had instore for us. Reader I advise you to leave this post and turn away if you are faint of heart. I was done with my project and my CSAI teacher Mr.Dembo gave me another project to work on. I made another project and started working and didn’t realise my fatal mistake. I forgot to save my work. My entire project was deleted and I had nothing to submit the day it was due. But thankfully I was given the opportunity to write about my post in full detail for a chance at a good grade.

About me

My name is Zaine Achen and I am a 7th grade student at Quest Academy. I live with my mom and grandparents.

Things I love

I have a pure breed German Shepherd named Lizzie. I love her but she is a brat. Lizzie is always ordering me around and she always gets what she wants which gets frustrating at times but I still love her.

Things I do

I am on the swim team and am currently swimming with the Buehler Blue Marlins. I was supposed to swim in the state championships for a chance to go to regionals but the meet was canceled due to Covid-19. My best strokes are back and Breast.

Other Things

I have two siblings, Arjun and Meera. Arjun is turning two this November and I love him more than life itself. There is also Meera who was just born this May, she’s only been alive for a few months so I don’t know how much I love her.

And the rest is on a need to know basis.

Turtle Art Patterns

Okay, so I’ve been using this thing called turtle art to make designs and stuff and here’s one I did. You see, what I did was I made a pattern of different colored circles. My first idea was to make the color change gradually with each circle. But I liked the yellow, blue, and purple so much that I decided to keep it with only those colors. I had a problem with the shapes. It took some time for me to figure out how to make a circle.