You only plot the position at which it bumps into the seed.
The seed and the particle now form the "seed" for the next particle to
stick to.
You can also tweak whether "touching" is based on the Moore
neighborhood (includes diagonals) or the Turing neighborhood (only the
4 neighbors up, down, right, left).
What is the relevance of this to genetic algorithms? You might get
better help in a newsgroup about computer graphics.
Re: Setting pointsize to match data. ... Every particle has a fixed radius (and ... the syntax for set pointsize just seems to allow you to set it ... > the plot area then I would be able to calculate the required pointsize. ... (comp.graphics.apps.gnuplot)
Point color as a function of additional data ... Unfortunately, the Section 15.1 "Colorspec" in the Gnuplot manual only describes the case of the demo gallery, and also states that colored plotting is not available in plot. ... it remains completely unclear how the colors are defined from the "rgb" function. ... The data I want to plot are particles from a smoothed particle hydrodynamics simulation, where each particle has x,y,z coordinates as well as some hydrodynamical values like temperature and density. ... (comp.graphics.apps.gnuplot)
Re: Point color as a function of additional data ... but with the rgb color as a function of a single number. ... See second plot in "rainbow.dem", which uses the HSV palette mapping...particle hydrodynamics simulation, where each particle has x,y,z ... (comp.graphics.apps.gnuplot)
Setting pointsize to match data. ... Every particle has a fixed radius (and ... the syntax for set pointsize just seems to allow you to set it ... the plot area then I would be able to calculate the required pointsize. ... (comp.graphics.apps.gnuplot)
Re: scaling marker size using scatter() ... to scale the particle. ... figure size to get my 2m diameter particle to be the correct ... Also using set(hChildren, 'Markersize', N) doesn't make it ... I plot a point using ... (comp.soft-sys.matlab)