Tuesday, July 31, 2012

Turtle

I'm learning Python during the summer. Today I used Turtle, a drawing program in
Python, to draw a star. It might look simple BUT IT REALLY ISN'T. Programming takes a lot of focus and concentration.




I could have made it any color, but my little brother wanted blue. I used two different ways to get this star. One is the long but easy way, and the other is the short but harder way. The easier way actually looks harder than it actually is, and the difficult way looks easier than it is.

This is the code that I had to figure out for myself, my father helped me a little but I did most of it myself.


Easier Way =      
Difficult Way =      

from turtle import*
speed('slow')
color('pink')
begin_fill()
forward(300)
right(144)
forward(300)
right(144)
forward(300)
right(144)
forward(300)
right(144)
forward(300)
end_fill()
hideturtle()
exitonclick()

from turtle import*
def star(n,col):
    color(col)
    begin_fill()
    i = 0
    while (i < 5):
        forward(300)
        right(144)
        i = i + 1
    end_fill()

hideturtle()
exitonclick()

I used a loop for the harder one. 

Do you know what a loop is? A loop repeats itself over and over again until it is stopped. Well, instead of writing 'forward(300), right(144)' five times, just put it in a loop, and it still makes a star! Just quicker.

Priya's Hints: 

1. I used 'speed', to... make the turtle draw the star faster! I don't have all day.

2. Before I can start drawing, I need to get the turtle to appear. I can write 'import turtle', at the top, and to draw, I'll have to write next to my code: turtle.forward(value). Or, I can write 'from turtle import*', and write in my code like this: forward(value).

3. I use hideturtle() to get rid of the turtle after it has finished drawing the picture. It looks bad on the picture.

4. I use exitonclick() to prevent the turtle screen from crashing after it has drawn the picture and I want to close the window.


5. To add color, I write: color("color of your choice"), and under that, I write: begin_fill(). At the end of my code, I write: end_fill()

Some other things: When I put things like, 'color of your choice,' or 'value' inside parentheses, you are supposed to put a number or a color inside the brackets. DO NOT write the actual words in there or you will get an error message.


Yesterday my father helped me with these designs.

  It might look like a simple design and easy but to create these designs from using code was hard.





Wednesday, July 4, 2012


4TH OF JULY Pictures, Images and Photos
























HAPPY INDEPENDENCE DAY AMERICA!!!!!!!!!!!!

For my readers of are not American or are from other countries the Fourth of July is when my country celebrates its independence from Great Britain.

This link is from a previous post I made about The Fourth of July.

Thanks for visiting my blog, leave a comment and visit again.

Carnival Part 2

Before reading this post, CLICK HERE for beginning of story.


So, my mom tried to get her money back, but they could only give her some new fish. BIG REVEALING - WHAT REALLY KILLED THE FISH?: They also said the tap water we used to fill the bowls killed them!

 We should have kept the fish in the water they were in, and filled the bowls with that. When my mom filled my bowl, some of the pink water went into the bowl with the tap water, resulting in my fish living a little longer on that water before dying.

My mom brought home two new fishes...

I named my new fish Pablo, instead of Paco. You'll never guess what my brother named his. 
Orange Fish "Pablo" = Priya
Silver Fish "Knock" = Naren

Pablo
Sits around at the bottom of bowl, only swims around when it's time to eat.


Knock
Hyperactive and crazy. Knock also poops a lot, as you can see in the picture.


Knock. That's what my brother named his fish. Like a knock on the door.
It seems like all of my brother's fish are jumpy and fun to watch, but mine just sit around.

You're welcome.


Also, my mom picked up some FRIED OREOS from the carnival! I shared some with my dad, but I wanted them all...

They were so good! Powdered, battered, and sweet. Did you ever have something sweet, but the crave for something salty! These Deep fried cookies are two for one!





Monday, July 2, 2012

Carnival

Speed, Chair Ride, Bungee Jump, Midway, UFO, they're all rides I went on today at the Carnival.
The event sold foods like fried oreos...



To french fries.



I went on so many rides! First I went on the UFO... I couldn't lift my legs or my hands up on the UFO or the Cobra! The Cobra was fast, and spun around in a circle, turned us, then spun around again. At one point too much air and wind would go in my nose when we turned up and I had to "spit" it out. On the Speed, the ride turned me and my dad forward and backward with full force.


The Chair Ride was fast, but not as thrilling as some of the other rides. My little brother thought it was the fastest thing in the world.





We also went into a Scooby - Doo Haunted House. It was loud, but the skeletons and stuff were made of paper and poorly - wrapped plastic, you could tell.


The Bungee Jump was so much fun! I was at least ten feet above ground. I don't know how to do any flips like I saw some other kids doing, though.



Me and my mom went on the Farris wheel. She liked it, but thought it was a little fast. I thought it was pretty slow. Unlike other rides, when you go down, your stomach doesn't drop or go up.



I went on a mechanical bull ride, as well. I fell off every time.:(
The last time, I fell, and the bull's head hit mine. I'm okay.



At the midway, I played a game of darts ( I had to pop balloons with them) and won a orange plush puppy. Then, I beat a little girl and her dad in a game of water guns where you had to shoot the targets. You needed to keep your gun on the target to keep your plush animal moving toward the top. I won a little pink dragon. Then I decided to play again and exchange it for something better. I looked at my opponent. It was a tall, burly man who looked like he meant business. Usually, I don't watch the animals go up. I just keep my eye on the target. Surprisingly, I won! I exchanged my dragon for a white hat!



When it was almost time to leave, my mom told us we could go to a Midway game that had plush fish for prizes. We got three bowls of ping - pong balls, and our goal was to get a ping - pong ball into a colored fish bowl. My little brother managed to get one in, and so did I! I thought we were going to get the big plush fish, but the little boy helping at the stand grabbed two large bags. Inside the bags were LIVE fish! My mom's eyes bugged out at this, and my dad laughed.

"I didn't know they were going to get real fish!", my mom said.

"Yeah, well, they got the balls in the bowls," the kid said.

The fish the kid grabbed were pretty. Mine was a goldfish in orange - colored water. It was a orange all over except for the white spots on the bottom. My little brother's was white in pink -colored water, and had a single orange stripe on it's tail.

"I'm going to name mine Paco!" I said.
"I've got my fish's name in my head," said my brother.


My brother didn't know how to hold the fish bag. He slinged the fish over his shoulder so the water went sideways; he shook the bag so some the fish's scales all came off.


My mother went off to buy tanks and food from the stand, while me and my brother and my dad stood around with the fishes.


While walking to our car, I saw one of the kids who rides my bus working at one of the food stands with his sister. I said hello to him. My mother said, "Ask him for some free food." I looked at her funny, and she laughed, "I'm kidding.", she said.


While on the way home, my brother said that he was going to name his fish John. John and Paco. Okay...


My mother drained the water from the bags, added marbles to the tanks, and put the fish inside the tanks.



My little brother's fish was wild in his aquarium, while mine hid from me.



Paco
Still and quiet, hardly moves.
My fish was scared at first, but then I put rocks around his tank and he started to come out. He's okay so far.
NEWSFLASH: I think Paco is dying, too. His jaw keeps moving, but he's not moving.


John
Hyper and jumpy, probably claustrophobic.
NOW: As of now, John and Paco are dead.

My mom thinks the fish we won were sick, so she is going to take them back tomorrow for a refund. She says that we can't have any more fish. I'm not so sure they were sick.


Here ends a colorful, full of motion and toys day. CLICK HERE for Part 2 to this little "fishy adventure". Maybe next time we'll find out what killed the fish... or will we?

Mona Lisa on Bamboo Create





As you can see, the first picture is of the real Mona Lisa(painted by Leonardo da Vinci), but the second and third are pictures I edited Bamboo Dock.

Bamboo Create: Bamboo Dock is where you keep all of your Bamboo Create apps.(I have a Bamboo Create by Wacom, see facebook picture on side bar!) A Bamboo Create is drawing tablet that you connect to your computer. It comes with a pen, and you can write and draw with it. The tablet can also be used as a 
mouse.
I like to draw on Autodesk SketchBookExpress 2011 with my tablet.

Mona Lisa: The Mona Lisa was painted by Leonardo da Vinci during years 1503 and 1506. It is believed to be a painting of a woman named Lisa Gheradini, wife of a Florentine Merchant. Some people believe that "Mona Lisa" is actually Leonardo da Vinci himself. Others believe that the painting is of Leonardo's mother. It is still a mystery as to who was really the model for this painting.
A comparison of a sketch of Leonardo da Vinci and the Mona Lisa, possible evidence of the Mona Lisa and Da Vinci being the same person.


The Mona Lisa is the most parodied, visited, and, well, one of the most popular works of art ever. That's why I found an app for vandalizing it in Bamboo Dock.