Targeting Colours

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

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
User avatar
LazyMoon
Posts: 20
Joined: Sun Aug 13, 2006 2:52 am
Location: Adelaide, Australia
Contact:

Targeting Colours

Post by LazyMoon »

I've been trying to get my mind around targeting colours on ContextFree (2.0β), however, for the life of me I cant work out how I am meant to use |hue and hue x|.

Could someone provide a couple of examples of the how the |hue and hue x| commands work.

Cheers :D

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

Post by MtnViewJohn »

The ciliasun example that is included with Context Free shows how to use |hue x and hue x|. The SUN rule contains |hue 60, which sets the target hue to yellow. The LINER rules contain hue 0.1|, which changes the hue 10% closer to the target (60) in the counter-clockwise direction.

User avatar
LazyMoon
Posts: 20
Joined: Sun Aug 13, 2006 2:52 am
Location: Adelaide, Australia
Contact:

Post by LazyMoon »

MtnViewJohn wrote:The ciliasun example that is included with Context Free shows how to use |hue x and hue x|. The SUN rule contains |hue 60, which sets the target hue to yellow. The LINER rules contain hue 0.1|, which changes the hue 10% closer to the target (60) in the counter-clockwise direction.
Ah, excellent. That clears it all up. Thanks.

Post Reply