In creating a simulation of balloons rubbing, I want to have electrons¹ created. What tiles can I use to generate siblings or copies of a dot¹ that would then move around? I¹m not sure if I want siblings or copies...... This would be similar to having to create a stream of projectiles from a cannon or hose, for example.
On 29.02.2012, at 14:25, sholom.eisenstat wrote:
In creating a simulation of balloons rubbing, I want to have ‘electrons’ created. What tiles can I use to generate siblings or copies of a ‘dot’ that would then move around? I’m not sure if I want siblings or copies...... This would be similar to having to create a stream of projectiles from a cannon or hose, for example.
You would use the electron's "copy" tile to duplicate it and the world's "include" tile to place it in the world, like so:
world include electron's copy
(this actually produces a sibling, but it wouldn't matter either way)
Btw, since this is an Etoys-specific question, you may find this to be a better place to ask this kind of questions:
http://squeakland.org/discuss/
- Bert -
On Fri, Mar 9, 2012 at 10:33 PM, Markus Schlager m.slg@gmx.de wrote:
On Wed, 29 Feb 2012, sholom.eisenstat wrote:
Iąm not sure if I want siblings or copies......
With siblings you can use 'tell all'-tiles, for example, with duplicates you cannot.
Markus
'Tell all siblings' is in my experience much prefered if I am simulating lots of similar objects moving around eg. bouncing atoms.
My aging computer will feel unreponsive if I try to make a few hundred copies of a moving atom when each has a ticking script.
Karl
beginners@lists.squeakfoundation.org