[OC] built a fully 3D rubik's cube that runs in your terminal. manual mode, auto screensaver, kociemba solver, the works.
been sitting on this for a while. had a cube on my desk, looked at my terminal, you know how it goes.
it renders isometrically with three visible faces, real ANSI shading, the whole thing. supports standard cube notation so you can type R U R' U' directly into a command prompt inside the app. undo/redo stack, live FPS counter, TOML config, themes.
the solver uses kociemba two-phase so it actually solves it properly instead of doing something naive.
rubui -m auto --speed 0.1
that runs it as a screensaver. looks genuinely good on a dark terminal.
stack is pure Python 3.10+, no dependencies beyond the solver. written in about a dozen modules, nothing crazy. cube_engine.py holds state, renderer.py does the isometric projection, input_handler.py deals with raw keyboard.
repo: https://github.com/programmersd21/rubui
install: pip install -e . after cloning it
happy to answer questions about the renderer if anyone's curious, that part was the most interesting to figure out. would love a star on the repo.
note: used a bit of AI help on the renderer specifically, that part was genuinely painful to work out. everything else is mine. also yes this is Arch, I just configured fastfetch to flex windows for the screenshot.