Want to fool your pals with a Google search result page that slopes downward like gravity? One of the numerous entertaining “Easter eggs” tucked inside the Google search engine is Google Gravity, along with a variety of other games, jokes, and effects.
Start by going to the Google homepage with a web browser to use Google Gravity. Search for “Google Gravity” and then select “I’m Feeling Lucky” to open the Google Gravity page. Despite the fact that this method was first introduced back in 2009, it still works well!

Step 1: Create your HTML Page
Create your HTML page first, then add Google Gravity to it.
You can copy and paste the following code into your editor and save it as index.html if you just want to test it out.
Step 2: Download the JavaScript files
The JavaScript code is already divided into two files. Click here to download them.
- box-2d.js
- gravityjs.js
Beside your HTML file, place the files.
Read More: Why a 4 K Laptop Is Appealing.
Step 3: Include the JavaScript files
Just before the body tag that closes the document (/body>), add the JavaScript files to index.html. The code is available for copying and pasting.

Read More: Download Bollywood Hollywood Telegu Marathi Movies in Hd from Mp4moviez-2023.
Step 4: Provide the Class Name
Now give all the elements that need to be pulled down the box2d class name.
Tech Inscribed
That’s it! See an example of your own Google gravity page by opening index.html in a browser.
The complete code is available on my Github repository.
Where are you going to use this? It would be great to know. Please share with me in the comments area.