question about noise function and own LED layout
hi
my LED Layout looks like this:
int myLEDs[11][20] = { { 210 , 211 , 212 , 213 , 214 , 215 , 216 , 217 , 218 , 219 , 220 , 221 , 222 , 223 , 224 , 225 , 226 , 227 , 228 , 229 } ,
{ 200 , 201 , 202 , 203 , 204 , 205 , 206 , 207 , 208 , 209 , 239 , 238 , 237 , 236 , 235 , 234 , 233 , 232 , 231 , 230 } ,
{ 199 , 198 , 197 , 196 , 195 , 194 , 193 , 192 , 191 , 190 , 189 , 188 , 187 , 186 , 185 , 184 , 183 , 182 , 181 , 180 } ,
{ 150 , 151 , 152 , 153 , 154 , 155 , 156 , 157 , 158 , 159 , 160 , 161 , 162 , 163 , 164 , 165 , 166 , 167 , 168 , 169 } ,
{ 140 , 141 , 142 , 143 , 144 , 145 , 146 , 147 , 148 , 149 , 179 , 178 , 177 , 176 , 175 , 174 , 173 , 172 , 171 , 170 } ,
{ 139 , 138 , 137 , 136 , 135 , 134 , 133 , 132 , 131 , 130 , 129 , 128 , 127 , 126 , 125 , 124 , 123 , 122 , 121 , 120 } ,
{ 90 , 91 , 92 , 93 , 94 , 95 , 96 , 97 , 98 , 99 , 100 , 101 , 102 , 103 , 104 , 105 , 106 , 107 , 108 , 109 } ,
{ 80 , 81 , 82 , 83 , 84 , 85 , 86 , 87 , 88 , 89 , 119 , 118 , 117 , 116 , 115 , 114 , 113 , 112 , 111 , 110 } ,
{ 79 , 78 , 77 , 76 , 75 , 74 , 73 , 72 , 71 , 70 , 69 , 68 , 67 , 66 , 65 , 64 , 63 , 62 , 61 , 60 } ,
{ 30 , 31 , 32 , 33 , 34 , 35 , 36 , 37 , 38 , 39 , 40 , 41 , 42 , 43 , 44 , 45 , 46 , 47 , 48 , 49 } ,
{ 19 , 18 , 17 , 16 , 15 , 14 , 13 , 12 , 11 , 10 , 9 , 8 , 7 , 6 , 5 , 4 , 3 , 2 , 1 , 0 }
};
so i have 630 and 220 with 8 stripes in 11 lines with 20 columns
How can i get the noise function work on this layout (i see the construct
fill_2dnoise16(LEDS.leds(), kMatrixWidth, kMatrixHeight, kMatrixSerpentineLayout,
octaves,x,xscale,y,yscale,v_time,
hue_octaves,hxy,hue_scale,hxy,hue_scale,hue_time, false);
but this didn’t fill the LEDS in the right order.
Does anyone know how i can do that.
thx in advance
hape
I’d try a dummy led array laid out normally (0,1,2,3,4 etc). Then copy the data to the actual LED array.
hi Jeremy
thats a good idea. I will give it a try and tell if it works (but it should as i can imagine)
thx
hape
hi
done it
thx so much it works brilliant
so long
hape