Follow Slashdot blog updates by subscribing to our blog RSS feed

typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. ×

## A Working 5D Rubik's Cube171

Melinda Green writes "Readers who enjoyed the previous Slashdot postings regarding the 4-dimensional Rubik's cube called MagicCube4D will be interested to know that a couple of brilliant developers have recently created a working 5-dimensional Rubik's cube. Operating a 5 dimensional puzzle projected all the way down to a 2D computer screen may seem a hopeless task but the full 5D puzzle has already been solved by 3 people. Also noteworthy is the fact that the 4D puzzle has now been ported to Java and is available as both a full-featured desktop application and as an Applet."
This discussion has been archived. No new comments can be posted.

## A Working 5D Rubik's Cube

Comments Filter:
• #### MY HEAD ASPLODE! (Score:5, Funny)

by Anonymous Coward on Sunday June 04, 2006 @08:05AM (#15466021)
n/t
• #### Re:MY HEAD ASPLODE! (Score:1, Funny)

by Anonymous Coward
Mr.Burns: Quick Smithers. Bring the mind eraser device!
Smithers:You mean the revolver, sir?
Mr.Burns: Precisely.
• #### Re:MY HEAD ASPLODE! (Score:4, Funny)

<kulminaatorNO@SPAMgmail.com> on Sunday June 04, 2006 @10:55AM (#15466714) Homepage
I think even Freud would say that: if you play with 5d rubic's cubes, you need to get laid.
• #### 2D "cube"? (Score:2)

What I'd like to know is how would a 2D version of the Rubik "cube" look like. A square with each side made up of three different segments, and each segment swaps with the opposite one? Somehow that doesn't seem right...
• #### Re:2D "cube"? (Score:2, Funny)

Hmmm. Maybe even I could solve a 2D Rubik without having to buy a damned book. If not, maybe the 1D?
• #### I see that... (Score:2, Informative)

...it requires .NET. Thanks. I don't mind downloading and installing 30MB's of framework just to play with a Rubik's cube. Really, I don't.
• #### Re:I see that... (Score:1, Funny)

by Anonymous Coward
Yeah, because everyone knows that .NET is a Framework for 5D rubik's cube applications only.
• #### Re:I see that... (Score:2)

We should invade Iraq for nonexistent WMD, because once we're bogged down there, we can get the oil!
• #### Re:I see that... (Score:5, Funny)

by Anonymous Coward on Sunday June 04, 2006 @08:11AM (#15466045)
...it requires .NET. Thanks. I don't mind downloading and installing 30MB's of framework just to play with a Rubik's cube. Really, I don't.

You don't need to explain your reasons not to solve this puzzle. ;)

• #### Re:I see that... (Score:2, Flamebait)

Then don't download it. For the thousands of us who already downloaded it for another program, it's not that big of a deal.
• #### Re:I see that... (Score:4, Insightful)

on Sunday June 04, 2006 @08:39AM (#15466130) Journal
it requires .NET. Thanks. I don't mind downloading and installing 30MB's of framework just to play with a Rubik's cube. Really, I don't.

I see you've gotten spanked as a troll... Unfortunate. Personally, I don't suspect you of trolling, just stating a fact. However...

Whether you like it or not (and I say this as a .NET developer who does not), since Visual Studio 2005 builds to .NET 2.0, just about everything will use it within a year or two. Add to that Vista's intended use of WinFX (basically just .NET 3) as the core API, and you can pretty much kiss Win32 goodbye.

A pity, really, because .NET has truly abysmal performance. Who cares about the size on disk - I care far more that it eats memory like a kid with a box of tic-tacs. (Cue someone parroting that you can get 4GB for about \$250 nowadays, which I think you'll agree completely misses the point).

Regardless, you would do yourself a favor to get used to .NET; Sooner or later you will have no choice, so why deprive yourself of cool toys that (unfortunately) use it now?
• #### Re:I see that... (Score:5, Funny)

on Sunday June 04, 2006 @08:56AM (#15466182) Homepage
But you can get 4GB for about \$250 nowadays! Stop complaining!
• #### Re:I see that... (Score:5, Funny)

on Sunday June 04, 2006 @09:21AM (#15466283)
And that's in flash... with an iPod Nano surrounding it!
• #### Re:I see that... (Score:2, Funny)

by Anonymous Coward
But you can get 4GB for about \$250 nowadays! Stop complaining!

You're completely missing the point!
• #### Re:I see that... (Score:2, Funny)

What are you talking about? I had to pay \$100 for a 256MB stick for my laptop (Sony VAIO TR5EB)!
• #### Re:I see that... (Score:3, Funny)

But it comes with a free DRM rootkit!
• #### Win32 is not gonna go away anytime soon. (Score:2)

Microsoft builts its software with Win32...they do not want to use layers upon layers of object and class hierrararchies, because their apps will be slow as hell...especially MSWord that's already slow in Win32.
• #### Re:I see that... (Score:2)

Regardless, you would do yourself a favor to get used to .NET; Sooner or later you will have no choice, so why deprive yourself of cool toys that (unfortunately) use it now?
Resistance is futile.
• #### Re:I see that... (Score:1, Flamebait)

I wouldn't mind downloading and installing such a framework, if it were available on a real operating system. What the fsck are you Windows users doing on Slashdot anyway?-)
• #### Re:I see that... (Score:2, Funny)

by Anonymous Coward
What the fsck are you Windows users doing on Slashdot anyway?

We're all masochists. And just using Windows isn't enough by itself.
• #### Re:I see that... (Score:2)

We dual-boot so we can play WoW!
• #### Re:I see that... (Score:2)

Mono runs on a real OS, no? Oh yeah, but then it's not real .NET, is it?
• #### This Windows user (Score:2)

Is on slashdot trying to *learn* cool things about tech and its many uses - trolling uber733t *nix snobs like you is just a fringe benefit!
• #### Re:I see that... (Score:4, Funny)

on Sunday June 04, 2006 @10:11AM (#15466496) Homepage Journal
You know, the Nazis had pieces of framework that they made the Jews download.
• #### oh it gets better (Score:2)

the applet uses both left, right, and control clicks, which means people browsing the web via mac get the shaft too
• #### Re:oh it gets better (Score:2)

oh that was the 4d cube.. but it is the same deal..

they can create a solvable 4d or 5d cube, but can't imagine mac users trying it out?
• #### No good deed... (Score:5, Funny)

on Sunday June 04, 2006 @11:30AM (#15466898) Homepage Journal

Oh my god, you're right! It does look like he wrote this application in .NET solely for the purpose of being a huge burden on everyone! After thinking about it, I guess it really does have nothing to do with .NET probably being the language he's most familiar with. I'm sure that he probably did want to spend several months learning a new language for something that could best be described as an amusing diversion, but chose not to because he wanted to waste the few minutes it would take you to download and install .NET. Come to think of it, I'm sure the fact that most people already have .NET installed probably just makes him mad, because it mitigates the toll his application will take on society.

The fact that it's kind of cool is only a ruse in his more diabolical agenda of making your life miserable for five or so minutes. The fact that we are compelled to install it by means I don't quite understand yet only makes the situation worse. If only we had a choice whether or not we wanted to play with a 5-dimensional Rubik's Cube!

Personally, I think that if you're as outraged as I am, since you're obviously so much smarter then me, you should rewrite his application in a morally superior language. The kink in this fool's plan is that he seems to have forgotten to patent the application (but be careful, it could be another trick!), which leaves the door open for anyone to simply rewrite it!

Please start working on it right away, as this outrage must not go unanswered!

• #### Re:No good deed... (Score:3)

*clap clap clap* Seriously... bravo!
• #### Bet they cheated (Score:5, Funny)

on Sunday June 04, 2006 @08:09AM (#15466039)
the full 5D puzzle has already been solved by 3 people.
No doubt, they just pulled it apart and put it back together with all the blocks in the correct orientation. Saw my kid sister do that with the 3-D version.
• #### Re:Bet they cheated (Score:1)

No no, it's quite simple once you learn the patterns. There's only D to the Nth power cubed to infinity different matrices to solve through.

Simple!

• #### Re:Bet they cheated (Score:3, Funny)

Pfft! Why go to all that trouble. When I bought my Rubik's cube I just took it out of the box, looked at each side and it was done! It's sat on my windowsill ever since! Far too easy...
• #### Re:Bet they cheated (Score:2)

When I bought my Rubik's cube I just took it out of the box, looked at each side and it was done!

Wait! You mean you actually looked at five sides of the cube, and ... and then spent your time to look at the last one? What a waste of time!

• #### Re:Bet they cheated (Score:2)

I used to love taking a "solved" cube and moving the sides in a very ordered pattern till it looked random. I would then repeat the pattern in the opposite direction and amaze people.. (Actually people were rarly amazed as they would see me follow a distint pattern.)
• #### Re:Bet they cheated (Score:3, Funny)

The problem with that is if you take apart and reassemble a 4D or 5D Rubik's Cube, you also turn the universe inside-out.

• #### I give up (Score:2)

after seeing the picture on the front page.. Given that i probably will be dead within the next 100 years i doubt i'll have time to finish it anyways, it's just to many dimensions..
• #### Re:I give up (Score:3, Informative)

Given that i probably will be dead within the next 100 years i doubt i'll have time to finish it anyways, it's just to many dimensions..

You should read Diaspora [wikipedia.org] by Greg Egan.

• #### Re:I give up (Score:2)

And to a lesser extent, Eon by Greg Bear.
• #### Re:I give up (Score:1)

You should watch Sliders. New dimension every week, and the show was still over in just a few seasons.
• #### Anyone know where you can buy one? (Score:5, Funny)

on Sunday June 04, 2006 @08:13AM (#15466052) Homepage Journal
Anyone know where you can buy a real 5D cube? I hate trying to solve them on a computer screen. Much easier in real life.

Also I will need a spare set of 4 dimensional stickers in case the original ones fall off.
• #### Re:Anyone know where you can buy one? (Score:2)

Anyone know where you can buy a real 5D cube? I hate trying to solve them on a computer screen. Much easier in real life.

If you don't have one, however, the digital version is your only choice, hence this application.

I'll be curious to meet the guys who solved the 5D cube, make sure they have two eyes, two hand and lags like the rest of us mortals.
• #### Re:Anyone know where you can buy one? (Score:2)

I'll be curious to meet the guys who solved the 5D cube, make sure they have two eyes, two hand and lags like the rest of us mortals.

They probably do. It's their brains that are probably a strange color, possibly glowing faintly in the dark.
• #### Re:Anyone know where you can buy one? (Score:3, Funny)

To us, they look like white mice.

You see, they really were very clever hyper-intelligent, pan-dimensional beings.

• #### Re:Anyone know where you can buy one? (Score:2)

I wioll haven heard that Dr. Dan Streetmentioner willan on-sell some four-dimensional stickers for 4D Rubik toys. A presooning shipment mayan arrivan on-when last Thursday, if I haventa recallen.
• #### Re:Anyone know where you can buy one? (Score:2)

You do realize that no one uses the future perfect tense anymore since it was discovered not to be, right?
• #### Re:Anyone know where you can buy one? (Score:2)

What is that from? I can't remember...
• #### Re:Anyone know where you can buy one? (Score:2)

The shop isn't far away, go north to the end of the street, turn eka, and forward for a kilogram, then its just at yestaday.
• #### 5D Cubes sold here (Score:2)

5DStuff.COM [wikipedia.org]
• #### Can you still... (Score:4, Funny)

on Sunday June 04, 2006 @08:19AM (#15466066)
...peel off the stickers in 5 dimensions?
• #### Re:Can you still... (Score:5, Funny)

on Sunday June 04, 2006 @08:45AM (#15466145) Homepage
Did that with my cube. Now that's a challenge, trying to solve it without any visual indication.
• #### Re:Can you still... (Score:2)

Sure, but the stickers would all be tesseracts.
• #### Rubic cube - a challenge indeed! (Score:2)

I remember having recieved a rubic cube as a gift many years back. It took up a lot of my time in solving the cube. Heck the cube was so popular that there were entire books written detailing how to solve the cube. And the least time in which I could solve the cube was 20 minutes. Now a five dimentional rubic cube (albeit a software one) - that could be a real challenge even for rubic cube champions themselves. Too bad the software require microsoft dot net framework to run.
• #### Re:Rubic cube - a challenge indeed! (Score:2)

Funny - I ran the Java applet version one on my SuSE Linux machine in Firefox.
Unless the normal SuSE 10.1 distro comes with the .NET framework pre-installed, I'm going to have to say 'no, it runs just fine with zero Microsoft software necessary.'
• #### Re:Rubic cube - a challenge indeed! (Score:2)

Whoops - shit. My bad.
I ran the 4D one on my Linux box as a Java applet.

I was wrong, mark your calendars.
• #### Should be possible in a few minutes (Score:5, Informative)

on Sunday June 04, 2006 @08:32AM (#15466101) Homepage Journal
And the least time in which I could solve the cube was 20 minutes.

Using a few simple, easy-to-learn algorithms, and with a few weeks practice it is possible for pretty much anyone to solve the 3D cube in just 2 or 3 minutes. Using a layer-by-layer method you can solve each piece one at a time in the first two layers, then learn 4 algorithms to fix the last layer (not necessarily in this order):

1) Rotate edges
2) Rotate corners
3) Permute corners
4) Permute edges

Sometimes you will have to use an algorithm twice. Each algorithm takes about 10 moves, and at a slow speed of one move per second and a bit of luck you can solve the last layer in under a minute. Here's a beginner's guide:

http://peter.stillhq.com/jasmine/rubikscubesolutio n.html [stillhq.com]

If you want to get faster you need to learn more algorithms so that you can complete two steps at once.

A popular method which can be used to get very fast times is the Fridrich method, but it requires a lot of memorisation and lots and lots of practice:

http://www.ws.binghamton.edu/fridrich/cube.html [binghamton.edu]

Personally I managed to get times of under 1 minute by practising the cube every day in the bus to and from work.
• #### Re:Should be possible in a few minutes (Score:2)

Using a few simple, easy-to-learn algorithms, and with a few weeks practice it is possible for pretty much anyone to solve the 3D cube in just 2 or 3 minutes. Using a layer-by-layer method you can solve each piece one at a time in the first two layers, then learn 4 algorithms to fix the last layer (not necessarily in this order):

So what you're saying is that the GP is slow, just not in so many words. :)
• #### Don't look so surprised... (Score:3, Funny)

on Sunday June 04, 2006 @08:32AM (#15466104)
Neeeeeeeeeeeeeeerd!!!!

Damn... And I thought I was hopelessly nerdy.
I must look positively herculean next to these guys.

I remember spending the better part of an afternoon last summer trying to solve my girlfriend's father's 20 year old rubiks cube.
I was really close to solving it when it litterally fell apart in my hands. Turns out one of the (now grown up) kids had once tried to forcibly solve it with a screwdriver. Now, whenever you it get into a certain configuration (ie: a near-finished state) it loses all structural integrity.
I could have cried... I WAS SO CLOSE!!!

I was crazy to spend so long on a three diementional rubik's cube.
But, I don't know which is crazier... That someone made a four diementional version, or that people have already solved it. ... And don't get me started on the five diementional one...
• #### Wrinkle in Time (Score:1)

If I remember my 4th grade physics correctly, the 5th dimension is a tesseract. I fully intend to use this "cube" to teleport around the universe!!! muhahahhhahaa
• #### Re:Wrinkle in Time (Score:2, Interesting)

A 4 Dimensional Cube is called a Tesseract, unless you assume time is a dimension (which it frequently is/is cited as being).
• #### 4d Java Applet (Score:3, Interesting)

<sirlewk@gma[ ]com ['il.' in gap]> on Sunday June 04, 2006 @09:30AM (#15466324)
That 4d java applet is amazing! It even runs perfectly fast on my Pentium II.
• #### Re:4d Java Applet (Score:2)

It really shouldn't take a lot of horsepower to render a ~600 faces of a 3d model using flat shading. I wouldn't be surprised if your pentium II could handle 10 or 100 times as many.
• #### Really 4D/5D? (Score:4, Interesting)

on Sunday June 04, 2006 @10:22AM (#15466551) Homepage
Is there anyone reading with the brains/training to confidently/accurately answer some questions please?

"These are Rubik's cubes of the form 3d [gravitation3d.com], with the original popular puzzle being 33. We label the puzzles like this because they are a d-dimensional cube broken into 3d smaller pieces or "cubies" of the same dimension. For example, the 3D cube has 33 or 27 total 3-dimensional cubies."

Does adding cubies really mean adding a dimension, or does it mean simply making a more complicated 3D puzzle and giving it a fancy name? (Behold: the Fifth Dimension! Amaze Your Friends!)

I noticed in the 4D model [superliminal.com] that elements disappear and reappear with each move. What's up with that? What do the green cubes represent? Where are the pieces which disappear supposed to be going, and why can't we see the changes being made to this set of cubies? Is the invisible set a cheat on the part of the designers?

I have not played with the 5D version, and so have no questions about that one.
• #### Re:Really 4D/5D? (Score:1)

It's been a while since I played with that applet, but the green cubes are just one side of the cube. In a 3D space, you can't physically see all of the 4D cube. As in the documentation, you can Control-click a side to center it in your view. Which ever side you focus on will prevent you from seeing one of the other sides.

Technically, your view in the 4D applet is inside the hypercube. The side you don't see is the closet one to you, but they made it invisible in order to let you see as many sides as po
• #### Re:Really 4D/5D? (Score:2, Informative)

I noticed in the 4D model that elements disappear and reappear with each move. What's up with that?

You just cannot see all sides of the cube simultaneously, just as with it's 3d-counterpart.
• #### Re:Really 4D/5D? (Score:5, Informative)

on Sunday June 04, 2006 @11:33AM (#15466913) Homepage Journal
It's a true 4 dimensional puzzle in the sense that this is what you could build as a rubik's cube equivalent if we lived in a 4d universe rather than a 3d universe.

The green cubes that appear and disappear as you make moves are from the 'hidden' face of the hypercube, which has 8 faces. Their projection is using a base unfolding, to understand what they've done consider the parallel from unfolding a 3d cube into 2d. Imagine you are staring precisely face on at a cube:

XXX
XXX
XXX

Now unfold all the sides connected to the X's so you can see them straight on:

OOO
OOO
OOO
AAAXXXBBB
AAAXXXBBB
AAAXXXBBB
MMM
MMM
MMM

If you started playing a game of rubik's cube on this, you'd soon see another letter show up whenever you made a move, let's call it G for green. Where do the G's come from? From the sixth face of the cube that wasn't visible due to the choice of unfolding. The face exactly opposite of the X's ... the 'rear' of the cube if you will.

Same thing in the 4d case. There are 8 faces, only 7 of which are visible due to their poor choice of unfolding technique.

Here's wolfram's hypercube page for more info:
http://mathworld.wolfram.com/Hypercube.html [wolfram.com]

• #### Re:Really 4D/5D? (Score:2)

Ahh, but you could unfold it completely as such:

OOO
OOO
OOO
AAAXXXBBBGGG
AAAXXXBBBGGG
AAAXXXBBBGGG
MMM
MMM
MMM

And be able to see the entire contents. It may not be as pretty but it would all show up.
• #### Re:Really 4D/5D? (Score:2)

Indeed, that's why I referred to their unfolding choice as 'poor'. The same unfolding option is straightforward for 4d as well, and there are others that make for an even better visual presentation of the puzzle (at least in terms of effectively being able to solve it).

• #### Re:Really 4D/5D? (Score:2)

These puzzles are true higher dimensional analogs. Every characteristic of MagicCube4D is "upped" a dimension from the original puzzle. For example, on the 3D cube stickers are 2D, but on the 4D cube, stickers are 3D. This is also true for the puzzle "faces".

Have we really added a dimension? Well, perhaps not because the higher dimensional portions of the puzzle are being projected down to our real lower dimensions. So in a sense, yes these are just "more complicated 3D puzzles". But they are not just
• #### Re:Really 4D/5D? (Score:2)

The question is, with a 4d cube only having 27 sides (Is that correct?), why can you not do this? I wrote this in the 3D version:

Side 1: RRR/RRR/RRR
Side 2: GGG/GGG/GGG
...
Side 6: BBB/BBB/BBB?
• #### Re:Really 4D/5D? (Score:2)

They're not really accurate representations of 4D or 5D cubes. A 4D Rubik's cube would be made up of little 4D cubes, not 3D cubes like in the games. As the cubes rotate in and out of our 3 dimensional space, they would all look like blobs constantly changing shape, just as a 3D cube rotating through a 2D surface will leave an ever-changing cross-section in the 2D world. These programs simply give you the numerous access points for each of the "cubies", and their 4 or 5 axes of rotation to choose from.
• #### Rubik's... Ruby's? (Score:1)

The title is misleading, it the cube isn't written in ruby.
• #### 4D ? 5D? (Score:2)

If the three dimensions are length, width, heighth, and the fourth is time -- how do you accurately depict that? What is the 5th dimension? How can these be anything more than an extended 3D object? I know someone out there knows what's going on, please fill me in?
• #### 4th dimension is not necessarily time (Score:3, Informative)

If you exist in one dimension, is the 2nd dimension neccessarilry width, or is it height? There are many other choices, but we tend to pick time because it is easily understood by us.
• #### Re:4D ? 5D? (Score:4, Funny)

on Sunday June 04, 2006 @11:30AM (#15466899)
What is the 5th dimension?

They were a 1970's group, they had a hit called "Aquarius".
• #### Re:4D ? 5D? (Score:5, Informative)

on Sunday June 04, 2006 @12:02PM (#15467070)
When they say 4D they actually mean 4 spatial (geometrical) dimensions.
Although time is said to be the 4th dimension is time, it is only an analogy. Time appears in several physical equations in a context similar to the 3 spatial dimensions, but it is always treated differently.
For example, the spacetime "distance" is calculated by:
sqrt(x^2+y^2+z^2-c^2*t^2)
Notice the negative sign and the additional speed-of-light factor.

If there were 4 spatial dimensions, the distance would be calculated by
sqrt(x^2+y^2+z^2 + v^2)
taking v as the displacement in the 4th dimension.

The Rubik's cube programs work by projecting 4 or 5 dimensions onto a 2 dimensional plane (your screen), basically in the same way that perspective is used to project 3D pictures onto 2D planes.

So the 4th and 5th dimension aren't mathematically or conceptually different to the familiar 3 dimensions. The only difference is that we cannot comprehend them.

• #### Re:4D ? 5D? (Score:2, Insightful)

That's just because it's not 4-D Euclidean space. Space-time is still considered as a 4-dimensional manifold, it just has a different metric on it. The term used is Minkowski space. [wikipedia.org]
• #### Re:4D ? 5D? (Score:2)

Because the fourth isn't time. Time may be a dimension in the real world (although not the "fourth" since numbering them is arbitrary), but there's no requirement to include it in this simulation. Just like no one looks at a 2d graph and says, "Where's the third dimension?"

In this simulation, the extra two dimensions are spatial. They're just like the regular three, except they're two other directions. Naturally we can't depict them as a four dimensional being would see them, but we can represent them in a
• #### Go Roice and Charlie! (Score:2, Redundant)

Both of these guys who wrote this are my co-workers at my day job. They're both really brilliant guys. IIRC Roice has actually solved a 3D cube behind his back before...

• #### Psh~ (Score:3, Funny)

on Sunday June 04, 2006 @11:48AM (#15466988)
Why must people always strive to make things more complicated. I say someone should design and implement a 2D Rubik Cube. Personally, I'd find that far more fun.
• #### This at least proves one thing (Score:2)

that some people have too much time to play with toys.

Anyway - it is actually an interesting piece of work. The original cube itself is also very nice. One must recognize that even the original cube does actually contain more than one solution. If you replace the stickers on an original cube with 6 different images then you will reduce the number of solutions to one single. The catch is that the center piece can on an original cube have four different positions that all are correct. This means that the or

• #### Re:This at least proves one thing (Score:2)

They already exist. My Dad has an (unopened!) Rubik's Revenge (4x4x4) from way back when.

5x5x5 cubes also exist: http://en.wikipedia.org/wiki/Professor's_Cube [wikipedia.org]

Cheers,

Roger
• #### Oh Hell! (Score:2)

What they neglect to tell you is that if you solve this puzzle, you get to meet and be a permanent guest of Pinhead and his fellow Cenobites.

• #### Five dimensions? (Score:2)

The fourth dimension is time isn't it? Or is this six dimensional?

If money can't buy happiness, I guess you'll just have to rent it.

Working...