Tutorial

How I made a 30-second clean promo video with HyperFrames (liquid glass, 3D, camera moves)

Step by step, from an empty folder to the 30-second Kartek promo: the story first, real screens, liquid glass panels, 3D entrances, camera push-ins, motion blur and the render. Every command I used.

Bilel Aroua
23 Nov 2026 · 6 min read

The video above is the Kartek promo. It is 30 seconds, 1920×1080, 30 fps, and it is not made in After Effects or Premiere: it is HTML and CSS animated with GSAP, turned into a video by HyperFrames. Every frame is rendered the same way each time, so you can change one word and render again in two minutes.

Here is exactly how I made it, step by step, so you can make your own promo for your store, your app or your client.

What you need

  • Node.js 22 or newer and Google Chrome or Microsoft Edge on your PC.
  • HyperFrames: nothing to install, you run it with npx hyperframes ….
  • Optional: Claude Code with the HyperFrames skill. I used it to write the scenes faster; everything below also works by hand.
  • Real screenshots of what you sell. This matters more than any effect.

Step 1 — Create the project

npx hyperframes init my-promo
cd my-promo

You get an index.html (the whole film) and a compositions/ folder (one file per scene). Preview it while you work:

npx hyperframes preview

Step 2 — Write the story before any animation

Most "beautiful" promos are good motion around no story. Before touching CSS, I wrote three things:

  1. The one thing to remember: Kartek makes realistic AI video ads on local GPUs, paid in dinars.
  2. One object that travels through the whole film: a skincare UGC ad. We see it play, then we follow that same job through Kartek.
  3. The beats, with their time:
Time Beat What you see
0 – 3.2 s Hook a real UGC ad playing in a glass phone, "Your next ad, made by AI"
3.2 – 6.6 s The old way "A creator shoot takes weeks" · "Cloud GPUs bill in dollars"
6.6 – 9.2 s Reveal the Kartek wordmark, "AI power, paid in dinars"
9.2 – 21.2 s Proof (4 verbs) post the project → a local GPU accepts → it renders → pay only what you approve
21.2 – 24.6 s Payoff a 3D wall of real UGC ads, the camera travels across
24.6 – 27 s Claim "From 0.500 TND per video. No subscription."
27 – 30 s End card logo, website, "10 TND free to try"

Rule I follow: something new every 2–4 seconds, and one hero move per shot.

Step 3 — Turn adjectives into numbers (the "spec")

"Apple-clean" means nothing to a computer. Numbers do. My spec, in a file called SPEC.md:

  • Ground: warm paper #F2F1EC with two soft light pools. No dark background, no neon, no purple gradient.
  • Ink #0D0D1A, one accent (Kartek red #E8452C) on one word per title only.
  • Type: Inter 900 at 104 px (about 10 % of the frame height), tracking −3 %.
  • Material: liquid glass, blur 28 px, 1 px white rim, soft shadow 0 40 px 90 px.
  • Motion: arrivals on expo.out (0.7–0.9 s), camera moves on power2.inOut, zoom-through on power3.in.

Step 4 — Use real screens, never a fake dashboard

I captured the real Kartek pages (the Projects board, a project page) and the real Kartek Host window at 2× resolution, so text stays sharp when the camera pushes in. A fake interface is the fastest way to lose the people who use your product.

Tip: capture at twice the size you need. A push-in of 1.5–2× on a 1× screenshot looks blurry.

Step 5 — One file per scene

The root index.html only places the scenes on the timeline:

<div id="root" data-composition-id="main" data-start="0" data-duration="30"
     data-width="1920" data-height="1080" data-motion-blur="on">
  <div id="hook" data-composition-id="hook" data-composition-src="compositions/hook.html"
       data-start="0" data-duration="3.2" data-width="1920" data-height="1080"></div>
  <!-- …one host per scene… -->
</div>

And each scene builds one paused GSAP timeline and registers it:

<template>
  <div id="root" data-composition-id="hook" data-width="1920" data-height="1080">
    <h1 id="headline">Your next ad, made by AI</h1>
  </div>
  <script>
    const tl = gsap.timeline({ paused: true });
    tl.fromTo("#headline", { opacity: 0, filter: "blur(8px)" },
                           { opacity: 1, filter: "blur(0px)", duration: 0.18, ease: "power4.out" }, 0.2);
    window.__timelines["hook"] = tl;
  </script>
</template>

Three rules that save hours:

  1. Every timed thing (a video, a clip) has data-start and data-duration.
  2. Use fromTo, not from: the scene is re-seeked many times while rendering.
  3. No Math.random(), no timers, no Date.now(): every frame must depend only on the time.

Step 6 — The liquid glass look

One CSS class, used for every panel, the phone and the labels:

.glass {
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(255,255,255,.62), rgba(255,255,255,.22));
  backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 40px 90px rgba(13,13,26,.18);
}

The "Apple" feeling comes from a light sweep that crosses each panel once when it lands: a thin white gradient band moved from left to right in about one second. Once, not in a loop.

Step 7 — 3D entrances that settle flat

Give the scene depth with perspective: 1800px, then let each panel arrive turned and land flat:

tl.fromTo("#phone",
  { rotationY: -24, rotationX: 6, x: -60, scale: 0.94 },
  { rotationY: 8,  rotationX: 0, x: 0,   scale: 1, duration: 0.9, ease: "expo.out" }, 0);

Keep product screens flat once they land: tilted UI is hard to read. Save the strong 3D for the payoff: my wall of seven ads sits on a curve (each frame turned by 9° more than its neighbour, pushed back by 70 px) while the camera dollies across it.

Step 8 — Camera moves: push in, then zoom through

The "camera" is just a wrapper around the screenshot that you scale and move:

// from the whole board to one project card
tl.fromTo("#cam", { scale: 1, x: 0, y: 0 },
                  { scale: 1.55, x: -44, y: -300, duration: 0.9, ease: "power2.inOut" }, 0.9);
// then zoom *through* the card: it becomes the next scene
tl.to("#cam", { scale: 3.4, x: -820, y: -1180, duration: 0.45, ease: "power3.in" }, 2.75);

The next scene starts slightly too big and blurred, then settles: the cut feels like one continuous move. I used five kinds of transitions in 30 seconds (zoom through, whip, blur swap, colour flood, wipe), each one caused by something on screen.

Step 9 — Motion blur, for free

Add data-motion-blur="on" on the root. HyperFrames smears fast-moving elements along their real path, the way a real camera does. It is the single attribute that makes the film feel expensive.

Step 10 — Check, look, then render

npx hyperframes check                     # rules, layout, text size, how long each line stays
npx hyperframes snapshot --at 1.5,8,14,23 # PNG frames to look at before rendering
npx hyperframes render --quality delivery -o renders/promo.mp4

check told me two of my lines stayed on screen too short to be read, and that my first frame was empty (the first frame is the thumbnail on social media). Fix those before rendering.

Tip: on a PC with an unstable graphics card, add --no-browser-gpu. My 30-second film rendered in about 2 minutes 30 seconds on the processor alone.

Step 11 — Sound

A promo over 15 seconds needs a music bed and a few sounds on the actions you see (a click on "Accept", a whoosh on the zoom). Put the music in an <audio> tag with an id, enter it on a strong bar, and keep it under the end card.

Mistakes I avoid every time

  • A dark background with small things floating in the middle.
  • Glow, neon, particles, purple-blue gradients.
  • Three feature cards in a row.
  • Every element fading and sliding up the same way.
  • Titles that keep moving after they land.
  • The logo docked in a corner for the whole film.

Want this done for you?

Post your project on Kartek Projects: certified experts with their own GPU send you a price, you fund each step, and you pay only what you approve. Or become an expert yourself and sell this skill.

— Bilel Aroua, founder of Kartek

What next?

Have an 8 GB+ NVIDIA GPU and real skills?

Pass the 20-question certification, get your public expert profile, answer projects from online stores and earn 80 % of every project. Your GPU also earns while you sleep.

Become a Kartek Certified Expert

Need this done for your store?

Submit your project: certified experts with their own GPU send a price. You fund each step and pay only what you approve. No subscription.

Submit your project

More tutorials

Suggest an idea