0
Has anybody created hypercube(i mean 4d cube)? I think about creating of something like this.
I want to listen(read) your thoughts. We can create it together.
1 Respuesta
+ 2
Not graphics, but I was fiddling with the internal arrangement of arrays when increasing dimensions here:
https://code.sololearn.com/c0gj6D4Q1iUn/?ref=app
8: LENGTH is the side length in the current shape
18: SHAPE (using the constants from POINT to HYPERCUBE) control the array generation
Notes:
I was unhappy with something so stopped fiddling with it, but...
I started documenting the way the cells were connected (block comment at line 79) if that helps.
If you drop LENGTH to 2, it can auto-switch to letters because I thought it was more compact than variable-length cell numbers.
I'm posting this because feedback's fine; it's not like I thought it was finished / well-written (I was writing for it to be read by others, not efficiency) and...I was just tinkering.