The program will create a cube in any dimensions and display it. repl.it will only allow up to 5 dimensions though. Press "p" to toggle perspective which could change the whole view. Press "space" to only show verticies. My second repl. Have fun!
@CodingCactus Lies, the 1D line is still 2D, we can measure the width of it. It's width needs to be 0 or NaN, then it would be 1D, but also unseeable.
0
NaN
That 0 is totally incorrect.
any dimensional cube
The program will create a cube in any dimensions and display it. repl.it will only allow up to 5 dimensions though. Press "p" to toggle perspective which could change the whole view. Press "space" to only show verticies. My second repl. Have fun!
@CodingCactus Lies, the 1D line is still 2D, we can measure the width of it. It's width needs to be
0
orNaN
, then it would be 1D, but also unseeable.That
0
is totally incorrect.