cubes
cubes copied to clipboard
This code calculates all the variations of 3D polycubes for any size (time permitting!)
I made a version in rust: https://gitlab.com/dzamlo/polycubes It's quick and dirty code. On my laptop, I can compute up to n=13. For n=14, the process consume too much memory and...
unecessary -> unnecessary
change of view instead of thinking about the cubes as structure, think about a mash of edges and node (group theory?). Each node is the center of a cube and...
https://www.desmos.com/calculator/fea4uymhix According to this graph, file sizes will get ridiculously large even by the 12th iteration. Perhaps the storage format should be optimized?
Hi just wanted to contribute with the first of a few optimizations I have made. Please let me know if you actually want this kind of contribution before I raise...
Already posted this on the YT vid but I'll repeat it here anyways. For fixing orientation you 1st want to determine the longest or shortest section of the shape, doesn't...
This Rust implementation tries to be as close to the original Python code as possible. (Rust specific) optimizations can be added at a later point.
I've done some profiling runs to see where the most time is spent. In the main (mikepound) branch, 8% of the runtime for n=9 is spent within the `crop_cube()` function....
The idea is to use the projections of the polycube on each of the three axes to come up with a set of orientation rules. For each axis: - First...
resource: https://numba.pydata.org/numba-doc/latest/user/5minguide.html from numba import njit