-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPSEUDO_CREAM.txt
87 lines (63 loc) · 1.45 KB
/
PSEUDO_CREAM.txt
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
PSEUDO
Commments
Should we use classes or not?
Do we want to do a latch style load like the pyrosphere or just use Adafruit_WS2801?
Do we use PGMspace to store the mappings?
How do we easily load different maps!? Grid class is hard to abstract and essentially changes for every project but is a core tranlsation all of the time. q();
Serial Polling... how should we do it? How can we do it better than the pyrosphere.
== Transitioning
What if we assume each effect transitions and only turn it off when it shouldnt.
Effect completes - interval 0
Get new selector
Set future color grid -
Decompose colors
Iterate through transition sequence
== Movement within effects
Setup easing of frequency within iteration
== Pattern
Grid has
mode,
orientation,
panelsX,
panelsY,
pixelsX,
pixelsY,
total;
strandq[],
panelsq[], // for criss-cross like the Fan or a Test Panel.
mirroredq[],
ceilingq[];
Controller has
total,
test,
debug,
selector,
intensity,
frequency,
sustain,
density,
division,
r,g,b,a,
index,
mode = chill, party, impress, static
now
then
pduration
iduration
interval,
phase;
orientation,
direction;
Creamery
Each effect function will
update the current array colors (structs or 32bit...)
have certain triggers to know if it's done or just starting....
loop count decrement
default values / overrides
Utilities
Color convert,
Random Color,
Random Wheel
Random Number
Random Pixel
Random Panel