ULG and JAB?

If you're having trouble using Context Free or don't understand the language, ask for help here.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
shevegen
Posts: 57
Joined: Wed Jul 06, 2005 5:38 am

ULG and JAB?

Post by shevegen »

I just noticed:
1) Generating gray-scale image, variation ULG...
2) Generating color image, variation JAB...


What is ULG and JAB?

Also, one more newbie question, does it take significantly lower to use color, or is this neglectable?

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Post by MtnViewJohn »

Variations: Context Free/cfdg uses a pseudo-random number generator (PRNG) to select shape rules when a shape has more than one rule. CF/cfdg lets you control the seed of the PRNG by starting the program with a variation code, which currently is a one, two, or three letter word. The variation code gets turned into the seed for the PRNG. If you don't specify a variation code at the command line then one will be generated from the system time. You can use variation codes to indicate a particularly good variation of a cfdg file that you are generating. They are also useful when debugging a cfdg file because keeping the PRNG sequence the same lets you see exactly what your changes do.

Color: Color may be a little bit slower. I haven't benchmarked it. The AGG library that we use is blazing fast and very high quality. The reason that we didn't just eliminate the grayscale mode is because many people like to create very, very large images. Doing this in color chews up four times as much memory. So we only turn on color if the cfdg file requires it.

Post Reply