An open API service indexing awesome lists of open source software.

https://github.com/duyetbku/web-rubiks-cube-solver

๐ŸงŠ A 3D Interactive Self-Solving Rubikโ€™s Cube powered by React + Three.js + CFOP algorithm. Scramble, watch it solve, or upload your own cube state. Just one click away from magic.
https://github.com/duyetbku/web-rubiks-cube-solver

3d-graphics 3d-rubiks-cube 3d-simulator 3d-visualization auto-solver browser-game cfop-algorithm computer-vision game-development interactive-3d puzzle-solver react react-three-fiber rubiks-cube rubiks-cube-solver rubiks-cube-tutorial three-js-rubik threejs web-app webgl

Last synced: 19 days ago
JSON representation

๐ŸงŠ A 3D Interactive Self-Solving Rubikโ€™s Cube powered by React + Three.js + CFOP algorithm. Scramble, watch it solve, or upload your own cube state. Just one click away from magic.

Awesome Lists containing this project

README

          

๐Ÿค– 3D Rubik's Cube Auto-Solver



Rubik Cube Screenshot


๐Ÿ”ฅ Interactive | ๐Ÿš€ Auto-Solve | ๐ŸŽฏ CFOP Algorithm | ๐Ÿง  Built with React + Three.js



Author

---

## ๐Ÿงฉ What is this?

**Rubik's Cube Auto Solver 3D** is a web-based simulator that:
- ๐Ÿ“ท Captures the current cube state
- ๐Ÿ’ก Visualizes it in full 3D using `Three.js`
- ๐Ÿค– Solves it step-by-step using the **CFOP** algorithm
- ๐ŸŒ€ Allows scrambling, solving, pausing, and more โ€” all inside your browser!

> โšก Perfect for learning algorithms, showing off, or integrating into teaching tools.

---

## โœจ Features

โœ… Interactive 3D visualization
โœ… CFOP-based solving algorithm
โœ… Scramble generator
โœ… Auto-solve animation with speed control
โœ… Snapshot the current cube state (generates shareable link)
โœ… Real-time progress & step display
โœ… Built with `React`, `Three.js`, `Tailwind`, and deployed on `Vercel`

---

## ๐ŸŒ Live Demo

> ๐Ÿงช Try it here:
**[๐Ÿ”— View Live Rubik Solver](https://rubiks-cube-solver-nu.vercel.app)**

---

## ๐Ÿ› ๏ธ Technologies Used

- ๐ŸŽจ **Three.js** โ€“ Real-time 3D rendering
- โš›๏ธ **React** โ€“ UI logic and state management
- ๐ŸŒ€ **React Three Fiber** โ€“ Integrates Three.js into React
- ๐ŸŽฎ **Drei + OrbitControls** โ€“ Camera & controls
- ๐Ÿง  **Custom CFOP Solver** โ€“ Step-by-step Rubik's logic
- ๐Ÿ“ท **Canvas snapshot** โ€“ Image upload to Vercel Blob storage

---

## ๐Ÿšง Roadmap
- [ ] FIX some math errors colored when scramble
- [x] Real-time scramble / auto-solve
- [x] Canvas screenshot & shareable link
- [ ] OCR-based image to cube state (upload photo of real Rubik)
- [ ] Mobile optimization
- [ ] CFOP training mode with step tips

---

## ๐Ÿ’ฌ Why this project?

This project was built to explore:
- WebGL rendering with `Three.js`
- Solving algorithms like CFOP
- User interaction with 3D visuals
- Combining Web + AI + Graphics into one!

---

## ๐Ÿ™Œ Support & Star

```bash
git clone https://github.com/DuyetBKU/web-rubik-3d-solver
cd web-rubik-3d-solver
npm install
npm run dev
```

---

## ๐Ÿ“ฌ Contact

For feedback or collab:



Follow on X

---

> Made with ๐Ÿ’™ by [DuyetBKU](https://github.com/DuyetBKU)