CONNECT AI LAB AI NIGHT SCHOOL · 11.18
FREE LIVE MATERIALS · FIVE STEPS

Same tiger,
two ways

This class puts a generated video on a website you built with code. Below are the five steps, and one more pair of tigers to look at side by side.

CODE VIDEO const ctx = canvas.getContext('2d') ctx.arc(x, y, r, 0, Math.PI * 2) requestAnimationFrame(ride)
CODEBuilt in Google AI Studio. Runs in the browser. VIDEOGenerated in Gemini with Omni 1.2.
HOW TO

Put a generated video on your tiger website

Five steps. Practice them at your own pace.

  1. 01

    Copy this prompt

    It is the tiger prompt from the coding class, without the opening Create a 3D scene using Three.js:.

  2. 02

    Generate the video in Gemini

    Open Gemini and press Video. Omni 1.2 is there. Paste the prompt and generate. Then change it to your own style.

  3. 03

    Put it on YouTube and copy the link

    Download the video, upload it to YouTube, and copy the link.

    FROM THE LIVEA link shared straight from Gemini did not play on the website. Use the YouTube link.

  4. 04

    Embed it on your tiger website

    In AI Studio, open the tiger website you built. Paste the link and say this.

  5. 05

    Make the website look great

    Then post it in What We Made Together.

If it does not work, we do it from the start, together, at AI Night School.

CLASSBuild the tiger website first: a tiger on a bike
GO FURTHER

Same tiger, two ways

One tiger ride is already built with code. Ask for the same ride as a generated video, then put the two next to each other.

CODE · AI STUDIO

Tiger's Paper Journey

The coded one. Open it and let it run.

  • BUILT BYGemini 4 Hydrogen, in Google AI Studio
  • BUILD TIME5 min 18 s
  • WHAT IT ISOne HTML file. Canvas 2D draws the picture, Web Audio makes the sound.
  • RIDERA Minhwa tiger on a red bicycle, always riding to the right
  • THE WIPEA torn-paper edge crosses the page and the art style changes behind it
  • STYLES9 art styles, one after another
  • LENGTHAbout 110 s, then it loops
  • BUTTONSPause, Sound, Next Page
Open it in AI Studio
VIDEO · OMNI

The same ride, as video prompts

Three prompts in the same order: the first clip, extend it into the next style, and start from a screenshot of the coded page.

LOOK AT THESE SIDE BY SIDE

Nine things to compare

Open both and tick each one as you look. The CODE line is what the coded page does. The VIDEO line is for you to see on your own run.

WALL · AI NIGHT SCHOOL

What we made together

Post the website you made and it stacks up here.