Skip to content

yaaachuuh/Personalite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RB20 Scroll Concept

A scroll-driven 3D experience of the Red Bull RB20, built with vanilla HTML, CSS, and JavaScript.

Demo: github.com/yaaachuuh/Personalite
Deployed at: redb20.nkv.ee

![RB20 Scroll Concept screenshot](Screenshot 2026-07-22 at 1 05 47 AM.png)

Built as part of the Hack Club Stardance challenge, and as an early concept piece for DRIVEN, a larger car-experience project I'm building. As you scroll, an interactive Three.js model of the RB20 moves, rotates, and reveals season stats.

What it does

  • A 3D model of the 2024 Red Bull RB20 renders on a fixed canvas behind the page
  • As you scroll, the car moves across the screen, rotates, and tilts into a top-down view — synced to different content sections
  • Each section reveals stats and facts about the car, including a full 2024 season record table
  • Fully responsive — camera FOV and car positioning adjust for narrow/mobile screens

Tech stack

  • Three.js (r128) — 3D rendering and the RB20 model
  • GSAP + ScrollTrigger — scroll-synced animation timeline
  • Vanilla HTML/CSS/JS — no frameworks, no build step

Running locally

This is a static site — no build process needed.

  1. Clone or download the repo
  2. Open the folder in VS Code (or any editor)
  3. Serve it with a local server — e.g. the Live Server VS Code extension, right-click index.html → "Open with Live Server"
  4. Note: you can't just double-click index.html and open it as a file:// URL — the 3D model won't load due to browser CORS restrictions on local file fetches. It needs to be served over http://.

Project structure

├── index.html      # Page structure and content sections
├── style.css      # Layout, responsive text, table styling
├── script.js      # Three.js scene, GLTFLoader, scroll animation timeline
└── models/
    └── rb20.glb   # 3D model (see credit below)

Use of AI

i used AI to explain and teach me how JS works as i am a total beginner to it. This is my first real Js project. I used it to help me debug issues and understand concepts that i learn from yt tutorials of GLTFLoader and scroll trigger animation. The actual build decisisions, choreography of the car positions, layout, color, camera angles and writing (including my devlogs) are mine.

Credit

3D Model: "2024 Redbull RB20" by Dave Love on Sketchfab, licensed under CC Attribution 4.0. View original model →

Dev log

I documented the full build process — including the bugs, the pivots, and the "why is the car flying off screen" moments — in my Stardance devlogs. Started as a scroll-animation tutorial, turned into a full rebuild around an exploding-then-not-exploding F1 car concept once I realized copying the tutorial wasn't the point.

What's next

  • A second, lighter model with separated wheel/wing meshes to bring back the original "exploded view" idea
  • More history/story content per section
  • Eventually folding this concept into the full DRIVEN site

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors