Alpha and Conditions

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

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
Cowmage
Posts: 1
Joined: Wed Feb 22, 2006 7:43 am
Contact:

Alpha and Conditions

Post by Cowmage »

This is Bobby, and i was wondering two things....

1. I see the command alpha in a lot of user galleries, and i was wondering what it did.

2. I was wondering if there were any kind of conditional statements (like if statements in c++ that i could use in my art.....ex

if size equals 4
do this

thanks
Is all confuzzled yo

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

Post by MtnViewJohn »

Hi Bobby,

Alpha is a technical term for transparency. Shapes that have an alpha of 1 are fully opaque. Shapes that have an alpha of 0 are fully transparent. Values of alpha between 0 and 1 result in translucent shapes. It is also sometimes useful to set the background to fully transparent.

The Context Free/CFDG language is not a programming language and it doesn't have any data storage or control constructs. If you want a more C-like graphics environment then you should check-out the Processing language. Chris has an essay on the spirit of Context Free/CFDG in the Feature Suggestion forum. Mark wrote one too.

Post Reply