X

Hey! We highly recommend you launch this experiment in Google Chrome. It may run slower, or not at all, in other browsers.

Okay, I'll download Google Chrome I'm willing to risk it
X

Report This Experiment

X

Share with a friend

An e-mail has been sent. Thank you for sharing this Experiment!

Close

Back to All

Browser Ball

Featured Experiment March 04, 2009
Author:

Mark Mahoney

http://www.weareinstrument.com/#/team/mark-mahoney
Location:
Portland, OR
Rate Experiment (1716 ratings):
1 2 3 4 5  
From the Author:

Open new windows. Throw a beach ball through them. If I tell you it's less lame than it sounds, will you give it a shot?

Technology:

JavaScript, the canvas tag

Comments

By Nick on August 28, 2010

For an update: would it be remotely possible to give the ball the ability to fly from one window to another that aren't connecting?

Reply to this comment
By am I pretty??? on August 20, 2010

I ma very pretty

Reply to this comment
By 911ahmed on August 18, 2010

please free subscrib java script thank you

Reply to this comment
By lol768 on August 12, 2010

Has anyone tried using IE9? Does it work?

Reply to this comment
By isaac lucky on August 20, 2010

No 1 emenim close Delta state,Nigeria

Reply to this comment
By qqq on July 28, 2010

http://alert("marco era gay");

Reply to this comment
By dynamyc on July 27, 2010

dynamyc

dynamyc

dynamyc

dynamyc

dynamyc

dynamyc

dynamyc

dynamyc

dynamyc

Reply to this comment
By dynamyc on July 27, 2010

sebgabor@gmail.com

dynamyc

Reply to this comment
By isaac lucky on August 20, 2010

can i be your friend

Reply to this comment
By isaac lucky on August 20, 2010

why

Reply to this comment
By dynamyc on July 27, 2010

dynamyc

sebgabor@gmail.com

Reply to this comment
By sunil on July 24, 2010

no

Reply to this comment
By vipin on July 24, 2010

this file is upload and add a comment.

Reply to this comment
By Dhiya Faris on July 17, 2010

AMAAAAYYYZIINNGGGG!!

Reply to this comment
By Diego on July 16, 2010

Now i realized what html5 can do...

Congratulations!!!!

Reply to this comment
By Ian on July 14, 2010

Dont expect anything on this site to work on IE 6 except for the comment system :)

Reply to this comment
By Shyam on July 12, 2010

Cool! Well done!

However, I saw that, the ball gets stuck to the left top corner and rotates consistently when the smaller window is moved below a certain point in the intersect between two windows.

Curiosity helps discovery :)

Reply to this comment
By CMonster95 on July 13, 2010

Is there any way to download this experiment?

Reply to this comment
By Ian McNanie on July 14, 2010

Ya there is - on chrome you could use developer tools too look @ all the code, filenames, etc. Or, the on mac you can use site sucker. The easy way would be site sucker. But please, don't redistribute his work!

- Ian

Reply to this comment
By brendi on June 23, 2010

tungi qa po bon e pershedes imin me kongen skills

Reply to this comment
By PureRainX on June 06, 2010

Amazing! I love how the ball travels from window to window if you overlap them. It will fall down the stairs if you set the windows in descending positions. Very responsive. I figured I'd try it in Safari, because it's HTML5 compliant too, and it works like a charm. Thanks for your awesome work!

Reply to this comment
By Hahi on June 04, 2010

In js/main_prod.js in window.open "status" value occures two times : P

Reply to this comment
By Mellissa on June 02, 2010

Kept getting stuck and spazzing out in the upper left hand corner :P

Reply to this comment
By MetalWeirdo on June 13, 2010

It happens to me too.

Reply to this comment
By John on May 31, 2010

Doesn't work in Internet Explorer 6.

Reply to this comment
By Ian on July 14, 2010

Dont expect anything on this site to work on IE 6 except for the comment system :)

Reply to this comment
By James on June 04, 2010

Thats because the experiments are for CHROME, not IE 6.

Reply to this comment
By firagabird on July 10, 2010

IE 6 can't handle HTML5, that's why. It's not even standards-compliant with the current stable version of HTML.

Reply to this comment
By Andre on July 08, 2010

No that's because IE6 is OLD

Reply to this comment
By wtw3tw on May 29, 2010

you should try to make one bouncing around in the ordinary windows

Reply to this comment
By DeltaCactuar on May 23, 2010

I don't know if this has already been suggested, since I was too lazy to check through all the comments.

But my idea would be, a some sort of mini-app (or something like that) on Google Chrome, so that you just press "Create Ball" from the toolbar and a ball pops on the website you're on. And you could fling it around the website, just for fun. That would be awesome, but probably kind of hard to pull off.

Reply to this comment
By Chrome Hound on May 21, 2010

Hey this is really awsome

Reply to this comment
By cameron jones on May 21, 2010

that sucked ass

Reply to this comment
By Daniel Clark on May 20, 2010

THAT IS FANTASTIC

Reply to this comment
By Lucas on May 16, 2010

i like it.... short and to the point. Work a shotgun in there and i think you got something!

Reply to this comment
By pradeep on May 15, 2010

good

Reply to this comment
By xkenshin14x on May 07, 2010

holy crap

this is actually kind of cool

Reply to this comment
By aca on May 02, 2010

very simple.... :-)

Reply to this comment
By alfishstik on May 01, 2010

very cool!

i liked it...

good way to spend time while something's downloading

Reply to this comment
By fariza farhana on April 29, 2010

i am sri lankan now stay saudi arabia thanks

Reply to this comment
By fariza farhana on April 29, 2010

good

Reply to this comment
By Ruben on April 27, 2010

i like this but as you said yourself the gravity could be better

Reply to this comment
By herry on April 02, 2010

Hello,I am looking for quality e-commerce, busniess and security sites for 3-way link exchange with pr 3+ and obl less then 40 .I found very useful content on your site.I have very good offer and invites you for 3-way link exchange.You know link exchange helpful to make a huge traffic on site and raise site pr.Please mail me all your e-commerce and security services,business,gambling and other sites as soon as possible.

With regards,

herry

herryicm@gmail.com

Reply to this comment
By KONGU MOHH on March 11, 2010

I am INDIAN in TAMILNADU at Kanyakumari District

Reply to this comment
By eraniel on March 11, 2010

hai ! howw iss it

Reply to this comment
By md firoj akhtar on March 02, 2010

good

Reply to this comment
By fengyueheng on February 26, 2010

good

Reply to this comment
By tudd on February 14, 2010

I like this! BUT the ball gets stuck in the corner spinning a lot of times. IDEA FOR BOUNCING BALL ACROSS ANY PAGE: Add code to the ball!

Reply to this comment
By samuel on February 13, 2010

this sucks all it is is a wite screen with words in the corner

Reply to this comment
By scott paris on February 12, 2010

two nights ago i tried to install CHROME. i though iiiiiiiii d done the job. the logo appeared on rhe row of programs on the row on my i mac and iused it for the you tube the rest of the evening. i was very impressed. next time i turned on the mac CHROME was gone. I AM UNABLE TO GET IT BACK. HELP HELP HELP SCOTT PARIS

Reply to this comment
By EMHS on May 15, 2010

The problem is that you didn't pin the Chrome icon to your dock. Search for chrome in spotlight. When you run it again, right-click or control-click the icon in the dock and choose "keep in dock".

Reply to this comment
By the one on May 05, 2010

its because. mac sucks

Reply to this comment
By James on June 04, 2010

Baloney

Reply to this comment
By EMHS on May 15, 2010

If you're going to be a useless flamer, try to do it with something resembling grammar. Just because you can't be happy on a mac doesn't mean that someone else isn't. Try being a little less pointless of a person one of these days.

Reply to this comment
By Dominick on February 11, 2010

it be nice if you could open a window like youtube or something a the ball will go in there. who agrees

Reply to this comment
By Jiet on March 14, 2010

Well, since you can inject javascript code in all pages by using add-ons... I don't think it's impossible ;)

Reply to this comment
By Zyzzyx on February 20, 2010

This is impossible, since the child windows have to have handling for the ball as well.

Reply to this comment
By kbsimmer on February 11, 2010

that's just random

Reply to this comment
By Anonymous on February 10, 2010

I love this...

Reply to this comment
By shariful islam on January 26, 2010

sxx sxx sxx

Reply to this comment
By shariful on January 26, 2010

hi how you i am fine you also good

Reply to this comment
By sharf on January 26, 2010

mulslam

Reply to this comment
By erin on April 11, 2010

you could simply reset the ball

Reply to this comment
By carol is another word for NINJA on January 17, 2010

it was pretty nifty until the ball got stuck between 2 windows and wouldn't let me move it :(

Reply to this comment
By 501 on April 11, 2010

you could simply reset the ball

Reply to this comment
By jamesm on January 17, 2010

I lost the ball... :(

why is there the rest button the ball should never need to have that button.

if you drop the ball were there is not windows it's lost,

if you drag the window the ball falls off the edge,

the ball should not be able to do that, the ball should just hit the side and go with the flow, if the ball gets dropped on no window it should stay were it is of just hover on top on all windows. so it has no window allowing you to put it any were on the computer so you don't need to click on the buttons at all so how about keyboard shortcuts r = reset ball, w = new window, and p = stop the ball from moving. and how about the ball why cant it be the google chrome simple? it would be more of a hit if it were.

cheers and please comment on my question to either back me up or tell me its not mine I should not be giving suggestions lol...

Reply to this comment
By Tudd on August 18, 2010

That's why you need reset!

Reply to this comment
By wat_he_sed on February 07, 2010

I agree 100% I WANT KEYBOARD SHORTCUTZ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! lol lol lol rotfl rotfl lmfao rotflmao

Reply to this comment
By jamesm on January 17, 2010

I would like to have my site using the javascript required to drag and drop in another window.

The code that allows content to go from page to page is what could allow the user to drag content from the page into there own files.

for example: like in AVATAR they have the content on there screen and then they just drag it onto another screen and take it to were ever they want.

okay photos would be good for this. This beets gears.

cheers...

Reply to this comment
By Victor Dramba on January 14, 2010

Chromium, Ubuntu 9.10, Compiz, rotating cube. Keep the cube rotated like 30deg and let the ball bounce through windows. Compiz has live rendering.

Reply to this comment
By Cesar R. on January 08, 2010

Simple brilliance! Congrats!

Reply to this comment
By andrew on January 03, 2010

this is better then sex in a bed

Reply to this comment
By juplm on January 10, 2010

U sure?

I completely agree

Reply to this comment
By msmagic on December 29, 2009

It would be great if i was not running firefox on my PC.

it is another step towards me abandoning firefox!

Reply to this comment
By doggitydogs on December 21, 2009

Multi-monitor may be fun, but what about multi-computer? What if you invented some sort of framework that could do this across multiple computers, without using windows (just screens) for the ball to follow, and have the beach ball contain a file? You could fling files to your coworkers, using a control panel to set how far it goes. It could permanently replace email!

Reply to this comment
By Marty Boren on February 24, 2010

You could probably hack something together if you put accelerometers into the monitors. 5 Internets to anyone who makes this work.

Reply to this comment
By ballmen on December 18, 2009

cool game !

Reply to this comment
By sangharsh arun wankhede on December 17, 2009

shubham nikel

Reply to this comment
By sangharsh arun wankhede on December 17, 2009

my friend priakash

Reply to this comment
By sangharsh arun wankhede on December 17, 2009

ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd

Reply to this comment
By TotempaaltJ on December 13, 2009

I LOVE it

Reply to this comment
By Thallis PHP on December 11, 2009

You rock !

Reply to this comment
By sylvain on December 10, 2009

10 sortte

Reply to this comment
By ratchet11110 on November 26, 2009

Do you think i could get the script for this?

Reply to this comment
By CMonster95 on November 17, 2009

I hope that they integrate this into the real browser, so you could do this with any website; like, have a gmail window open and a wikipedia window open and bounce the ball between them in front of the text :)

Reply to this comment
By sergio viana callfy on November 09, 2009

muito bom.

Reply to this comment
By sergio viana callfy on November 09, 2009

eu gortaria de tertodas essas animaçoes pois eu achei muito,legal e da uma dimamica egal para o pc.

Reply to this comment
By Jimmy on November 09, 2009

Radioactive ball?

Looks like it.

Reply to this comment
By kenny on November 16, 2009

That would be awsome. He should make a glowing green ball.

Reply to this comment
By Marius on November 05, 2009

This is weird - from what I know this is either brilliant, brilliant and worrying, or worryingly brilliant! The implications of code migrating out of it's space must be large at the very least. Then again, Jave engineers might think otherwise. Either way, lots of fun!!!

Reply to this comment
By denii on November 03, 2009

loved freaking my mom out on her puter took her a good 5 min b4 she just closed the windows! funny!!

Reply to this comment
By Ziggy on October 27, 2009

Awesome! Lots of fun :D

Reply to this comment
By Tomas on October 26, 2009

this is very cool, i played with this for like 15 min, im going to make a maze ^_^

Reply to this comment
By asdaaaaaaaaaaa on October 23, 2009

THIS IS AWESOME!!!!!!!!!!! YOU HAVE TO CLICK IT TO GET IT GOING!!!

Reply to this comment
By Anonymous on October 22, 2009

Coming from someone who can't spell "you're" right

Reply to this comment
By Banana boy on October 21, 2009

Very creative!

Reply to this comment
By danii on October 12, 2009

jeje esta bueenooo no agan caso a los otros comentarios

Reply to this comment
By paul on October 08, 2009

Aero messes it up. ARGH!

Reply to this comment
By Chantu on October 08, 2009

Amazing.

This experiment demonstrates the power of Javascript and what awesome programming can do. Can be extended to create games that launces new windows.

Very amazing.

Chantu

Reply to this comment
By Eliza on October 07, 2009

o come on! this is SOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOooooooooooooooo StUpId!!! i hate it! i cant get i t 22 work

Reply to this comment
By CMonster95 on July 13, 2010

I think that would be called USER ERROR

Reply to this comment
By na on October 09, 2009

Your an idiot

Reply to this comment
By doggitydogs on December 21, 2009

w00t!

Reply to this comment
By Anonymous on October 22, 2009

Coming from someone who can't spell "you're" right

Reply to this comment
By Aemyn on October 06, 2009

Excellent

Reply to this comment
By TJ on September 25, 2009

This is a little irritating in Firefox.

Reply to this comment
By Tom on September 29, 2009

wow, this is so innovative. i love it! :D

Reply to this comment
By Charles on September 22, 2009

CRAP all CRAP all I want is a decent browser to launch HULU

Reply to this comment
By Anonymous on December 09, 2009

This is not a page for downloading browsers, or launching HULU, and, therefore, your comment has no place here. You're just what the Internet doesn't need - another idiot with a voice.

Reply to this comment
By Anony on December 15, 2009

I don't think your comments are welcome here. You are too negitive and your not contributing anything but garbage. Keep you comments to yourself...and learn some grammer.

Reply to this comment
By nkorth on April 04, 2010

"grammer": Wow.

Reply to this comment
By Doramong on September 20, 2009

oh~ CPU

Reply to this comment
By yoidday on September 14, 2009

i suck wang

Reply to this comment
By yoidday on September 14, 2009

you not that great son . sunny.

Reply to this comment
By Summer on September 13, 2009

This is cool!!!!

Reply to this comment
By mike a dike on September 09, 2009

I ♥ THIS

Reply to this comment
By han on September 09, 2009

good stuff

Reply to this comment
By ender on September 16, 2009

Crazy ^^ , but I love it

Reply to this comment
By Jakob on September 08, 2009

This is really nice!

Go Chrome!

Reply to this comment
By A Young on September 08, 2009

That is a very cool ball , lots of fun make more stuff.

Thnx

frm Alan

Reply to this comment
By Dwayne Robinson on September 06, 2009

tazcrazy!

Reply to this comment
By fdgdfsdfsdf on September 19, 2009

fdgdf@asd.sds

Reply to this comment
By siby on September 06, 2009

wonderfull

Reply to this comment
By Jonathan on September 03, 2009

I liked this!

Reply to this comment
By joey on September 03, 2009

awsomeee!

Reply to this comment
By dan on September 03, 2009

sweet

Reply to this comment
By nick on September 02, 2009

How about a slider to change the size of the ball and the bounciness of the ball? This way you can make it like a marble... or a piece of flubber, or anything else. Open the experiment to try more things, etc. Works great, and very great example of what Chrome is capable of!

Reply to this comment
By chris on August 31, 2009

Very cool in Multi-Mon

Reply to this comment
By sumanta on August 27, 2009

iagree

Reply to this comment
By sean on August 26, 2009

best game ever!!!!!!!!!!!!!!!!!!!!!!!!!!! can i have the program please?

Reply to this comment
By sapna gupta on September 13, 2009

its cool

i liked it very much

Reply to this comment
By Shane Girish on August 24, 2009

So awesome. There aren't enough words to praise your creativity !!!

Reply to this comment
By mabledevontenno on August 23, 2009

gladtobeamember

Reply to this comment
By James on August 23, 2009

if you could get the ball to run through any page then this would be cool

not that it isn't cos it is

Reply to this comment
By Brinean on August 19, 2009

So much fun!

Reply to this comment
By Jcee on August 18, 2009

there are a few bugs with moving the windows its bouncing in, and it would be cool if you could control the bounce, and maybe make it easier to grab

Reply to this comment
By Adam on August 13, 2009

Its Mint N addictive n it gives me something to do to waste time in work lol

Reply to this comment
By Tonyvercetty on August 19, 2009

I'm doing the same at work xD

Reply to this comment
By Hen on August 12, 2009

...waiting for a second ball

Reply to this comment
By MattiFS on August 04, 2009

This is so cool, it'd be cool if you could add stuff like springs, that'd be cool

Reply to this comment
By Aidan on August 04, 2009

Sweet.

Reply to this comment
By Mina on August 02, 2009

I think it's cute, I like it! I'm sure it'll be fun when you're waiting for something to load, or you're sick of reading stuff and waiting for an instant message reply. ;]

Reply to this comment
By avneesh on July 30, 2009

amazing thing i never saw such in windows before very cool & funkey

Reply to this comment
By steve on July 29, 2009

Awesome and fun, but I can see the advertisement uses for this, which will mean even more annoying and hard-to-get-rid of ads.

Use it for good!

Reply to this comment
By kenxle on July 28, 2009

dude. coooooool. that makes me feel all warm and fuzzy in my developer heart.

Reply to this comment
By M. Evans on July 26, 2009

Very fun and cool! Yes, surprisingly addictive considering its simplicity!

Reply to this comment
By Hmm Why Should I tell on July 23, 2009

It works great on Firefox (cuz its the best) and its pretty kewlio

i used to have somin lik that a while back

Reply to this comment
By Relentless on July 22, 2009

GUYS THIS IS CHROME EXPERIMENTS! USE CROME FFS. NOT IE NOT FIREFOX NOT OPERA THEY ARE MADE FOR CHROME!!

Note: If you can get them to work in another browser, more power to you but, if it crashes its not the experiments fault. You didnt listen. You need chrome. :D

Reply to this comment
By CMonster95 on July 13, 2010

You forgot Safari

Reply to this comment
By Patrick on September 03, 2009

Yes it is Chrome experiements, but it is to showcase HTML 5 and Javascript and what can be created using just those two.

Reply to this comment
By Jeeves on July 23, 2009

Works beautifully in Opera though

Reply to this comment
By Andre on August 21, 2009

Yes.

Its work very fast on my Opera 9.64

Reply to this comment
By Drink-Sen on July 12, 2009

It's funny!

Reply to this comment
By omkar on July 10, 2009

its very fantastic

Reply to this comment
By Makki on July 07, 2009

Man, This is Awesome.. :)..I really like this application .:)

Reply to this comment
By S.RAVINDRANATH on July 05, 2009

execellent experiment

Reply to this comment
By ME NOT YOU on July 03, 2009

it doesnt work in IE ha!

Reply to this comment
By you on July 09, 2009

Ha! I see what everyone means by MODERN browsers!

Reply to this comment
By YUDI on June 30, 2009

it's................................

Reply to this comment
By Annamaria Sondrio on June 28, 2009

I find this tool fun for a while, but it soon gets annoying, size is too big and I get distracted. Browse tools should be more discrete in my opinion.

Reply to this comment
By kanimoli .s on June 26, 2009

this program i am satisfaied. and the verry good speed. thanking you

Reply to this comment
By mike on June 25, 2009

amazing

Reply to this comment
By Melissa Mc Monagle on June 23, 2009

Awesome awesome awesome!!!! It's really cool!!!

Reply to this comment
By Penguindude on June 16, 2009

this is cool really fun 2 do when things are loading! 6:)

Reply to this comment
By praneeth on June 13, 2009

wow..........nice ........i love it <3

Reply to this comment
By Avijit Paul on June 06, 2009

no man, it is not possible. seriously, OMG.

How the hell did you do that man?

I am starting back on Javascript right away.

Reply to this comment
By Scott Newson on July 20, 2009

I know!

Time to learn Javascript again!

Reply to this comment
By CJ on June 04, 2009

hm... that was more cool than I was expecting

Reply to this comment
By hewey on June 02, 2009

aaaa

Reply to this comment
By Anonymous #3000 on June 01, 2009

Flash can't do anything like this. :-)

Reply to this comment
By Drink-Sen on July 12, 2009

I don't think so!!

Reply to this comment
By S.L.E. on June 09, 2009

Oh yes it can! ;-)

Reply to this comment
By Scott Newson on July 20, 2009

Could you point to an explanation of how to do this in flash please?

Reply to this comment
By ME NOT YOU on July 02, 2009

NO IT CANT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1

Reply to this comment
By James on May 31, 2009

That's brilliant!

Reply to this comment
By joe mick on May 30, 2009

i hate gay fags

im not a joey

if any one asks

im physic too

Reply to this comment
By yoidday on September 14, 2009

what are you fab troo?

Reply to this comment
By davea on August 05, 2009

Are there any other kind MORON.(GET YOUR PREJUDICES CORRECT)... JEESH A PERSON CAN'T HAVE A LITTLE FUN WITHOUT COMING ACROSS BIGOTS, HOMOPHOBES, AND HATE.....

Reply to this comment
By joe on May 30, 2009

it works on Firefox i hate gay fags

Reply to this comment
By GreenGhost21 on May 29, 2009

EPIC!!!

I seriously doubted this was possible. I BE-LIEEEEEEEEVE!!!!!

Reply to this comment
By erold on May 29, 2009

hi

Reply to this comment
By ben on May 29, 2009

outrageous

Reply to this comment
By Laurel R. on May 29, 2009

Let's see!

Reply to this comment
By BoogsterSU on May 29, 2009

Works FAST in my Safari web browser!! :D Pretty cool experiment for people even if they don't have Chrome! ;-)

Reply to this comment
By person on May 26, 2009

u all suck

Reply to this comment
By Yalta - we do not forget on December 28, 2009

They all sucks - it's all in english, US-english :)

Reply to this comment
By robin jacob on May 26, 2009

hi hot

Reply to this comment
By ROBIN JACOB on May 26, 2009

good

Reply to this comment
By jackie N on May 23, 2009

read the praise comments from all the ppl;s , now write a speeel check for the ones who have trouble speelin their names ROFL

Reply to this comment
By KAMRAN HASSAN on May 23, 2009

this my first time i will used it this actions

Reply to this comment
By jbohaj on May 23, 2009

Is it possible to to save it as a web page so that it can played at any where. I save the Web page complete in the Chrome. Then run it. But the Ball is not appear at all. Please tell that how it can be played offline as a web page??

Reply to this comment
By yoidday on September 14, 2009

you gotta put some more bounce in your back. to see the ball bouncy!

Reply to this comment
By fronten on May 23, 2009

Actually it works in Opera 10 Alpha!

really nice idea, although spanning multiple windows ist not wanted anymore.

Reply to this comment
By somedude on May 30, 2009

thats cool! hey, how does opera 10 run, anyway?

Reply to this comment
By hewey on June 02, 2009

a

Reply to this comment
By shukor b,.ithnin on May 23, 2009

no komen

Reply to this comment
By yoidday on September 14, 2009

No sloth....!

Reply to this comment
By Mark Mahoney on May 22, 2009

Dear anyone who cares: I fixed the experiment in Chrome 2.0, and as a bonus, it now works in Opera 9 (at least on a Mac). Also, diz, if you're still around: I finally fixed that image onload bug as well. Thank you very much for pointing it out.

Reply to this comment
By Kaitlynn on May 21, 2009

It doesn't work in the Beta version of Google Chrome. The ball can bounce back and forth in the child windows, but you can't see the ball when it's in one of them.

Reply to this comment
By Sachin Kainth on May 17, 2009

Wow, this is a really good variation on the bouncing ball problem. I wonder if this sort of idea could be used to transfer data (files etc.) between windows or computers? Worth investigating.

Reply to this comment
By Opera Fan on May 16, 2009

Crash in Opera 9.60... But cool...

Reply to this comment
By Matt on May 13, 2009

I love this, it's so much fun!!!!

Reply to this comment
By tits on May 12, 2009

blaa

Reply to this comment
By G on May 09, 2009

I have Found Som'in Really Cool. Make Some Child Windows, but don't throw the ball towards them, throw it through the main screen, other any child windows... And it went off the whole screen!!!!!!!!!!!!!!!!!!

Reply to this comment
By James on May 06, 2009

Incredible!

Reply to this comment
By aswn on May 05, 2009

tholi....

Reply to this comment
By flipper on May 03, 2009

i dont get it

it didn't work for me

i tried a lot

but it said it couldn't find the web page

Reply to this comment
By jfk52917 on May 06, 2009

I couldn't use this either, and I use Opera, which is supposed to support Javascript.

Reply to this comment
By TheFatOne on May 01, 2009

Dude! wow! Reminds me of that supercomp they had in that movie - swordfish. Bouncy something moving thru like 7 different screens

Reply to this comment
By ANGIE on May 01, 2009

i THOUGHT THIS WAS PRETTY COOL AND THOUGHT IT WOULD BE NEAT IF YOU ARE BORED OR IF YOU ARE TRYING TO WRITE A PAPER AND CANT THINK OF ANY THING YOU COULD PLAY WITH THE BALL WHILE YOU THINK...

Reply to this comment
By Chris on April 28, 2009

The child window's aren't working properly for me. It will bounce back from them, but I can only ever see the ball in the main window.

Reply to this comment
By yoidday on September 14, 2009

To be fair the to the question. the children dont actually hit my red ball they got their own... and it bouncies better at me..

Reply to this comment
By Naomi Miller on May 13, 2009

What I found what works is that you connect some part of the browser to another one, or in other words, overlap the some its like a connector so it can bounce through multiple screens instead of just the main screen. ;3

Reply to this comment
By crvess on April 28, 2009

I thought it was the best idea in years.

Reply to this comment
By Susan on April 27, 2009

Cool everything is so neat!

Reply to this comment
By Bobbi Sue on April 27, 2009

This is very cool my uncle had it and he showed me and it blew me away! This is very awesome!

Reply to this comment
By zimba on April 25, 2009

so how do you get it to do this?

Reply to this comment
By Val on April 27, 2009

Open Google Chrome, then hit the "Launch Experiment" button above, then hit "Launch Browser Ball"

Reply to this comment
By isaac lucky on August 20, 2010

launch ball

Reply to this comment
By jongie orbista on April 23, 2009

good !!!

Reply to this comment
By navember on April 22, 2009

looks great

Reply to this comment
By guy on April 21, 2009

i really think its cool.

all the way

uh huh

yep

yeah

oh yeah

Reply to this comment
By Ollie on April 21, 2009

a great distraction from my dissertation proposal :-D

Reply to this comment
By vikesh on April 21, 2009

cool

Reply to this comment
By tony marquez on April 17, 2009

help me if i need help Please

Reply to this comment
By tony Marquez on April 17, 2009

i hope i down low google Chrome

Reply to this comment
By McDude on April 13, 2009

This has a ton of practical applications, even without the physics. Imagine in-browser objects, such as comments in a forum, that can be dragged to other windows spawned from the same site! Or open your Yahoo contact list and pull in people from Y! Answers, for another example.

Reply to this comment
By tesivo on April 11, 2009

don't work with version 2.0.173.1

the other windows don't work

Reply to this comment
By madhav on April 09, 2009

good experience

Reply to this comment
By Samrat Deb on April 06, 2009

Dude...this is freaking CLASSIC WORK...

Reply to this comment
By Blinky on April 05, 2009

Now that was fun! :D

Reply to this comment
By fabian Rios on April 05, 2009

i never see so many comments togheter for something like this.. great.. make me happy to see it

Reply to this comment
By qader on April 04, 2009

yes

Reply to this comment
By 613CB on April 02, 2009

Chrome Experiments are the best boredom relievers, waaaaay better than online flash games

Reply to this comment
By uber on April 01, 2009

WHAT COULD YOU USE THIS FOR???

Reply to this comment
By 613CB on April 02, 2009

I'll say it again : "Chrome Experiments are the best boredom relievers, waaaaay better than online flash games"

Reply to this comment
By raiden on May 30, 2009

i definitely agree. Chrome Experiments are a lot better than flash games! now if only chrome worked for Linux and Mac...

Reply to this comment
By !!! on December 28, 2009

Mac has Safari - all those tests works in Safari too, and from years…

Reply to this comment
By Bill the non computer geek on April 01, 2009

Saw the demo. So just what does this do? I see a ball bouncing to different windows......so?

Reply to this comment
By sam on April 29, 2009

you shouldnt be here

Reply to this comment
By ZAch on June 04, 2009

I agree, look. Can u write a code that links multiple aplications to create an interactive object? I think not. (FYI, neither can I.)

Reply to this comment
By Sukanya Misra on April 01, 2009

this is soooo much fun!!! :) a huge waste of time...love it!!

Reply to this comment
By night on March 31, 2009

helo boss how do u do

Reply to this comment
By diz on March 30, 2009

reminder: http://www.chromeexperiments.com/detail/browser-ball/#comment_13269

Reply to this comment
By Laith on March 29, 2009

nice work , this one of thinks that make google always on top .

Reply to this comment
By George Birladeanu on September 06, 2009

Really,it's fantastic,I'm very proud to by in my lap.

Reply to this comment
By shiva kumar on March 28, 2009

It's a fantastic creation that works well in my pc.

Reply to this comment
By TheOne&Only on March 27, 2009

DUDE! That is sooo cool! Man, that's wicked. I don't know how someone can do that such technology..... or mayb I don't spend enough time on the computer.

Reply to this comment
By Onoitsu2 on March 27, 2009

I am using FF 2.0.0.6 using Firefox Portable, in a folder on my desktop, I do this so that I can quickly drag it to my jumpdrive when I have to head out, and have my browser with me wherever I need it, then drag it back to my desktop at home to bring all mobile changes back to my system.

This runs FAST as hell, I am on a 1GHZ AMD Duron Clocking 902Mhz ATM (As reported by Win+Break, makes me think this is AMD's version of the Intel "Celeron"), 320MB Ram (Yes I know, but I am poor, and every MB helps, as well as large swap file)

Cant wait to see this put to more use, moving of files in a graphic applet, ftp transactions and the like.

Reply to this comment
By Ken Berry on March 27, 2009

This was a colossal waste of part of my work day. I thank you but my employer does not.

Reply to this comment
By Guilherme on March 26, 2009

Muito Legal!!

(Very cool !!)

Reply to this comment
By baller on March 25, 2009

Dude...this is freaking AWESOME!!!!

Reply to this comment
By Oguen Bilge on March 24, 2009

very innovative, thank you for that great demo.

Reply to this comment
By "E" on March 24, 2009

Doesnt work for me in IE8 =/

Reply to this comment
By ie8 on March 24, 2009

ha haaaaha you are still using IE8 :)

firefox or chrome is the way to go .... i am still laughing

Reply to this comment
By assassin18 on May 30, 2009

IE8 sucks! chrome is the best there is

Reply to this comment
By ..... on March 27, 2009

Get a life then

Reply to this comment
By zachdude1094 on March 24, 2009

Awesome application!

Reply to this comment
By Al on March 23, 2009

VERY freekin' COOL!

Reply to this comment
By scott on March 23, 2009

Works pretty well in FF. This is very very inventive, nice work Mark!

Reply to this comment
By Jay Lawrence on March 23, 2009

Nice job mate! This is very very very cool!

It crashed when I had the ball bouncing and i dragged a window to overlap two monitors, but I tried it after and that worked great! So it's probably something quite minor.

Reply to this comment
By Shoshenskoe on March 22, 2009

Cool !!!!! :)

Reply to this comment
By Cody on March 22, 2009

Very interesting effect in multi-monitor setup...

Reply to this comment
By Greg on March 26, 2009

You think it looks cool in multi-monitor, you should see it wrap around the desktop cube with Compiz on Ubuntu!!!

Reply to this comment
By Mark Mahoney on March 27, 2009

That is a rad idea.

Reply to this comment
By jojo on March 21, 2009

I opened 10 windows and had that ball bouncing in and out of the different windows all over the place. I felt like a kid in a virtual playground having the time of my life!

Reply to this comment
By Harry on March 21, 2009

Works great on Firefox 3.0.7, Ubuntu Intrepid, 2GHz machine. Smooth, although ball stuck once and had to be reset.

Reply to this comment
By Mark on March 21, 2009

Really fun time waster

To all the people who think that this is a security exploit. Chrome isolates pages from different SITES in to different processes. Windows/tabs from the same site have access to information about others.

Reply to this comment
By Bruno Fernandes on March 26, 2009

Eu Já baixei o Google Chrome e ainda não consigo testar os efeitos de Java Script deste site. O que devo fazer?

Reply to this comment
By Yuriy Shefer on March 21, 2009

This also works on Safari webkit, I guess not unique to chrome.

Reply to this comment
By Paul Shaw on March 21, 2009

Well I'm impressed. Now, I wonder how this sort of thing can be put to practical use...

Reply to this comment
By Ashish on March 20, 2009

it works awesome in safari 4

Reply to this comment
By Tomcio on December 28, 2009

Becouse Webkit engine is in Safari since about 2003. And in Chrome since about 2008… :) Safari rox, Chrome too.

Reply to this comment
By Michael Pate on March 20, 2009

I just tried it out in IE8. Runs fine.

Reply to this comment
By Bilal Akhtar on April 12, 2009

Who said it works in IE8? How come?

Reply to this comment
By Pete Hurst on March 20, 2009

Apologies for the triple post, perhaps you could disable the SUBMIT button once it's been clicked? There was otherwise no indication that an AJAX postback was taking place.

Reply to this comment
By Pete Hurst on March 20, 2009

Very cool demo, shows off just what can be done with a little effort ... the only nagging thought I have is that I can't think of a single practical use for the technique, other than this demo! Great stuff anyway :)

Reply to this comment
By Ryan on March 20, 2009

nice ball...

Reply to this comment
By russ on March 20, 2009

Wow that's a clever trick to pull off - works good in ff3 & safari 3 on osx. Fun to experiment with different windows! like the seamlessness between windows

Reply to this comment
By diz on March 20, 2009

Mark Mahoney: Could you modify this line:

var A = this,

inside mouse listeners to this:

var A = window,

That should make it work in Opera. I guess it's an Opera bug but would be cool if you could do that.

Reply to this comment
By Mark Mahoney on March 22, 2009

Diz, thanks you for the tip; that's great to know. Unfortunately the fix isn't quite that easy. Because all child windows are executing code in the initial parent window via window.opener, changing 'this' to 'window' breaks dragging code everywhere except for the parent. Plus, it turns out performance in Opera is abysmal, at least on my MacBook Pro, so I'll save myself the embarrassment for the time being.

Reply to this comment
By diz on March 24, 2009

Mark, more proper fix: var A = (this.defaultView||this);

Please do this change.

Reply to this comment
By diz on March 22, 2009

You should try Opera 10 - it's much better then 9 on that demo.

As for the bug... good point, I haven't noticed this problem.

Bug with Opera is that in some cases it fires event for HTMLDocument even when listener was set for window. So possible workaround for that would be to get HTMLDocument.parentWindow when event target is document.

But that would be quite a hack so I'm not sure you should implement that. :)

Reply to this comment
By diz on March 22, 2009

Another fix needed.

Swap positions of these lines:

l.img.src = "img/logo.png";

l.img.onload = function() {setInterval(f, s)};

(If image is cached then onload will fire before listener is set.)

There is also canvas related crash on closing popup. If you want to workaround that, then check if popup "closed" property is not set before calling context.drawImage()

Reply to this comment
By Mark Mahoney on March 22, 2009

Awesome, I will make those changes the next time I'm around my computer. Thanks again!

Reply to this comment
By Kelvin on March 19, 2009

interesting but not impressed

Reply to this comment
By Kevin on March 19, 2009

Wow, this is really cool. Works wonderfully in FF

Reply to this comment
By Erik on March 19, 2009

Works beautiful on Safari 4 on OSX. Just as smooth as on Chrome on windows.

Reply to this comment
By Ravi on March 19, 2009

Awesome work Mark! Wasted hours of my time :) .

Reply to this comment
By Jono on March 19, 2009

#1 of the experiments. Nice work Mark!

Reply to this comment
By alv on March 19, 2009

Reminds me of boing! amiga demos from 20 years ago!

Reply to this comment
By jeremy on March 19, 2009

seems neet at first,, then my coworker says, what happens if you have a couple windows?

then the fun begins 3 windows, step patterns, you name it. this thing is sick. true freedom from a window.

Reply to this comment
By Anonymous on March 19, 2009

Seems like an interesting idea, but I can't get it to work. I've tried running new instances of Chrome and just clicking the link, but neither has worked for me. =(

Reply to this comment
By Frank on March 19, 2009

I thought a lack of communication between tabs was a security feature of Chrome. Why then is someone able to communicate between tabs if they are in fact separate executions of Chrome.exe and separate threads? ? I see this a more of a security exploit than a game.

Reply to this comment
By Lawrence on March 19, 2009

Oh My!! Astonishing incredible!!! Congratulation master!!!

Reply to this comment
By Alex on March 19, 2009

This works much faster on Firefox 3.0.7 (windows) than on Chrome 2.0

Reply to this comment
By john on March 19, 2009

is this inspired from the BeOS demo?

Reply to this comment
By Mark Mahoney on March 19, 2009

Actually, someone else mentioned BeOS pre-site launch. I wasn't actually thinking about BeOS when I made this, but in retrospect, this was probably inspired by it, yes.

Reply to this comment
By baris acar on March 19, 2009

Chrome stuck unfortunately, the ball is not antialiased. Firefox is a clear winner.

Reply to this comment
By Tom on March 19, 2009

Chrome worked great for me. I didn't know this was a competition. I thought it was a toy to demonstrate the javascript engine in chrome which is, hands down, superior to FF. BTW, it's about performance, not rendering quality.

Reply to this comment
By HRJ on March 26, 2009

Huh? If the rendering quality is superior, wouldn't the performance get affected?

Reply to this comment
By spamhaven on March 19, 2009

Unless I'm mistaken, this is a malware-author's wet dream. People have enough trouble as-is in keeping track of which browser window has legitimate vs. phish content. If one browser window is allowed to push/inject/overlay content into another browser space all bets are off.

Reply to this comment
By kaiser on March 19, 2009

you are mistaken

the windows were all created from the same page with the same url, that is why they can share content. you still cannot get content from other browser windows

Reply to this comment
By dave on March 19, 2009

this is like inventing the nuclear bomb, but for web browsers. The only outcome will be death of the browsing experience by pop-up advertisers

Reply to this comment
By McDude on April 13, 2009

See above reasons why that conclusion, in practice, turns out to be total BS. Trust me, no matter whether it's Java, Javascript, Flash... you have control and communication within the windows *you* make, nothing more. This can be a pain for legitimate queries sometimes (rarely, really), but it's a standard security feature that is well worth its existence.

Reply to this comment
By George W Bush on March 19, 2009

I want to throw shoes at the president.

Reply to this comment
By Hanlet on March 19, 2009

LOL! Yeah, I wanna throw shoes @ the president too! Please do this!!!

Reply to this comment
By Billy on March 19, 2009

Works perfectly in Safari 3.2.1.. Why are they calling this a "Chrome Experiment?" Isn't this just a "Browser" experiment?

Reply to this comment
By David on March 19, 2009

Probably because google is paying the bills around here. Someone has to pay bandwidth, server space.

Reply to this comment
By Maltec on March 19, 2009

Unbelievable stuff of JavaScripts

Reply to this comment
By warpig on March 19, 2009

I think a pee'd a little...

Reply to this comment
By jeff on March 19, 2009

If you can dodge a wrench you can dodge a ball. Nice job killing time.

Reply to this comment
By Will Peavy on March 19, 2009

This is pure awesomeness.

Reply to this comment
By simonpie on March 19, 2009

Works perfectly in OmniWeb on the mac.

Reply to this comment
By googlemasters on March 19, 2009

suprised with the results, the ball stucks on top of the screen once its pushed fast with the mouse in that direction - but this happened only in Chrome !!!

Google Need to work on it again

Reply to this comment
By Xel on March 19, 2009

Damn, this is great... I would never ever belive that it is possible, if I hadn't tried it live.

Unfortunatly it is damn slow on FF 3.0.7 (Ubuntu-canonical Version)

Reply to this comment
By Ryan Corradini on March 19, 2009

WOW. That's pretty frigging cool.

Reply to this comment
By Dave on March 19, 2009

Works on IE8!!!!

Reply to this comment
By Maxos on March 19, 2009

In Opera 9.63 dont work...

Reply to this comment
By ppdc on March 19, 2009

i was dreaming to do something like this since 1999. honestly. big time chapeau

Reply to this comment
By Anonymous on March 19, 2009

Wow, that's neat :)

Reply to this comment
By san on March 19, 2009

Its quite rare to get amused these days. But this one is really awesome. This window interactions feels like a new science in itself

Reply to this comment
By Erin on March 19, 2009

Oh. My. God. This is the coolest thing Ive ever seen, I absolutely love it!!!! AWESOME!

Reply to this comment
By Mario on March 19, 2009

Yeah, we all know it's cool but I'm more interested in how the browsers stack up.

MY RESULTS

Chrome 2.0 - aced it

Firefox 3.0 - worked a little slower

Safari 4 - didn't work well

Opera 9.x - didn't work at all

Netscape 9 - worked erratically ONLY when the windows overlapped

SeaMonkey - same as Netscape 9

IE7 - didn't even get off the ground. Total flop

Reply to this comment
By Ezra Olubi on March 21, 2009

You chose to pick the latest versions of every browser except IE. It works on IE8. Its like trying it on FF2 and calling FF a total flop. Stop misleading peeps.

Reply to this comment
By Morg on March 21, 2009

Well,

FF2 = history

FF3 = today

IE7 = today

IE8 = future

FF4 = future

etc

Reply to this comment
By another commenter on March 19, 2009

Best waste of time ever.

(works fine on firefox 3.1 beta 3)

Reply to this comment
By Mr.doob on March 19, 2009

Love the concept Mark! ^^

Reply to this comment
By Eric on March 19, 2009

incredible!

Reply to this comment
By rutul on March 18, 2009

This Work Is just Out Of This World Whom So Ever's Mind Is there Behind This According To Me is the Most Genius Person On this Earth For Coding

Reply to this comment
By Mark Mahoney on March 18, 2009

This is going to be my epitaph.

Reply to this comment
By PaulWille on March 18, 2009

Nice Mark...Very cool work! I'm happy to say that I am not making much money today as a consultant playing with this.

Reply to this comment
By Mrrix32 on March 18, 2009

My minds in shock, my brain keeps telling me this isn't possible! OMG!

Reply to this comment
By folktrash on March 18, 2009

it's hard to describe just how awesome this is.

Reply to this comment
By Wayne on March 18, 2009

Mark, very nice job. I'm going to have to study this technique.

Reply to this comment
By Joe on March 18, 2009

I want to make love to this, those balls are hot

Reply to this comment
By Krista on March 18, 2009

Thanks for the distraction from work. This was pretty fun.

Reply to this comment
By dude on March 18, 2009

That's pretty fuckin' neat!

Reply to this comment
By Deter on March 18, 2009

This actually IS cooler than you think it'd be. Surprisingly addictive as it is pointless! Good job!

Reply to this comment
By Peter on March 18, 2009

Very cool!

Reply to this comment
By Paul Clark on March 21, 2009

Neat! Works fine on Iceweasel 3.06, Debian Lenny.

... but, but - the Phong highlight should move as the ball rotates! Anyone remember VRML?

Reply to this comment
By fengyueheng on February 26, 2010

I am a Chinese.

Where are you from?

Reply to this comment
By isaac lucky on August 20, 2010

i will to together you people

Reply to this comment

Add a comment

All fields are required to prevent spam.