Rubik's cube: slide the side

python making electronics nablopomo ledpanel cube

One face of a Rubik's cube, drawn by a script. All the six different colours are visible. The right-hand slice is rotated 90 degrees downwards, and then back again, repeatedly.

I recently posted about a potential project making a large, illuminated Rubik's cube. I'd created an animation of the face nearest the viewer being rotated. But, for completeness, we also need to be able to rotate other faces...

I had a few minutes just now, so I created an animation of one of the side faces being rotated.

The new colours just "slide" in, with no change of scale - I think this is probably "good enough", but I do wonder whether it would look better if the colours changed height - giving more of a "perspective" effect, and making it clearer where the corner of the rotating face is.

If I get a few more minutes I'll code up that version and see what it looks like.

0 comments

Post a comment

All comments are moderated, and will not show up immediately on the site, or at all – and if they do, their content may be edited.