Intention Space Cube

An interactive 2×2 cube used as a metaphor for Intention Space, from IntentixLab.

Every application is a mix of six dimensions. Each one is a face of the cube:

Face Colour Dimension
D (base) White Passion / Architecture
R Orange Intentions
B Blue Pulses
U (top) Yellow Signals
F Green Design Nodes (DN)
L Brown CPUX

A 2×2 has no centre pieces. It has only eight corners, and each corner carries three dimensions. From any angle you see at least two faces, so every view of an application is a mix. Solving the cube aligns the dimensions without separating them.

Pages

  • index.html: the cube, the six dimensions, and how to read the metaphor.
  • guide.html: a three-stage 2×2 beginner method (Architecture first), with "Run on cube" buttons and set-up drills for each stage.

Features

  • All 18 face turns (U D R L F B, with ' and 2), plus whole-cube rotations x y z
  • Drag to rotate the view, and double-click to reset it
  • Keyboard: a face letter turns that face, adding Shift makes it prime, and Ctrl/Cmd+Z undoes
  • Scramble, undo, reset, a move counter, and an unfolded six-face view
  • Dimension labels on the stickers, which you can switch off
  • Plain HTML, CSS and JavaScript with no build step and no dependencies (only Google Fonts loads from outside)

Publish on GitHub Pages

  1. Create a new repository, for example intention-cube.
  2. Upload the contents of this folder to the repository root, including the hidden .nojekyll file.
    git init
    git add .
    git commit -m "Intention Space Cube"
    git branch -M main
    git remote add origin https://github.com/<your-account>/intention-cube.git
    git push -u origin main
    
  3. On GitHub, go to Settings → Pages. Under Build and deployment, choose Deploy from a branch, then pick main and / (root), and save.
  4. After a minute the site is live at https://<your-account>.github.io/intention-cube/.

To show it on intentixlab.com, link to that address or embed it:

<iframe src="https://<your-account>.github.io/intention-cube/" width="100%" height="900" style="border:0"></iframe>

Reusing the cube

<link rel="stylesheet" href="assets/style.css">
<div id="cube"></div>
<script src="assets/cube.js"></script>
<script>
  const cube = IntentionCube.mount(document.getElementById('cube'));
  cube.run("R U R' U'");   // animate an algorithm
  cube.setup("R U R' U'"); // reset, then apply a set-up without recording it
  cube.onChange(s => console.log(s.solved, s.history));
</script>

Change the names, colours or short labels of the dimensions in DIMS at the top of assets/cube.js.

Scope

This is a teaching metaphor, not a formal model of Intention Space or Context Dynamic Algebra.

A small result

Look at any three mutually adjacent faces of a scrambled 2×2. You always see at least one colour from each pair of opposite faces. Every corner carries one colour from each pair, and the corner pointing at you shows all three of its stickers. tools/verify_three_faces.py checks all 3,674,160 positions exhaustively and runs in about 12 seconds.