Welcome to mirror list, hosted at ThFree Co, Russian Federation.

group___colorpalletes.html « 3.1 « docs - github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9fc795fcb1ebec9571490baf02ac957a28ee21a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>FastLED: Pre-defined color palletes</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">FastLED
   &#160;<span id="projectnumber">3.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Pre-defined color palletes</div>  </div>
</div><!--header-->
<div class="contents">

<p>These schemes are all declared as "PROGMEM", meaning that they won't take up SRAM on AVR chips until used.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga4c24011acb68ef669929a5386af01c54"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4c24011acb68ef669929a5386af01c54"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DECLARE_GRADIENT_PALETTE</b> (Rainbow_gp)</td></tr>
<tr class="separator:ga4c24011acb68ef669929a5386af01c54"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga57a38373661043f74b292976e83c687b"><td class="memItemLeft" align="right" valign="top">const TProgmemRGBPalette16 CloudColors_p&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___colorpalletes.html#ga57a38373661043f74b292976e83c687b">FL_PROGMEM</a></td></tr>
<tr class="memdesc:ga57a38373661043f74b292976e83c687b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cloudy color pallete.  <a href="#ga57a38373661043f74b292976e83c687b">More...</a><br /></td></tr>
<tr class="separator:ga57a38373661043f74b292976e83c687b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga57a38373661043f74b292976e83c687b"><td class="memItemLeft" align="right" valign="top">FASTLED_USING_NAMESPACE const TProgmemRGBPalette16 CloudColors_p&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___colorpalletes.html#ga57a38373661043f74b292976e83c687b">FL_PROGMEM</a></td></tr>
<tr class="memdesc:ga57a38373661043f74b292976e83c687b"><td class="mdescLeft">&#160;</td><td class="mdescRight">HSV Rainbow.  <a href="#ga57a38373661043f74b292976e83c687b">More...</a><br /></td></tr>
<tr class="separator:ga57a38373661043f74b292976e83c687b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>These schemes are all declared as "PROGMEM", meaning that they won't take up SRAM on AVR chips until used. </p>
<p>Furthermore, the compiler won't even include these in your PROGMEM (flash) storage unless you specifically use each one, so you only 'pay for' those you actually use. </p>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="ga57a38373661043f74b292976e83c687b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const TProgmemRGBPalette16 HeatColors_p FL_PROGMEM</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Cloudy color pallete. </p>
<p>Approximate "black body radiation" palette, akin to the FastLED 'HeatColor' function.</p>
<p>HSV color ramp: blue purple ping red orange yellow (and back) Basically, everything but the greens, which tend to make people's skin look unhealthy.</p>
<p>HSV Rainbow colors with alternatating stripes of black.</p>
<p>HSV Rainbow.</p>
<p>Forest colors, greens.</p>
<p>Ocean colors, blues and whites.</p>
<p>Lava colors.</p>
<p>This palette is good for lighting at a club or party, where it'll be shining on people.</p>
<p>Recommend that you use values 0-240 rather than the usual 0-255, as the last 15 colors will be 'wrapping around' from the hot end to the cold end, which looks wrong. </p>

</div>
</div>
<a class="anchor" id="ga57a38373661043f74b292976e83c687b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const TProgmemRGBPalette16 HeatColors_p FL_PROGMEM</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">=</div>
<div class="line">{</div>
<div class="line">    CRGB::Blue,</div>
<div class="line">    CRGB::DarkBlue,</div>
<div class="line">    CRGB::DarkBlue,</div>
<div class="line">    CRGB::DarkBlue,</div>
<div class="line"></div>
<div class="line">    CRGB::DarkBlue,</div>
<div class="line">    CRGB::DarkBlue,</div>
<div class="line">    CRGB::DarkBlue,</div>
<div class="line">    CRGB::DarkBlue,</div>
<div class="line"></div>
<div class="line">    CRGB::Blue,</div>
<div class="line">    CRGB::DarkBlue,</div>
<div class="line">    CRGB::SkyBlue,</div>
<div class="line">    CRGB::SkyBlue,</div>
<div class="line"></div>
<div class="line">    CRGB::LightBlue,</div>
<div class="line">    CRGB::White,</div>
<div class="line">    CRGB::LightBlue,</div>
<div class="line">    CRGB::SkyBlue</div>
<div class="line">}</div>
</div><!-- fragment -->
<p>HSV Rainbow. </p>
<p>HSV Rainbow colors with alternatating stripes of black.</p>
<p>Forest colors, greens.</p>
<p>Ocean colors, blues and whites.</p>
<p>Lava colors.</p>
<p>Approximate "black body radiation" palette, akin to the FastLED 'HeatColor' function.</p>
<p>HSV color ramp: blue purple ping red orange yellow (and back) Basically, everything but the greens, which tend to make people's skin look unhealthy.</p>
<p>This palette is good for lighting at a club or party, where it'll be shining on people.</p>
<p>Recommend that you use values 0-240 rather than the usual 0-255, as the last 15 colors will be 'wrapping around' from the hot end to the cold end, which looks wrong. </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Aug 10 2015 22:46:45 for FastLED by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>