Bouncing AtomsSee how the moving turtles from our newly created simulation seem to leave the Kedama world and enter again on the other side? This is called “wrapping,” as the turtles seem to wrap around one edge to the opposite edge. If you want the turtles to bounce off the sides, however, you can do that by making a change in the “kedama” menu. Bring up the “kedama” menu by clicking on the Kedama world and opening a viewer, or by clicking the Kedama world viewer flap tab . You should see different commands including the word “EdgeMode.” There are four of them corresponding to the four edges, and they are currently set to “wrap.” To make the atoms bounce off the edges, you can change their status to “bouncing.” |
||||||||||||||||||||||
![]() |
||||||||||||||||||||||
Run your script again and see what happens! You can also control the speed at which the atoms move. See the clock icon at the top of your script? If you hold the mouse down over it, you’ll see the following menu: |
||||||||||||||||||||||
![]() |
||||||||||||||||||||||
| This menu allows you to set how many ticks, or cycles, occur each second. Go ahead and set the tick rate to different values and observe what happens! | ||||||||||||||||||||||