main topics archive podcast connect
about 13 years ago
SGP has no shortage of cases for iPhone or iPad, and their Linear Mini series, while being their budget line, is far from being comparable to a generic means of protection ...
about 13 years ago
This week we talk some pretty important stuff like Anime Expo 2011, Captain America (is it good, bad, ugly?), MacBook Battery hacking, 3DS price cuts (now just $169), Battlefield 3 Alpha ...
about 13 years ago
This week, we have a special show because we’re giving away a copy of the new Annihilation DLC for Call of Duty Black Ops (Steam, PC). We’ve done Giveaways before, but ...
about 13 years ago
On this week’s show, Connor and Brandon talk Facebook Video chat, cereal and milk, Bioshock Infinite, Quadrotors, the new Youtube, Spotify coming to the US, Connor gets his iPhone hacked and ...
about 13 years ago
Special thanks — to Connor for filling in this episode!!! On this installment of the Okay Geek Show, Ricardo is away at the 2011 Anime Expo spreading the joy of Okay Geek with ...
about 13 years ago
  We have been underground bashing our keyboards and inhaling coffee for the past two weeks covering E3 2011 which has been a blast, but a lot of hard work. ...
about 13 years ago
  This week on the show, Ricardo and Brandon sit down and talk about the widest veryity of topics ever discussed before… we start with Basketball and end up talking ...
about 13 years ago
  This is our first video podcast, and we’re so proud we managed to do it live on Friday, all in one take. This episode, Ricardo and Brandon start the ...
about 13 years ago
  This week, we are talking about a veryity of topics that are strange, just as they are awesome. We’re talkin’ Bear Grylls, Piss, Thor, vocaloid raves, and a bunch ...
about 13 years ago
  You remember the our old podcast right? Well that was somewhat of a test. A test to see if our readers would enjoy hearing us and listening to what ...
  • Have a suggestion?

  • *
  • *
  • *

REQUIRED READING

Notify Ricardo

When you finish something, notify Ricardo (Executive Editor) via a private DM through Twitter.

Okay Geek Traffic Traffic live stats Twitter activity Facebook Page Image compress app Tips & Guidelines Report a problem
← Previous Clean slate Next →
Wednesday
Jul062011

Dismantle any website with the Katamari Hack (Developer interview)

As geeks, we often find unique ways of wasting time. And if your usual social network addiction isn’t cutting it, we’ve found something completely different. With a simple click, you’ll be moving text and images around on your favorite website. Where can you find it?

Introduction

The Katamari Hack was created by Alex Leone, David Nufer and David Truong in March 2011. Origianlly, it was part of the Yahoo HackU contest. If you take a look at the code, you’ll find the inner-workings of HTML5, CSS and jQuery.

  • HTML5 canvas is used for “drawing the Katamari”
  • CSS Transforms are used for “things stuck to the Katamari”
  • Z-Index provides the “illusion of depth”

For in-depth technical details, you can visit the official website

Endless Fun

Using the Katamari Hack couldn’t be simpler. After dragging the provided link into your bookmarks bar, clicking it will prompt a popup window. It’s here were you can choose the method of control, katamari color and more. Click start and the katamari, a small sized sphere, will appear on your screen. It’s now when you can click and scroll around the website of your choice. With every click, the katamari will follow your movements picking up text and images with it. After you’ve finished dismanting a website, refreshing will return you to normalcy. 

Activate Katamari on Okay Geek (and any site)!

javascript:var i,s,ss=[‘http://kathack.com/js/kh.js’,’http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js’];for(i=0;i!=ss.length;i++){s=document.createElement(‘script’);s.src=ss[i];document.body.appendChild(s);}void(0);

My Q&A with Alex Leone

Hello Alex. Could you introduce yourself for us?

Hello! I’m a senior at the University of Washington in Seattle.

Why build a bookmarklet like Katamari? Where’d the name and idea come from? Plus, how long did it take to develop?

The bookmarklet was an entry in the Yahoo HackU competition at the University of Washington. Essentially teams of 3-4 have 24 hours to build a “hack”, which are usually simple web apps. After 24 hours, your team has a few minutes to present what you built, and the coolest hacks get prizes. Here’s a picture from last year’s event. Myself, along with my teammates David Nufer and David Truong have competed for the last 3 years at UW.

In the last two years we competed, we built html5 + javascript browser games.  Our first was “pacmap”: pacman on google maps where pacman runs along the streets.  Last year we built Regex Battle, an asteroids clone were the asteroids are strings that match a regex.  Both years we won the competition.

This year, a lot of our friends were trying to dethrone our two-year winning streak.  We were getting pretty nervous when a few hours into this year’s competition we still didn’t know what our hack would be.  We knew we wanted to build some kind of bookmarklet game where the player could “destroy” the website - maybe multiplayer Worms were the text on the page would be the destructible terrain?  This proved to be too difficult because each player’s browser rendered the page differently.  We finally decided to make something like Katamari Damacy, and spent the next ~18 hours frantically writing javascript.  Let me tell you, trying to write linear transforms to make something look like it’s spinning around a ball is not fun at 4:00am.

By noon Saturday, when the competition ended, we had the bookmarklet done, along with a simple multiplayer where you and your friends could all play on the same page.  And we won!

When did Katamari bookmarklet become available publicly?

When presenting the hack, we put it on a micro EC2 instance on AWS.  We didn’t share the link except when presenting at the competition.  The Friday after the competition, we saw that that gamepro had an article pointing to our server.  The article was picked up on Reddit and the server got hammered to the point were it was taking ~10 seconds for the page to load.  We all had class and couldn’t really do anything until that night.  It was pretty surreal logging into the server and seeing over 1.5 million page loads in the apache logs.  Our Friday night consisted of frantically moving the page to Amazon S3.

Do you track how many people visit the Katamari website? If so, how many?

After we switched to S3, we added Google Analytics on just the homepage.  We’ve had over 750,000 uniques and 1,000,000 pageviews [see attached].  We don’t collect any data on how many times the script has been loaded (ie how many times people have used the bookmarklet).

With what frequency do you update Katamari?

We updated a few times in March, right after the competition.  We haven’t updated since. 

Are there any other cool “Katamari” like bookmarklets you plan to release?

Not in the near future :).

Do you have a personal site you’d like to share?

http://students.washington.edu/acleone/

Thank you for your time, Alex.

Thank you!

Learn more — about the Katamari Hack at it’s official website.

References (1) Katamari hack
Discussion Threads

Follow and Subscribe to Okay Geek - We always send our latest articles to Twitter, RSS, Facebook and more, as well as other awesome content we find interesting.

Related Posts Plugin for WordPress, Blogger...