Let’s say I have @points[$number][$x][$y][$z][$color] and I just for debug purposes want them visualized in 3D cube to better observe what I have. Typically I export them to *.txt and use R 3D plotting, but maybe there is easy way to do this in Perl?
It would be even better to have spheres with radius.
Let’s say I have @points[$number][$x][$y][$z][$color] and I just for debug purposes want them visualized
Share
My answer: use OpenGL perl bindings
I haven’t quite done an exact answer to your question but I’m sure you can adopt this code
I haven’t done OpenGL before but it was a fun little evening project