Skip to content
AJ Uppal
← Back to selected work

Personal project / Game / interaction

Cubit.

2048, cubed: slide and merge inside a 3×3×3 cube, across six directions instead of four.

Open project Live in a browser
Trailer 0:44 Download
Music credits

Funky Boxstep by Kevin MacLeod. CC BY 4.0. Excerpts edited and mixed for this trailer.

Screenshots

My work

The engine, renderer, input controls and synthesized sound.

Working with

Vanilla JS · three.js · Web Audio · node:test

Inside the build

Six directions on a flat screen.

Context

The cube has six slide directions and interior tiles that can be hidden from view.

How it works

Swipes are matched to the projected cube axes. Obscuring tiles turn translucent; Space spreads the layers to show the interior.

In the work

A single HTML file with local saves, keyboard controls and touch input.

Board
27 cells · 3×3×3 · six slide directions
Input
Swipes match the on-screen projection of each lattice axis
Peek
Space spreads layers; opt-in gyro view is capped at 12°

Keep exploring.

The whole collection →
A sailboat beneath a rising sun, with a warm path of light across the ocean in Saltline. saltline Simulation / multiplayer Ember Wilds in Fallowmere at dusk: a level-30 character in a voxel landscape. Ember Wilds Voxel MMORPG murmuration in ribbon style: a dense violet and white form of drawn-out particle streaks against black, filling most of the frame. murmuration Audio / WebGPU