C
CBlair1986
Hello, all.
I've just got a bit of a question, here. I suppose my mind's a bit too
tired to think of a solution at the moment, but it's been on my mind
for a while. What I'd like to do is take an array and turn it into an
isometric view of the data, eg:
[[[1,1], # Bottom Layer
[1,1]],
[[0,1], # Top Layer
[0,0]]]
to
+-----+
|\ \
| +-----+
+-----+ | |
|\ \| |
| +-----+-----+
+ |\ \ \
\| +-----+-----+
+ | | |
\| | |
+-----+-----+
The array would hold only binary data, either 1/0 or true/false.
Any help will be greatly appreciated!
I've just got a bit of a question, here. I suppose my mind's a bit too
tired to think of a solution at the moment, but it's been on my mind
for a while. What I'd like to do is take an array and turn it into an
isometric view of the data, eg:
[[[1,1], # Bottom Layer
[1,1]],
[[0,1], # Top Layer
[0,0]]]
to
+-----+
|\ \
| +-----+
+-----+ | |
|\ \| |
| +-----+-----+
+ |\ \ \
\| +-----+-----+
+ | | |
\| | |
+-----+-----+
The array would hold only binary data, either 1/0 or true/false.
Any help will be greatly appreciated!