Using a png as a world generator
Closed this issue · 3 comments
forresthopkinsa commented
Hi, I was wondering if it was possible to use CellAuto using a CAWorld that is not procedurally generated?
For example, I want to use an isometric cube as the world for my automata. How would I go about that? Thanks.
sanojian commented
Do you want to run a 3D world simulation? Cellauto does not currently support 3D worlds. It supports 2D maps with square or hexagononal grids.
To answer the other part of your question, you can use a PNG as the source of your world but you will need to convert it into an array first. Then use the "initializeFromGrid" api command to generate the world.
forresthopkinsa commented
I'm talking about using this kind of an image as the CAworld. And OK, got
it.
…On Thu, Feb 23, 2017, 12:20 PM Jonas Olmstead ***@***.***> wrote:
Do you want to run a 3D world simulation? Cellauto does not currently
support 3D worlds. It supports 2D maps with square or hexagononal grids.
To answer the other part of your question, you can use a PNG as the source
of your world but you will need to convert it into an array first. Then use
the "initializeFromGrid" api command to generate the world.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEOlAcl0B3mT6MPkdZ1D8LpwUG2OwSM3ks5rfdvzgaJpZM4MKLQs>
.
forresthopkinsa commented
oops, it didn't paste the image. here: