not really :) I just made 2 sprites: the magnet and the filing, and made many copies of the filing. If you copy a sprite that has scripts, the scripts are copied as well
actually the stong parts of a magnet are the poles
you know north and south
thats why a compass points north
but if you were in the southern hemishpere
a compass would point south
yes i know, but in this case there are no poles. Poles would be hard to program without 2 sprites making up one magnet, and the "strong point" is in the center because that is the center of rotation for the magnet. I couldn't figure out how to get the filings to stick realistically, so I settled for the middle.
simple: if the distance to magnet is less than 150, point to magnet. if distance to magnet is less than 50, point towards magnet move 3 steps. if touching magnet, forever go to magnet. I then copied the filings until I had a bunch.
This is a simulation of a magnet and iron filings. The center of the magnet is the strong point, and so all the filings will go to there when attracted. Press the green flag to reset! THIS WAS FEATURED!!!!!!!! OMG !!!!!!
Comments
You need to be logged in to post comments
Add a Comment
nice... you should make it so you can also drop them to make a picture!
i made somthing like this. but it had 100 sprites and 100 scriptss
More filings!!!!!
Awesome!!!!
thanks lol!
(view all replies)ITS A REALLY FUN GAME BUT YOU SHOULD ADD SOMETHING ELSE TO IT!
cool
i like it!
Thanks!
Check out the first claymation on scrath ever!!! (link to project)">(link to project)
awesome!it must of taken ages to write out all the programs for all the sprites.
not really :) I just made 2 sprites: the magnet and the filing, and made many copies of the filing. If you copy a sprite that has scripts, the scripts are copied as well
(view all replies)Cool! I love magnets too! =)
I always loved playing with magnets! very good project!
me too! thats what made me think of doing this in the first place.
cool...
I like it
Good, But In A Real Magnet, You Can See The Poles And Feild Lines.
yes i know, but Scratch, while it is amazing, cannot support conflicting messages, and also the number of sprites would nearly double.
(view all replies)COOL.
That's so cool!
awsome!!:]
I remember hearing about the magnetic field (Or it was something like that)... but it's cool!
plz enter (link to project)">(link to project)
GOOD SCRATHCHERS, I NEED HELP WITH THIS, PLEASE (link to project)">(link to project)
I can`t seem to get enogh of this...
Whoops! Caps lock on!
tHIS is NICE! i CAN SEE WHY IT WAS FEATURED!
thank you!
actually the stong parts of a magnet are the poles you know north and south thats why a compass points north but if you were in the southern hemishpere a compass would point south
Actually, no. I live in the southern hemisphere and all our compassses point north.
yes i know, but in this case there are no poles. Poles would be hard to program without 2 sprites making up one magnet, and the "strong point" is in the center because that is the center of rotation for the magnet. I couldn't figure out how to get the filings to stick realistically, so I settled for the middle.
(view all replies)i think you should make a magnet with a positive and negative side. it would be more of a game then
its not supposed to be a game. Its just a simulation
howd u do that?
simple: if the distance to magnet is less than 150, point to magnet. if distance to magnet is less than 50, point towards magnet move 3 steps. if touching magnet, forever go to magnet. I then copied the filings until I had a bunch.
(link to project)">(link to project)
Cooooooooool.
bit boring but sooooooooooooooooooooo kkl! good work
Very clever. Simpule but I like the idea Hope you don't mind if I add it to some gallerys!
easy but good idea!
chicken taste goooooood
what do you do when you caught all the iron fillings dont make sence
yeah its boring at the end theres no iron
cool!
Cool
plaus awsome!!
awsome
Wow! This is so accurate! I love this!
awsome!!!
Nicely done. I always like simulations like this :)
maybe my sim would also have to be 2-d since it would take forever to take screenshots of boids from all angles in Blender
ok i looked ad several boids pages, and I will DEFINITELY try to make it now!
(view all replies)actually, thats not a bad idea! i will try to make a bird-flight sim my next goal!
thanks! it was very easy to make!
(view all replies)cool reminds me of something
cool
Cool! I have those things! the iron filings I mean
Totally Rad...reminds me of a bearded magnet face I played with as a child!!
fyi: tsunami mistakenly left a couple messages on my snowflake designer project that appear to be directed to you, rather than me.
i remember those (my gradma get's my brothers those every year) the stick/pen had a very low pow magnet in it though
good job though!
oh this would be easy to make i guess
thx
awesome