Skip to content

TalBarami/RubiksCube

Repository files navigation

RubiksCube

Computer Graphics - Assignment 2

Usage:

  • Arrow keys to rotate the cube by 45 degrees accordingly.
  • L/R to rotate a wall left or right
  • U/D to rotate a wall up or down
  • F/B to rotate a wall front or back.
  • A to multiply the rotation angle by 2, up to 180.
  • Z to divide the rotation angle by 2, down to 1.40625.
  • Use the numbers 1 - MATRIX_SIZE to select the wall index you would like to rotate.
  • Click M to mix the cube. S to solve the cube.

cube

  • It is possible to change the cube size from 2 to 9, change global variable MATRIX_SIZE:

cube2

About

Computer Graphics - Assignment 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages