Tag Archive: cube


This project refers to an Arduino sketch which allows the rotation of three dimensional shapes using appropriate sensors. Essentially, the Arduino collects values from the sensors and corresponds them to the [0, 360] range (rotation angle). Every time we get a pair of values (X, Y) for the rotation of the shape, the pair is sent over the USB serial port to the PC.

The PC runs a Python script which produces three-dimensional shapes with OpenGL. Also, the script obtains the pairs via the USB serial port and renews the current shape of the screen. For performance reasons, the three-dimensional shape is renewed only when there are changes in the pair (X, Y).

Finally, you should know that to run the Python script properly the Arduino should already be running and input sensors should have been calibrated regarding their edges. The calibration is performed automatically in the first 15 seconds (use two potentiometers as an example for both input sensors).

Continue reading

The Ben 10 Cube.

The Ben 10 cube presented enough interest. Although it is like the classic Rubik’s cube, it had some peculiarities.

Specifically, in order to solve it you need to concentrate your attention on the central square of each side so you can always orient it accordingly in the right direction to finalize plans without irregularities.

Continue reading

Since I got my hands on Rubik’s cube, namely the classical one (3x3x3) I got hooked on solving it. I tried several times to solve it but more often I smashed it on the wall or give up.

But recently I learned that Rubik’s cube is solved with algorithms. So when I learned the algorithms and the solution methodology, I started with good intentions. So after a while, I could solve it by applying the algorithms. I have also solved the cubes with 2x2x2, 4x4x4, 5x5x5 and 6x6x6 dimensions. Knowing how to solve these cubes, you can solve any major dimension ones. In larger cubes, there are likely more parity errors. This does not prevent you from solving them.

Continue reading