So you are in the Google Gravity right now? Ok let me explain how that work actually, when you click the ‘I am feeling Lucky’ button you are being redirected to other page which is not, check out your address bar and you will notice that. But how do you end up with the page when you click the ‘I am feeling lucky’ button? What this button does is that it takes you directly to the topmost result of a search result by bypassing the search result page. Try typing any search word in Google and hitting ‘I am feeling lucky’ button. What do you find? Now try this, type ‘Google Gravity” in but this time hit the search button instead. What happens? Yes you are taken to the search result page. Not click on the topmost result. Can you see the Google homepage losing its gravity?

Why make the elements in the page to lose their gravity? As mention above it is due to the effect of the JavaScript and box2d-js embedded in the page.


8 Tricks of Google Gravity

Well guys what kind of  tricks you could play with the Google Gravity?

Trick 1. Move Them Around
If you thought that once the elements fall down, that’s the end of the magic – you are wrong, its the beginning. Try holding any piece. To hold a piece click and hold the element and drag then around the screen. You can grab and move all the pieces.

Trick 2. Drop Them 
In addition to the above one, you will see that once you un-grab the elements (by leaving the mouse button) it falls below. Well its like the real world you see, gravity is acting over here.

Trick 3. Hit Them Hard 
Its the fun part. Grab any piece and use it to hil others. Fun. Also the size of the element you are using has effect on the force it generates. Try using the logo or the search-bar.

Trick 4. The Pendulum
Hold the Google logo by one of its sides and hold it up and shake it, It starts to oscillate like a pendulum. Try spinning it around!!!

Trick 5. Shake Effects
Restore the window to a smaller size. Now hold the window and try shaking it around. Didn’t expected the elements to move around that way? ;) Well it does!!!

Trick 6. Enlarge Effect
While the window is still restored to a small size, maximize the window and see the elements jump.

Trick 7. It’s Alive
If you have not realized it already, all the elements in the screen is actually working. All the links, buttons, radio-buttons work exactly in the same way they meant to be. Try typing on the search-bar,,,

Trick 8. Search Still Working
This is the one which very few people actually know. Try typing any query into the search-bar and click the search button (or if you cant find it in the debris hit the enter button). WOW! Right? The results are dumped into the screen as if by some invisible hands. Again these links are actual results and are working.


Posted by

Mahesh (MGIT ECE 4th year)

Watch This Video….