Skip to content

A Rubik's Cube simulator built using Three.js. This was my first project in Three.js.

Notifications You must be signed in to change notification settings

kroffo/CubeSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CubeSimulator

A Rubik's Cube simulator built using Three.js. This was my first project in Three.js.

To turn the faces of the cube, use standard cube notation:

  • F - Front Face
  • U - Up Face
  • R - Right Face
  • D - Down Face
  • L - Left Face
  • B - Back Face

To execute an inverse turn (counterclockwise) hold shift before pressing the button for the respective face.

Use the arrow keys to move the camera, and X and Z to zoom in and out.

Alternatively to typing face names, click and drag can be used to manipulate the cube. Just make sure the mouse is on a face of the cube at the end of the drag.

About

A Rubik's Cube simulator built using Three.js. This was my first project in Three.js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages