Open JensLincke opened 7 years ago
Does one paint new turtles or does one paint patches?
You paint turtles. Patches are the "shared memory".
Patches have a value for each pixel. The value determines how "transparent" the patch is (higher value = less transparent). The patch can "diffuse" (meaning its value spreads out over the neighbouring pixels over time) and they can "evaporate" (meaning their value goes down over time).
patches cannot move, they have one value per pixel, and you cannot easily "move" that value. turtles can move and they can also carry variables, so to "send" data around with direction, you need to use turtles. to just "spread information" you can use patches.
So, the painted turtles should have the position you painted them...
yes, but there is a bug there, they move to the top left, if there is nothing in the topleft, because the painting is cropped before it is applied to kedama, i think.
i will make you a video
here is a video kedama-draw.zip
but when painting without an existing turtle... the turtles are all moved
it is not clear how to create a new turtle...
the easiest was to paint directly on the world the turtle was moved...