Show HN: Visualize rotating objects from the 4th, 5th, nth dimensions
An experimental web app called ncube lets users visualize rotating hypercubes in 4, 5, and higher dimensions by projecting them into 3D and then onto a 2D screen. Commenters praise the concept and share related resources on higher-dimensional geometry, but many report severe performance issues, browser crashes, and hardware acceleration quirks, especially at higher dimensions or on certain devices. The creator acknowledges these limitations, explains some of the underlying math and design choices, and notes that native binaries and future optimizations (e.g., GPU shaders, reduced rendering complexity) should provide smoother, more accessible exploration of n-dimensional objects.
Performance and Browser Behavior
- Many reports of heavy CPU/GPU usage, temporary browser lockups, and occasional full crashes (including GPU driver timeouts).
- Behavior is highly browser- and hardware-dependent: smooth for some (e.g., Firefox desktop, certain Android phones, strong GPU rigs), very slow or black-screen for others (Safari, some Chromium setups, some mobile devices).
- Hardware acceleration is repeatedly mentioned as important; without it, some users see only a blank page.
- The app is a WebAssembly port of a native application. There is discussion that WASM itself is fine, but software-side rendering or lack of GPU use may explain slowness.
- Suggestions include: use WebGL/WebGL2 over newer, less-supported APIs; add an option to render only edges/vertices to reduce load.
Bugs, UI, and Interaction
- Several users see crashes in Firefox on macOS and on some mobile devices.
- Confusion around rotation sliders when changing dimensions (5→4→3→4); author clarifies this is intended behavior due to rotation planes disappearing/reappearing.
- One user-reported visual “bug” on reducing to 3D and going back up; behavior not easily reproducible.
- Users request:
- Direct, manual control of rotation angles (not just angular velocity).
- Cross-section visualization.
- Keyboard bindings for specific rotation planes.
- Existing controls for zoom/rotation are present but not obvious; users are pointed to the in-app help.
- UI can be crowded on mobile; the app is primarily designed for desktop, with a collapsible settings panel.
Conceptual Understanding of Higher Dimensions
- Many commenters say they find the visualization fascinating but still cannot intuitively grasp 4D+ geometry.
- Several emphasize that this is expected: human visual intuition evolved for 3D, and these tools show projections/shadows rather than full higher-dimensional reality.
- Some describe a distinct, unsettling “unresolvable unfamiliarity” when watching the shapes.
Related Tools, Media, and Alternatives
- Multiple related resources are mentioned: 4D Toys, Pacman4D, other 4D/ND demos, non-Euclidean 3D spaces, and educational films/series on dimensions.
- Books like “Flatland” and similar works are cited as influential for building intuition.
- Interest is expressed in VR/AR versions and other interactive environments to explore 4D objects more naturally.