hm... it is a bit slow. you could try downloading it and modifying it to make it faster. one way would be to add more copies of the sprite. another way would be to enable turbo speed (go to the extras menu and choose "start single stepping," then shift-click extras and choose "set single stepping" and choose "turbo.")
That would look really cool! I've done something like that in StarLogo TNG ( http://education.mit.edu/starlogo-tng/ ). I used a timer to set the color. Because of the way it works now (using touching-color-black? to detect if a particle has hit the crystal), it would be a little tricky, but there are probably several ways to make it work. One way would be to have the particles when they get stamped have a black edge and a color in the center , which could be set using set-color-effect.
As well as changing the shape is there a way that i could vary the color throughout the branch, from the seed outward? (e.g. as the radius grows the internal color branches out slowly as the color of the seed changes.)
Wow... Amazing. I made a variation upon this making two seeds. Even doing just that tested my boundaries because I am brand new to scratch. Please feel free to take a look and vary upon what I did.
This is a simulation of the branching growth of a crystal (also known as diffusion-limited aggregation). There is a "seed" at the center, and the red particles move randomly until they stick to it.
Use the slider to adjust the randomness of the movement. More randomness should result in more branching.
I was inspired by this by project:
http://scratchr.org/projects/ejmankh/974
Comments
You need to be logged in to post comments
Add a Comment
I understand how this thing works
fantastic stuff! but i agree with otters98, it takes too long.
hm... it is a bit slow. you could try downloading it and modifying it to make it faster. one way would be to add more copies of the sprite. another way would be to enable turbo speed (go to the extras menu and choose "start single stepping," then shift-click extras and choose "set single stepping" and choose "turbo.")
i feel it takes to long but its awsome!!!
cool
i feel like it takes 2 long
cool.
Amazing. It should change color by Y position!
It's really very pretty
That would look really cool! I've done something like that in StarLogo TNG ( http://education.mit.edu/starlogo-tng/ ). I used a timer to set the color. Because of the way it works now (using touching-color-black? to detect if a particle has hit the crystal), it would be a little tricky, but there are probably several ways to make it work. One way would be to have the particles when they get stamped have a black edge and a color in the center , which could be set using set-color-effect.
if you did it in 1.3 or later, you could use a list.
(view all replies)As well as changing the shape is there a way that i could vary the color throughout the branch, from the seed outward? (e.g. as the radius grows the internal color branches out slowly as the color of the seed changes.)
Wow... Amazing. I made a variation upon this making two seeds. Even doing just that tested my boundaries because I am brand new to scratch. Please feel free to take a look and vary upon what I did.
cool looks like a tree
COOL and eric can u be my freind and join my gallary
you could make them change colour so the inside is a different colour to the outside.
If you set the randomness to 0, then you can tell that it is growing, but if you set it to 100, it is almost impossible to tell. Good Job!
Wow, great job!!
you should make it so their was a couple of these going at once
I love it!!!!!!!!
Wouldn't it be more randomness = less branching? But it's really good!
It's a beautiful mixture between simulation and art.
AWESOME. you did a much better job with this than I did. Thanks for improving on the idea!
i like this...
Wow! This is wierd!!! But it's good...