Home / Websites / The Websituation 3D cube: a lightweight 3D demo in the browser

Case studyShowcase project · Websituation

The Websituation 3D cube: a lightweight 3D demo in the browser

Case study: a showcase project built for the agency, to show that interactive 3D can stay lightweight and avoid hurting text or speed.

27small cubes assembled
0canvas, no 3D library
97mobile Lighthouse performance (lab)

The project

The cube on the Websituation home page is made of three by three by three small cubes: you rotate it by dragging, and a click shuffles it. It is a showcase project built for the agency, serving as a demonstration of what in-browser 3D can bring without weighing a page down.

The goal

Show a 3D interaction that catches the eye without getting in the way: the title and text of the home page remain real text, readable immediately; the 3D arrives afterwards, as a detail that invites exploration.

What we did

  • Generation of the 27 small cubes by the page code, positioned with browser 3D transformations (CSS 3D);
  • Rotation by drag and drop, and random shuffle on click;
  • Respect for the “reduce motion” setting: automatic movements are then disabled;
  • No canvas and no 3D library: the page weight stays low;
  • Home page text in HTML, independent of the cube, so readable by Google and screen readers.

Measured results

Mobile Lighthouse measurements in the lab, on the home page, after optimisation, compressed local server, average of three runs (November 2026): performance 97 out of 100, largest element display (LCP) between 2.4 and 2.6 seconds, layout shift (CLS) of 0, blocking time (TBT) of 0 ms. The page weighs less than 500 KB in total.

These values are lab measurements, not real visitor data: the reference remains the measurement on the live site.

What the project shows, and its limits

It shows that interactive 3D can stay lightweight and compatible with good SEO. It is not WebGL: it is 3D through CSS transforms, suited to a simple object. For richer scenes (detailed models, configurator), the technology and the budget change: such projects are studied on quote. See our 3D website design in Switzerland page and our guide to creating a 3D website.

See it live

The cube is visible on the Websituation home page: drag it, click it. Have a 3D project? Let’s talk in a free first meeting.

Key points
  • A showcase project: an interactive 3D cube of 27 small cubes, with no canvas or 3D library.
  • Text independent of the 3D, animations reduced if the visitor asks.
  • Mobile performance of 97 out of 100 in the lab.

FAQ

Is the cube built with WebGL?

No. It uses the browser’s 3D transformations (CSS 3D), suited to a simple object.

Does a project like this hurt SEO?

No: the page text is HTML independent of the cube, and the page stays lightweight.

A site like this one?

A free first call to look at your needs and your budget.

Book a call