Rubik's Rubrics 是一個自足的 3D 魔方視覺化與求解器,透過您的網路攝影機掃描實體魔方,並逐步顯示解法。
AI 翻譯
Rubik's Rubrics is a self-contained 3D Rubik's Cube visualizer and solver that scans your real cube through your webcam and shows you, move by move, how to solve it.
生活風格HTMLGitHub @leereilly上線中營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
A stunning (if I do say so myself), self-contained 3D Rubik's Cube visualizer and solver. Scan your
real cube with your webcam and watch it come to life on screen, then sit back as it shows you exactly
how to solve it with smooth, eased layer-turn animations. Or let a random scramble appear and solve
itself. Either way, you control the show.檢視完整 README ↗A stunning (if I do say so myself), self-contained 3D Rubik's Cube visualizer and solver. Scan your real cube with your webcam and watch it come to life on screen, then sit back as it shows you exactly how to solve it with smooth, eased layer-turn animations. Or let a random scramble appear and solve itself. Either way, you control the show.
▶ Live demo: https://leereilly.net/rubiks-rubriks/
A built-in, step-by-step teaching mode walks you through solving your cube with the beginner Layer-by-Layer method. Scan your real cube (or use a random/custom one), tap Learn to solve, and follow along: each of the seven stages shows the named algorithm, a plain-English cue, and Back / Next move / Demo stage controls while the 3D cube demonstrates every move in sync. The solver runs entirely in your browser.
Repaint the stickers as GitHub contribution-graph squares (those familiar greens) for a playful, on-brand look.
The cube starts solved, then a random sequence of quarter turns scrambles it. The solution is simply that sequence reversed and inverted, so every solve is valid by construction, no solver library required. State is tracked as a small logical model (each cubie's grid position + orientation quaternion), which keeps scrubbing frame-perfect and drift-free.
A cube you scan with your webcam can be in any state, so that path uses a real solver: cubejs (Herbert Kociemba's two-phase algorithm) runs in a Web Worker, loaded straight from a CDN. All 54 stickers are matched against the six scanned center colors in a hue/saturation space (brightness is ignored, so glare and uneven lighting don't wash them out) and then balanced so each color appears exactly nine times, which fixes systematic misreads like red-vs-orange and guarantees a legal cube. If the automatic read still gets a sticker wrong, you can fix it by hand on the net before solving. The solution it returns is fed through the same reverse-and-invert machinery, and the visualizer plays it back.
The Learn to Solve coach uses a separate, from-scratch beginner Layer-by-Layer solver written in plain JavaScript (no dependencies, no build step). Rather than the shortest solution, it produces a human-friendly sequence grouped into the seven teachable stages, each with the named algorithm a learner would apply by hand on a real cube.
Made with ♥ and GitHub Copilot, Claude Opus 4.8, three.js + cube.js