I've knocked up this rubiks cube, its not fully complete.
If you click and drag on the space, you can rotate the cube in any axis.
If you click any of the 12 rotation buttons, you can rotate the cube, note that you can still rotate the cube with mouse, while its twisting.

I'm going to replace the 12 buttons, so u can do the 'twists' yourself by clicking and dragging on the cube, and so that dragging on the background of the cube rotates it.

I think its pretty cool myself, tell me what you think, thanks! :cool:

Heres the link before I forget..
http://www.colin-java.co.uk/Rubik/index.htm

Recommended Answers

All 2 Replies

Member Avatar for iamthwee

Nice work. Did you use any api like java 3d of jogl?

No, I built it from scratch just using the jdk 1.5.
Theres quite a lot of maths in it, which makes it tricky to do.
I tried playing round with the 3D packages, but I couldnt get them to install right on netbeans.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.