what is a 10x10x10 led matrix?
$matrix = array(
array(
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
),
array(
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
),
array(
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
),
array(
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
),
array(
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
),
array(
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
),
array(
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
),
array(
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
),
array(
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
),
array(
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
array(0,1,2,3,4,5,6,7,8,9),
),
);
Where is the 10 gig amount of bits stored?
With 1,000 LED's that equates to a cube with a LOT of possible states of being a 1 (on) or a 0 (off).
Anyone care to calculate the possible combinations or permutations? O0
#include<iostream>
using namespace std;
int main()
{
int matrix[10][10][10];
const int min = 0;
const int max = 1;
unsigned int i;
for (int i = 0; i < 10; i++)
{
for (int j = 0; j < 10; j++)
{
for (int k = 0; k < 10; k++)
{
const int state = (rand() % (max + 1 - min)) + min;
matrix[i][j][k]=state;
cout << matrix[i][j][k] << ",";
}
cout << endl;
}
cout << endl;
}
return 0;
}
1,0,1,1,1,1,0,0,1,1,
0,1,0,1,1,0,0,0,0,0,
1,0,1,1,0,0,0,1,1,1,
1,0,0,0,1,1,1,0,1,0,
1,1,1,1,0,1,0,0,1,0,
1,0,1,0,0,1,0,0,0,1,
1,1,0,1,0,1,0,1,1,1,
0,1,0,1,0,1,0,0,1,0,
1,0,0,0,0,0,1,1,0,1,
0,0,0,0,1,0,0,0,0,1,
1,0,0,0,1,1,1,0,1,0,
0,0,1,0,0,1,1,1,0,1,
0,1,1,1,1,1,1,1,1,1,
1,0,1,1,0,1,0,1,1,0,
0,1,0,1,1,1,0,0,0,1,
0,1,0,1,0,1,0,1,1,1,
1,0,0,0,1,0,1,0,0,0,
0,0,1,0,1,1,1,1,1,0,
0,1,1,0,1,1,0,1,0,1,
1,1,1,1,0,0,1,1,0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