Skip to content

mtking2/PyCube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyCube

PyCube is an 3D interactive Rubik's Cube using OpenGL and Pygame.

Dependencies

This program utilizes the following Python modules:
PyOpenGL see also OpenGL
Pygame
NumPy

Python 3.x :
pip install -r requirements.txt

TODO

  • Individual pieces
  • Rotation Matrices
  • 90 degree rotation of individual pieces on each axis
  • Map CW and CWW rotation to lower/upper case keys
  • Implement all center pieces
  • Map keys and rotation matrix calls to respective center pieces
  • Color center pieces
  • Implement edge pieces
  • Implement corner pieces
  • Solve correct movement of edge pieces
    • Use face patterns to track position of edge/corner pieces FAILURE
  • Solve correct movement of corner pieces
  • Color edge pieces
  • Color corner pieces
  • Visual tweaks
  • Test/bug fix cube
  • Test solves with PyCube
  • Begin implementing reverse moves solver
  • ...

Notable Mentions

This post from stackoverflow was very helpful in creating a solid starting point to use quaternions to rotate a 3 dimensional cube using Python and OpenGL. http://stackoverflow.com/questions/30745703/rotating-a-cube-using-quaternions-in-pyopengl

Releases

No releases published

Packages

No packages published

Languages