All Opus 5.5 videos › Apps & UI

Liquid glass 3D hero section with refractive cuboid

by Viktor Oddy (@viktoroddy) · Oct 2, 2026

Prompt

The author shared the full prompt.

Build a single standalone index.html file (inline CSS + inline JS, no local assets, no build step) containing ONE full-screen hero section: a black "Design World" landing hero with a rotatable 3D glass cuboid in the centre that refracts a huge background headline with chromatic dispersion. Recreate it exactly to the spec below.

==================================================
1. EXTERNAL RESOURCES (use these exact URLs)
==================================================
- Font: Google Fonts Poppins, weights 300/400/500/600/700/800
  <link rel="preconnect" href="https://t.co/rsoRTSBMf7">
  <link rel="preconnect" href="https://t.co/VkCjQLvLdn" crossorigin>
  <link href="https://t.co/61bUtcuskl" rel="stylesheet">
- Three.js r169 via importmap:
  "three": "https://t.co/NVuwWT0I9h"
  "three/addons/": "https://t.co/MRmI6UHfDk"
  Imports: GLTFLoader (loaders/GLTFLoader.js), mergeVertices + mergeGeometries (utils/BufferGeometryUtils.js), RoundedBoxGeometry (geometries/RoundedBoxGeometry.js).
- 3D model (rounded cube GLB, CORS-enabled, load directly, do NOT download or replace):
  const MODEL_URL = 'https://t.co/YeqtaFGhPu';
  If it fails to load, fall back to new RoundedBoxGeometry(1, 1, 1, 8, 0.12).

Page <title>: "Design World — Explore New Ideas".

==================================================
2. PAGE STRUCTURE (HTML)
==================================================
<section class="hero" id="hero">
  <canvas id="scene" aria-label="Rotatable glass cube. Drag to rotate."></canvas>
  <div class="ui">
    <h1 class="sr-only">Explore New Ideas</h1>
    <header class="nav">
      <a href="#" class="logo"><i class="logo-mark"></i><b>Design</b><span>World</span></a>
      <ul class="nav-links"><li><a>Home</a></li><li><a>Portfolio</a></li><li><a>Contact Us</a></li></ul>
    </header>
    <div class="arrows">
      <button class="arrow" id="prev">[left-arrow SVG]</button>
      <button class="arrow" id="next">[right-arrow SVG]</button>
    </div>
    <nav class="dots"><button class="dot"></button><button class="dot active"></button><button class="dot"></button></nav>
    <p class="tagline">Let's Build the<br>Future of <strong>Design.</strong></p>
    <div class="cta-row">
      <a href="#" class="cta">Explore Now</a>
      <span class="cta-line"></span>
      <span class="count" aria-hidden="true">07</span>
    </div>
    <div class="loader" id="loader">Loading model</div>
  </div>
</section>

Arrow SVGs: viewBox 0 0 24 24, fill none, stroke currentColor, stroke-width 2.6, round caps/joins.
  prev path: "M19 12H5M11 6l-6 6 6 6"    next path: "M5 12h14M13 6l6 6-6 6"

IMPORTANT: The big "Explore / New / Ideas" headline is NOT HTML text. It is drawn onto a 2D canvas inside WebGL so the glass cube can refract it (see section 4).
Prompt by @viktoroddy, from their reply
Category
Apps & UI
Stack
Three.js, Canvas, WebGL
Made with
Three.js
On X
150 likes · 12K views · 178 saves

More app & UI demos

Apps & UIPrompt0:13

Interactive translucent gummy-bear physics demo

@semichenkko♥ 4K
Three.jsPhysics
Apps & UIPrompt0:25

Web app that turns photos into foil-embossed greeting cards

@ann_nnng♥ 2.6K
Apps & UIPrompt0:07

Animated fitness app celebration screen from a static design

@Onethirdesigner♥ 2.1K
Apps & UIPrompt0:16

Liquid Glass-style looping UI motion demo with synced audio

@motion_conquest♥ 2K
Apps & UIPrompt0:38

Bluetooth speaker design demo generated with tscircuit

@seveibar♥ 2K
Apps & UIPart of prompt0:53

Production-quality Orbit landing page with detailed SaaS product UI

@itsluneri♥ 1.7K
CSS
Apps & UIPrompt0:12

Interactive app-architecture canvas with zoomable graphs and step walkthroughs

@robinebers♥ 1.7K
Canvas
Apps & UIPrompt0:20

Browser-based character editor with live sliders and exportable backgrounds

@magnific♥ 1.6K