Skip to main content

How Fast Are the Cars in Angry Birds GO?

Really, the big difference is that Angry Birds and Bad Piggies both have a side view of the world. Side views work quite well for video analysis (which is how I get most of my data from the game). Angry Birds Go! uses a 3D view showing the motion from the perspective of the car and bird driving it (or just above the car).
Analyzing the motion in cases like this isn’t as straight forward as sideways motion. I’ve looked at similar cases before though. The one that comes to mind is this analysis of the Mars Curiosity Landing video. The basic idea is that the farther away an object is from the “camera”, the smaller it appears. By looking at this angular size you can get a measure of the distance to the camera (or viewer). Here is a useful illustration of the relationship between angular size and distance.
Calculating the Angular View of an i Phone   Wired Science
I can measure the angular size of some object in the video and from this get the distance. But there is an easier way which I will describe in a moment.

How Do You Get Data?

Right now, Angry Birds Go! is just on mobile devices. So, how do you get a video of the game? I used two things. First, there is this app for Mac OS x called Reflector. It turns your Mac OS X computer into an airplay receiver. You can send the screen of your iPhone to your computer. I think there is something similar for Windows computers too. The next step is to capture the screen as a video. Quicktime does an excellent job here. It’s that easy.

First Estimation of Speed

Honestly, this sort of feels like cheating since it is so simple. On some levels, you get check boxes for jumping the car over some set distance. Here is a sample of one of those levels.
You might not notice this in the middle of a race, but you can see it in this video. When you jump on these levels, it tells you how far you went. Well, it stops reporting jump distances after you get over the required distance. I can use this reported distance along with the time of the jump to get a first approximation to the speed. How do you get the time? You could just look at the frame number in the video, but I prefer to use Tracker Video Analysis to get the time.
For the first jump in my test video, the car traveled 40.6 meters (as reported by the game) and it took 0.95 seconds. This gives a speed of:
La te xi t 1
If you like different units, the speed is 95.6 mph. Zoom. Faster than I would have thought. Well, in my test video, I have two more jumps. Using the same idea, I get speeds of 44.90 m/s and 55.50 m/s.

How Steep Is the Race Track?

This is another approximation. However, let me assume that when the car jumps it starts out with a horizontal velocity and leaves off a vertical drop. This would make it just like projectile motion (assuming that air resistance can be ignored). Here is a diagram.
Fall 13 Sketches key
The key to projectile motion is that the motion can be broken into a vertical and horizontal case. Each case can be treated separately except that they have the same time interval. For the vertical motion, it’s not too difficult to calculate the height that the car falls. Assuming a constant vertical acceleration of -9.8 m/s2 and an initial vertical velocity of 0 m/s, I can write the following kinematic equation.
La te xi t 1
Since I know the time for this vertical motion (from the video), I can get the height. Using the 3 jumps in the test video above, I get vertical drops of 4.42 m, 3.01 m, and 3.02 meters. Remember, I am making the assumption that the car starts off moving only horizontal. If instead the car left the ground at some angle above the horizontal, then the height would actually be lower. However, I have to start somewhere. I have no easy way to measure this “launch angle” and it looks close to horizontal.
What about the angle of this course? If I use these three jumps as an estimate then I can calculate the angle based on the height and horizontal distance for these jumps.
Fall 13 Sketches key
Here I am making the assumption (yes, I am making a lot of assumptions) that the average slope of this track is about the same as the slope for these jumps. Even if it isn’t exactly true it’s a pretty good approximation. So, based on the three jumps I get a slope angles of 6.19°, 4.89° and 4.34°. Let’s just call this an average slope of about 5°.
Now for the wild speculation. Suppose that I have my car and I drive with an average speed of 45 m/s down a slope that is inclined at 5°. I did this exact track and it took me 42 seconds to complete. So, how long is the whole track? This is your most basic kinematics problem. Using the speed and time, I get a distance of 1890 meters or 1.17 miles.
How tall is this hill that contains this track? Assuming a constant slope, then I can find the height using a giant right triangle. The hypotenuse of this triangle is the 1890 meters and the angle is 5°. Using the sine function, I get a height of 164 meters. So, it’s a hill and not really a mountain. I guess you could call it a mountain if it made you happy.

More Questions

This is all just a rough approximation. I think I can do better by using the angular size of objects in the game. Once I do this, I won’t need these recorded jump distances to get the speed of the car. After that, I can attempt to answer the following questions:
  • How big are things? How big are the blocks and the birds and stuff? You would think I could just measure the angular size of these things, but I can’t. Well, I can but I don’t know the angular field of view in the game.
  • What do the different powers do? I assume that some of these powers make you go faster, but how much faster?
  • Is there a correlation between car horsepower and speed?
  • If the cars go at nearly a constant speed, what does this say about friction and air resistance?
  • Is there air resistance when the cars jump?
Some of these questions are quite difficult. However, if I don’t write them down I will forget about them. Anyway, if you want to take a shot at any of these – go ahead. One thing that I need is a better video. When I capture video into my computer from my phone, it’s a little choppy.

Comments

Popular posts from this blog

Dangerous sex Positions For Men

The most common cause of pénile injury is found among the variety of potentially dangerous positions used for séxual intercourse. The most popular is the ‘woman-on-top’. This type of position can result in an impact between the pénis against the female pelvis or perineum that can easily traumatize the pénile cylinders. A pénis becomes érect when the lining of the cylinder within it is engorged with blood.  A pénis fracture can occur when there is trauma to the eréct pénis, resulting in a rupture of the cylinder lining. This very painful injury is often accompanied by an abrupt, distressing cracking noise that is immediately followed by dark bruising of the pénis due to blood escaping the cylinder. In ten to 30% of pénis fractures, the urethra is damaged and blood may be visible at the urinary opening. Given these signs, an injury should be relatively simple to diagnose, right? You would be surprised, even with the unsettling sounds of a fracture occurring, many men...

Google Authenticator, a formidable layer of protection to your account.

​Google Authenticator is a free security app that can protect your accounts against password theft. It's easy to set up and can be used in a process called two-factor authentication (2FA) offered on popular social media services like Gmail, Facebook, Twitter, Instagram, etc.  The app ( iOS / Android ) generates a random code used to verify your identity when you're logging into various services. The code can technically be sent to your phone via text message every time— but the Google Authenticator app provides an extra level of security.  SMS-based 2FA has a  known security flaw , and any devoted hacker can attempt to  socially engineer  an attack against your phone company. The Google Authenticator app eliminates the possibility of an SMS-based attack  using algorithms  to generate the codes on your phone. Here's how to set it up: 1. Download Google Authenticator from either the Apple App Store or the Android Google Play store. It's free. 2. Nex...

AWS Battles Rivals: Advertising Campaign

Amazon Web Services has defeated IBM in a competition for lucrative federal contracts, threatened Microsoft's core businesses, and reshaped corporate technology. In the last few months, the pioneering cloud-computing unit of the online retail giant has taken a page from the playbook of some of its more traditional competitors: It started advertising. Ads have been splashed across billboards and in airport terminals, television spots and web videos, featuring a whiteboard full of sketches of software architecture and appeals to invent something using Amazon's collection of rented computing services. The advertising campaign, which bears the "Build On" tagline, represents a milestone in AWS' march from technology upstart to one of the major players in business software, technologists and marketers say. For many years, AWS didn't advertise, partly because it didn't have to. The service held a wide lead over the competition, and word-of-mouth was enough to...