Skip to content

Ukalus/MagicCube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MagicCube

A Virtual RubixCube made with Three.js. This was made to learn about Three.js and Computergraphics in general. It was also suprisingly challenging to create the cube data structure itself in a way so that you could turn it.

Planned features

  • Render Magicube.
  • Be Able to turn forwards on all Axes.
  • Be Able to turn Backwards.
  • Config file to set Cube- & Background-Colors;
  • Sensible Control-Scheme.
  • Use Textures instead of Basecolors.

Controls

The Controls are a little crude right now, but you can turn each row on every Axes just like on a real RubixCube.

X-Axis

Key Action
W Turn 1 Row to the left
E Turn 2 Row to the left
R Turn 3 Row to the left

Y-Axis

Key Action
S Turn 1 Row to the left
D Turn 2 Row to the left
F Turn 3 Row to the left

Z-Axis

Key Action
X Turn 1 Row to the left
C Turn 2 Row to the left
V Turn 3 Row to the left

About

A magic cube i made from scratch using Three js

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors