Virtual Cube

Use your mouse to rotate the cube and its levels. Try to solve a scrambled cube as quick as you can or just play around with one.

Notes

This was one of my most challenging projects yet, and my first crack at 3D. I used the Sandy 3D engine to accomplish the visualization of the cube and found it difficult to wrap my head around creating a 3D scene. But after becoming familiar with the engine, I got the hang of it and was able to generalize a formula for creating any size cube (NxNxN).

Currently, the "solver" simply reverses the moves of the scrambler and the user (with some minor optimizations) to return the cube to its solved state. However, it’s possible I may incorporate a "real" solver that is currently in development by Eric Dietz, which will be able to solve any size cube. Once I have that, I will implement a functionality that allows the user to "paint" the cube by individually choosing the placement of the colored stickers.

No Comments »

Comments RSS feed.

Leave a comment