From: "Christoffer Lernö" Date: 2007-03-12T17:19:10+09:00 Subject: Re: [QUIZ] SimFrost (#117) On Mar 11, 2007, at 21:43 , James Edward Gray II wrote: > On Mar 11, 2007, at 3:07 PM, Christoffer Lern� wrote: > >> It's interesting that it looks like everyone populated their grid >> using a randomizer for each position in the grid. >> >> This is is obviously fast, but for small grids (and low >> percentages), the percentage of actual generated vapour particles >> may be off by quite a bit. > > What's a "small grid" and what's "quite a bit"? ;) For 10x10 with 10% vapour, the number of particles typically range between 5 and 15, that's between 50% and 150% of the desired amount. That's quite a bit, since the patterns with 15 vapour particles are quite different from one with 5. The larger the grid, the more this value evens out (of course). I'm not saying that this is necessarily a flaw in the solutions, I just thought it was an interesting problem - randomly mixing elements in a two-dimensional grid. Christoffer