Py’otrMuhammad Toheed Sahar

Agency site with a living host whose hero never plays the same way twice

A seven-page static site for a digital agency whose home hero is a cartoon host that plays one of four short clips in a different order every visit.

Client
A digital agency
Year
2026
Type
Websites

The problem

The agency's hero looped one action and the client called it generic. The old site also carried sample numbers, sample reviews and template text that could not be published as fact.

How I built it

Seven pages (home, services, work, about, contact, privacy, 404) share one stylesheet and one script. The home hero is a 2.5D scene with depth parallax, and the host in it plays four short clips (idle, work, hello, sip) that all start and end on the same pose. A small director picks the next clip, so the order differs on every visit. Content comes from the owner's real results and profile, services are listed in plain words without prices, and every button asks for a quote.

What got hard

  1. One looping clip always reads as generic.

    A set of clips on one base pose and a director that never plays the same clip twice in a row, with a shader that cross-fades between two texture slots so switching never jumps. The host greets the visitor word by word and reacts when clicked.

  2. Keying hundreds of 960px frames in memory needed over 7 GB and the process was killed.

    Each frame is keyed once, saved as an RGBA PNG on disk, then cropped and encoded, so memory stays flat. All clips share one crop box so switching never shifts the figure.

  3. Sample numbers and reviews from the old site must never appear as real claims.

    I wrote a content note that labels every line (old site, sample, needed, suggestion), used only real results and the owner's own profile, and listed in the README what still needs her confirmation: tagline, process steps, which services she sells, a real logo, a business email.

The result

A seven-page static site (about 12 MB with media) with a contact function that emails enquiries through Resend, plus a README that lists every open item before launch.