specialized compression

For general discussion about Conway's Game of Life.
Post Reply
User avatar
ssaamm
Posts: 125
Joined: June 4th, 2010, 9:43 pm

specialized compression

Post by ssaamm » July 14th, 2010, 1:57 pm

Is there some kind of compression for gigantic things that's based on where different objects are, e.g., in this order:

object type
x
y
generation (period)
xflip
yflip
rotation

Instead of storing the cells themselves? It would be really useful to have something like this, for much faster, smaller downloads of the recent huge projects emerging. The only thing is, if there isn't, then there would require a huge amount of databasing to make it. I know almost nothing of programming, but I really think this would be a worthwhile project.

User avatar
PM 2Ring
Posts: 152
Joined: March 26th, 2009, 11:18 am

Re: specialized compression

Post by PM 2Ring » July 15th, 2010, 12:40 pm

xlife did this with its #I format, see Life man page

But as Dave says, it's not fun to write a parser to read or write such files.

The other approach is to use a Python or perl script to build the pattern, and compress the script, an approach I've used with some of my Ticker patterns.

Here's an example script that creates its output in the form of a compressed Python script that decompresses itself, but unfortunately it doesn't work with modern versions of Golly. However, Andrew has fixed the output script so at least that should work on modern versions of Golly. p30 printer: update

Also see this thread for my Ticker patterns of Marilyn Monroe & John Conway. Marilyn

User avatar
calcyman
Posts: 2203
Joined: June 1st, 2009, 4:32 pm

Re: specialized compression

Post by calcyman » July 16th, 2010, 11:51 am

Generally, the macrocell file format (*.mc) is an ideal compromise between compression and speed thereof.
What do you do with ill crystallographers? Take them to the mono-clinic!

Post Reply