This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-03-20 21:13:09

ian528
Scratcher
Registered: 2010-05-25
Posts: 500+

A cool trick!

I dare you to type:
javascript: R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=600; y4=400; x5=600; y5=400; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);
into your browser address bar.  big_smile
Don't worry, the effects are temporary.  wink
Just refresh the page.

Also consider typing:

javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

Last edited by ian528 (2011-03-20 21:13:46)

Offline

 

#2 2011-03-20 21:19:27

ian528
Scratcher
Registered: 2010-05-25
Posts: 500+

Re: A cool trick!

Bump!

Offline

 

#3 2011-03-20 21:34:19

scratch_yoshi
Scratcher
Registered: 2009-06-12
Posts: 1000+

Re: A cool trick!

Lol cool tricks.


Retired from Scratch, but just the language itself. Not the forums.

Offline

 

#4 2011-03-20 21:42:49

ian528
Scratcher
Registered: 2010-05-25
Posts: 500+

Re: A cool trick!

scratch_yoshi wrote:

Lol cool tricks.

Haha! I know, right?

Offline

 

#5 2011-03-20 21:45:30

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: A cool trick!

Do you knwo the fly a spaceship one? PLease give the code if you do, I remember it from a while back


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#6 2011-03-20 21:46:45

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: A cool trick!

found: javascript:var%20s%20=%20document.createElement('script');s.type='text/javascript';docume
nt.body.appendChild(s);s.src='http://erkie.github.com/asteroids.min.js';void(0);


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#7 2011-03-20 23:48:21

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: A cool trick!

look what I did with the last one ian said!

http://i51.tinypic.com/ngevs7.png
Click to enlarge



EDIT: no! it's cut off!
Whatever, at least part of it is there.

Last edited by kayybee (2011-03-20 23:49:00)

Offline

 

#8 2011-03-20 23:59:00

BlahBlahRatSheep
Scratcher
Registered: 2010-11-07
Posts: 500+

Re: A cool trick!

rofl I love that trick xD


"and knew ones will come and they will get poopular then theyll leave and more pooples will get poopular." -soupoftomato
http://i405.photobucket.com/albums/pp132/kimchi_and_chowder/lolicon.gif Lovely day to air out my tongue, yes?

Offline

 

#9 2011-03-21 19:56:55

ian528
Scratcher
Registered: 2010-05-25
Posts: 500+

Re: A cool trick!

Bump!

Offline

 

Board footer