Page 1 of 1

Alpha and Conditions

Posted: Wed Feb 22, 2006 7:49 am
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

Posted: Wed Feb 22, 2006 8:56 pm
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.