Search Options
close
Search the following clips:
All Clips
Everyone's Clips
My Guides
Sign Up
Install
Learn More
Login
Context Free / Background Directives
Michalowski
follow
0
5-12-2008 4:25 AM
122 views
tags:
art
,
cfdg
,
render
,
context free
,
help
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Related Clips
Public Funds Nixed For Jesus Statue In Edm...
Kirjoittaminen ei katoa, mutta siitä ei en...
Art Therapy!
Food Art
Cubism
L'Art Arabe 1877
Creative KFC Art
Today's Top Clips
Stunning Collapse of Iceland
Obama looks like a terrorist, but I'll vote for him anyway
A growing number of scientists argue: human evolution had all but stopped!
20 Winning Pictures: It's a Small, Small, Small, Small World
Afghan fighters switching to Taliban
Most Corporations Pay NO US Income Tax.
Shadow Puppets
Ugandans BAN female circumcision
Is he good hearted? or just just damn attractive
Fructose Leads to Leptin Resistance
visit the
Top Clips page
View the Top Clips from
May 12, 2008
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://www.clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/c3ede833-d0cf-4a4a-9d09-43056afb1697/C728A13A-7811-45AF-8918-A1D4CC181C03/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://www.contextfreeart.org/mediawiki/index.php?title=Background_directive&oldid=1427" href="http://www.contextfreeart.org/mediawiki/index.php?title=Background_directive&oldid=1427" style="font-size: 11px;">www.contextfreeart.org</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.contextfreeart.org/mediawiki/index.php?title=Background_directive&oldid=1427"><DIV id="bodyContent"> <H3 id="siteSub">From Context Free Art</H3> <DIV id="contentSub"></DIV> <DIV id="jump-to-nav">Jump to: <A href="#column-one">navigation</A>, <A href="#searchInput">search</A></DIV> <DIV class="editsection">[<A title="Edit section: Background Directives" href="http://www.contextfreeart.org/mediawiki/index.php?title=Background_directive&action=edit§ion=1">edit</A>]</DIV><A name="Background_Directives"></A><H2>Background Directives</H2> <P>The shapes rendered by Context Free/CFDG are drawn on a canvas that starts out with a background color. The default color is opaque white, but this can be changed using a background directive. </P><P>A background directive is a line in the CFDG file that starts with the word 'background' that is followed by set of <A title="Color adjustments" class="new" href="http://www.contextfreeart.org/mediawiki/index.php?title=Color_adjustments&action=edit">color adjustments</A> in curly braces. The adjustments are relative to the default background color of opaque white (hue = 0, saturation = 0, bright = 1, alpha = 1). If there are more than one background directive then only the first is used. </P><P>Here are some useful background directives: </p> <PRE class="cfdg"><SPAN>background</SPAN> <SPAN>{</SPAN> <SPAN>b</SPAN> <SPAN>-1</SPAN> <SPAN>}</SPAN> <SPAN>// opaque black</SPAN> <SPAN>background</SPAN> <SPAN>{</SPAN> <SPAN>a</SPAN> <SPAN>-1</SPAN> <SPAN>}</SPAN> <SPAN>// transparent</SPAN></PRE> <DIV class="printfooter"> Retrieved from "<A href="http://www.contextfreeart.org/mediawiki/index.php/Background_directive">http://www.contextfreeart.org/mediawiki/index.php/Background_directive</A>"</DIV> <DIV class="visualClear"></DIV> </DIV></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/C728A13A-7811-45AF-8918-A1D4CC181C03/blog/" title="blog or email this clip"><img src="http://content9.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Blog
Copyright
Privacy
EULA
OK