commands

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

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
Guest

commands

Post by Guest »

it would have greatly helped me, as an individual only knowing a small amount of c++ if one of the included sample files would have been something along the lines of this, except complete and using the proper terminology. the examples are nice but my first few designs would have been much easier to get up and running is one of the sample fiels was this simple rather than learning 4 chapters at a time.

//Big commands:
startshape anything
rule anything{
//basic shapes:
CIRCLE{}
SQUARE{}
TRIANGLE{}
//modifiers of shapes or rules:
{
s # //size
x # //position on the x axis
y # //position on the y axis
skew # # //bend shape along x or y axis respectively
rotate # //rotate around the center
flip # //flip around the center
b # // brightness
hue # //hue
sat # //saturation
}
}

Post Reply