Contents
TABLE OF CONTENTS
CyberFiction
CompletedReactTailwind CSSGSAP+1 more

CyberFiction

An immersive, Awwwards-inspired 3D web experience featuring a scroll-controlled avatar animation sequence, custom cursor interactions, and high-fidelity visual storytelling.

Timeline

10 Days

Role

Front End

Team

Solo

Status
Completed

Technology Stack

React
Tailwind CSS
GSAP
GSAP
Vercel

## Overview

CyberFiction is an advanced creative development project that pushes the boundaries of traditional web design. Inspired by highly interactive, Awwwards-winning websites, it utilizes heavy animation, canvas rendering, and 3D visual storytelling to create a futuristic, deeply immersive narrative web experience.

## Key Features

  • Scroll-Controlled Sequences: Features a sophisticated frame-by-frame 3D avatar animation sequence mapped directly to the user's scroll position, creating the illusion of moving through space.
  • Custom Cursor: Replaces the default OS cursor with a highly responsive, interactive element that adapts to hover states and enhances the overall "cyber" aesthetic.
  • Immersive 3D Effects: Masterfully blends standard 2D DOM elements (typography, UI controls) with heavy 3D canvas sequences for profound visual depth.
  • GSAP Animations: Fluid page transitions, text reveals, and complex timeline micro-interactions powered by the industry-standard GreenSock Animation Platform.

## Technical Implementation

### Architecture and Rendering

The core of the CyberFiction experience relies on React for state management and DOM structure, paired with an HTML5 <canvas> element for the heavy lifting. Instead of relying on a real-time WebGL engine like Three.js (which can be incredibly heavy for mobile devices), the 3D avatar is pre-rendered into hundreds of high-resolution image frames.

### Animation Pipeline

GSAP's ScrollTrigger plugin is the engine driving the interaction. As the user scrolls down the page, ScrollTrigger calculates the progress percentage and instructs the canvas context to draw the exact frame from the image sequence that corresponds to that precise scroll depth.

## Design Decisions

Canvas Over Video: Using a standard <video> tag linked to scroll position results in heavy frame dropping and decoding lag. By extracting the video into discrete JPEG frames and painting them rapidly to a canvas, the scrub speed remains instant and frame-accurate.

Pre-rendered 3D vs. Real-time 3D: While WebGL (Three.js) is powerful, pre-rendering the 3D sequence in external software allowed for cinematic lighting, complex materials, and raytracing that would melt a standard web browser if computed in real-time.

## Challenges

Image Sequence Optimization: Loading hundreds of high-resolution frames inherently creates massive payload sizes. Solving this required aggressive image compression, intelligent caching, and a robust preloader that ensures smooth playback without blocking the initial page paint.

Scroll Trigger Timing: Synchronizing standard DOM animations (like text fading in) perfectly with specific moments in the canvas image sequence required meticulous GSAP timeline planning and rigorous cross-device testing.

3D Asset Rendering: Ensuring that the canvas elements scaled correctly across different aspect ratios (from ultra-wide monitors to narrow mobile phones) without stretching or clipping the core visual narrative.

Karansingh

Design & Developed by Karan Singh V

© 2026. All rights reserved

Command Palette

Search for a command to run...