1 comment

[ 2.0 ms ] story [ 10.4 ms ] thread
four years ago, i wondered how multidimensional arrays could be visualized, so i came up with a recursive representation in my head and built this canvas-based visualizer to see if it would work. it handles tensors of arbitrary rank by recursively nesting lower-dimensional structures.

should have shared it on HN then, but i didn't even know about it. i still think that it's cool, so i guess better late then never :)

here's the source code: https://github.com/biraj21/tensor-visualizer