cubes icon indicating copy to clipboard operation
cubes copied to clipboard

This code calculates all the variations of 3D polycubes for any size (time permitting!)

Results 21 cubes issues
Sort by recently updated
recently updated
newest added

You need a language in which writing down any point requires you to also write down every point which could correspond to that under taxicab rotation/reflection. This means every time...

Expanding on some great work done by other contributors, I created a few optimisations for the RUST implementations e.g. 1. Additional compile options for RUST in Linux based on @dzamlo...

For an n-polycube: All n-polycubes can be generated in a space with dimensions (n, n, n). Most n-polycubes exist in more compact spaces. Idea: Partition space into cells of dimension...

I knew a trick from my futile attempt to solve the challenge in Matt Parker's net folding video. (i.e. 'Can the Same Net Fold into Two Shapes?') With that trick,...

My attempt to represent the shapes in a rotation invariant way is inspired by [Local Binary Patterns (LBP)](https://en.wikipedia.org/wiki/Local_binary_patterns). LBP is used in machine vision to extract descriptors from an image....

In function 'render_shapes', the name PLT has not been defined. I assume it should be defined as some graphical object, but I cannot work out what. Can this be fixed...

```python import numpy as np m = np.array([[1,1,0], [0,1,0,], [0,1,0]]) stored_shapes = {} def generate_super_shape(array, counter = 1, shapes=None): # get rotated versions of input shape and input rotated 90...

### Explanation Consider a list of directions instead of a representation of the polycubes inside a n-dimensional array. Start with 2D for simplicity. For 2D we will just go "north...

I'd like to try and port it over to go, to see how it compares with speed

I am probably saying the same thing as other just I don't have the proper terms probably but to save on lookup time: Take the binary representation of every transformation...