Code Monkey home page Code Monkey logo

blind_rubiks_cube_solver's Introduction

Blind_Rubiks_Cube_Solver

The purpose of this project is to create an interactive 3D solver of the Rubik's Cube to create Pochmann Method solutions for Blind Rubik's Cube solving.

This project encompasses my first 3D Graphics Engine from scratch as well as a custom solver for the Rubik's Cube.

Design

Overview

A white sphere surrounds the cube showing the user the bounds for the cursor when rotating the cube by dragging. The bottom middle contains a quick summary of which color faces have been colored, denoted by the first letter of the color. (W = White, O = Orange, G = Green, R = Red, B = Blue, Y = Yellow)

image

Action Bar

The rendering speed is customizable and can be set to any positive value. Measured in frames per second, it is displayed in the action bar along side the favicon.

image

Orbiting

The Rubik's Cube can further be explored in free-view by selecting the orbit button, any selecting a button is visualized by a white bounding square.

image

Hidden Mode

image

Controls

1. Left Click

Painting

The user may paint the Rubik's cube by first left clicking on the panel of colors on the left, then left clicking on the desired face.

Rotating

The user may manipulate the cube by first selecting the "Orbit" button by left clicking, then left clikcing and dragging across the surface of the cube in their desired direction.

2. Middle Click

Hidden Mode

By pressing the middle mouse button the cube will enable the 'Hidden Mode'. This mode clears all colors and phases through different color, giving the user something to focus on to solve the cube 'blindly' without a physical blindfold. The Hidden Mode can be enabled or disabled by pressing the middle mouse button again.

In The Works

Currently I am finishing the Pochmann algorithm. I plan to continue work on a Computer Vision implementation to allow the sides of the cube to be scanned in for increased ease of use.

Sample Cube:

image

Edge Map from Canny Algorithm:

image

Hough Transform:

image

blind_rubiks_cube_solver's People

Contributors

kyrylo-bakumenko avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.