Subject: | |
From: | |
Reply To: | |
Date: | Fri, 27 Jan 2017 22:02:38 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On Jan 27, 2017, at 9:51 PM, Stewart Aitken <[log in to unmask]> wrote:
> Here are the three files.
> If I initialise and then step singly it works completely as expected.
> However, if I initialise and then run that is when we see the duplication in the display frame.
I can't replicate that on OS X. However, I do note that your code freaks out after about 41 agents because you run out of space in your grid, and your method placeFirstAgent(...) goes into an infinite loop.
> Re the Border edges, I can get them up to ObjectGrid2D( 45, 40) after this they just do not appear.
Hmm, just tried on my box with your code at 100x100 on a 400x400 window and both the gridlines and the borders look great.
Sean
|
|
|