ok... so, what does this do? I can see that it carefully stamps to make sure that it doesn't stamp over the black line, and that it makes the color effect match the distance to the line, or the size, or something... But what is the point? It's still good, but I guess... I'd like to know more.
Also I wanted to get to know quadtrees better. It can be an efficient way to store and traverse complex 2d volume information, that could be used for collision detection, occlusion... then it has a bigger brother, the octree for 3d information.
I want it to be a very fast way to fill an area. It's buggy though, if you un-hide the drawer sprite, you'll see to go back over areas it shouldn't. I think it needs another variable that tracks the last left it was at. or something? I don't know how make it work yet.
Click and draw to start the fun.
This is a test to recursively fill an area. It's not perfect, (doesn't work online) but maybe it's fun to watch.
I'll write more if there's interest.
Comments
You need to be logged in to post comments
Add a Comment
what is it supposed to do?
srry bout below, i thought i had the right link, but i copyed somethin in the forums, anyway lol heres the link (link to project)">(作品链接)
hey addzero; i made a version of ur spin me, plz check it out! [url=(link to forums)">(link to forum)]Scratch Forums[/url]
whatev
hmm, your right, it doesn't seem to work online.
cool!
I don't think I understand it, but, whatever.
Thanks for taking a look at it. I started another one, maybe it'll work better.
Here's more on quad trees: http://en.wikipedia.org/wiki/Quadtree">http://en.wikipedia.org/wiki/Quadtree
does the function 1 call itself? or when it calls itself, it ends itself and restarts the function?
yeah, it ends itself and restarts the function.
(view all replies)ok... so, what does this do? I can see that it carefully stamps to make sure that it doesn't stamp over the black line, and that it makes the color effect match the distance to the line, or the size, or something... But what is the point? It's still good, but I guess... I'd like to know more.
Also I wanted to get to know quadtrees better. It can be an efficient way to store and traverse complex 2d volume information, that could be used for collision detection, occlusion... then it has a bigger brother, the octree for 3d information.
I want it to be a very fast way to fill an area. It's buggy though, if you un-hide the drawer sprite, you'll see to go back over areas it shouldn't. I think it needs another variable that tracks the last left it was at. or something? I don't know how make it work yet.
Looks Cool! I'll download!