On Wed, 21 Jan 2009, Jeremy Ashkenas wrote:

> Unfortunately that Game of Life app actually has little "Critter" objects for
> each of the blue circles that it plots, so it's not much of a help. Each
> critter just knows how to draw itself with a probabilistic shade of blue.

I thought it would be like that, but I'll look, I can probably learn
something from it, and it looks like it needs fixes for windows, so I
may be able to help there, possibly.

[It might be fun to play with this further anyway: having a rock, paper,
scissors arrangement of three lifeform types is one thing that may yield
interesting patterns]
> 
> Keeping buffers of image objects and drawing to them directly, as _why
> describes in that gmane post, and then printing them to the screen as
> desired, seems like a great way to go ... Quote:
> 
> -* altering image pixels *-
> 
> to get a pixel:
> 
>   @icon[left, top]
>     #=> color or pattern
> to set a pixel:
> 
>   @icon[left, top] = color or pattern.

That looks like what I need.  
> 
> 
        Thank you,
        Hugh

Reply via email to