A Windows Forms 3D Rubik's Cube application written in C# and targeting .NET Framework 4.8.
- Smooth 60 FPS-style animation loop with FPS HUD
- Automatic cinematic cube rotation
- Interactive camera orbit with right/middle mouse drag
- Animated layer turns with the existing Rubik state engine
- Scramble and reset controls
- Move queue and animated queue execution
- Glow/trail presentation effects
- Fullscreen mode (
F11) - Keyboard shortcuts for common actions
- Resizable presentation area and responsive controls
- Improved selection/status feedback
- Preserves the original WinForms project structure and renderer/state components
| Input | Action |
|---|---|
| Right/Middle mouse drag | Orbit camera |
Space |
Scramble |
R |
Reset cube |
A |
Toggle automatic rotation |
F11 |
Toggle fullscreen |
Esc |
Leave fullscreen |
Delete |
Clear selection |
The View menu also controls automatic rotation, HUD, glow trails, and fullscreen mode.
Requirements:
- Windows
- Visual Studio with .NET Framework 4.8 developer tools
- MSBuild / C# compiler
Open VirtualRubik.sln, select Release or Debug, and build the solution.
The project is an x86 WinForms application for compatibility with the existing project configuration.
VirtualRubik/Form1.cs— v2.0 application controller, animation loop, HUD, input and presentation effectsVirtualRubik/Render/— 3D cube, face and projection rendererVirtualRubik/State/— cube state and animated layer-rotation logicVirtualRubik/Form1.Designer.cs— WinForms UI layout
Reworked the main form controller around a continuous animation loop, cinematic presentation, camera interaction, fullscreen support, HUD/FPS reporting, glow trails, and smoother queued moves while retaining the existing cube/state engine.
Original VirtualRubik WinForms implementation with interactive layer rotation, move queues, mouse selection, scramble, and reset.
See the repository for the current project licensing and contribution information.