2024 · Build · Nextjs · Tailwindcss · GSAP · Lenis · motion · WebGL
Caishen

I built the landing page for Caishen, a client's memecoin on BNB Chain named after the Chinese god of wealth. It's a single dark hero page with switchable character art, music and a lot of motion. I built the first version in about a week in 2024 and rebuilt its stack and hero in 2026.
What it does
- Thumbnails let you choose between character artworks. A switch burns the shown character away like embers and reveals the next one, and each character tilts slightly with the pointer, using a depth map for a 3D feel.
- A music player with a bar visualizer that reacts to the track's bass, mids and highs. The cursor and other animations read the same audio levels.
- A splash screen that waits for the fonts and hero art to load, with a shorter intro on repeat visits in the same session. Plus a custom cursor, stickers along the bottom and a marquee whose speed and direction follow your scroll.
How I built it
The first version was Next.js 14 with GSAP, framer motion and Tailwind CSS. In 2026 I moved it to Next.js 16, React 19 and Tailwind CSS 4, and added the WebGL2 character stage. The real images stay in the page for alt text and fast first paint, and the canvas only hides them once the shown character is on the GPU. Without WebGL, or with reduced motion on, the characters crossfade instead. The audio levels live in one shared object that the GSAP ticker writes once per frame, not in React state, so nothing re-renders 60 times a second.
What broke
- Switching characters had to wait for the next image to load. I now render every character up front, hidden, so the swap is instant.
- After the move to React 19, the hero logged duplicate key warnings from an animation wrapper that did nothing. I removed the wrapper.
I built it over 27 commits from August 2024 to September 2026, 23 of them in the first build in August and September 2024.