Interesting Math adventure. Today, while having lunch with my parents at Litton's, Barry Litton (the owner) posed a scenario that I had a hard time wrapping my head around. It was this: Barry: If a man came to your home and said, "I'd like to work in your yard everyday for the next 31 days. All I ask for is you pay me 1 cent the first day then double it every day after for the next 31 days." How much do you think you would end up paying? Me: No idea... I can't do that much math … [Read more...]
Cool Javascript Effect
I saw this the other day and thought I'd share... I'm trying to figure out the practicle use for this script.. other than if you're really bored. Just go to any website that has pictures and paste the code below into the address bar of your browser. javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; … [Read more...]