← 03 / BLOG

How this website was made

From a particle logo to a visual CMS, bilingual pages and AI translation — the whole build, and the pitfalls.

NOV 30, 20261 MIN READEngineeringSERIES · Build log1264 READS# Demo# WebGL# Next.js
Sample cover SITE

The hard part of a personal site is not the tech — it is deciding what it should hold. I gave it three goals: show, write, and be manageable by AI.

Homepage: a scroll story

The homepage uses a Three.js energy-particle system that morphs between the logo, a walking silhouette, a skateboarding stick figure, a hiker and guitars as you scroll. Each section has its own palette.

  • Shapes blend with smoothstep instead of hard cuts
  • Bloom only on highlights, so the darks stay clean
  • Mobile drops from 16,000 to 9,000 particles
Sample cover ZXZ

CMS: publishing without Markdown

Content lives in Payload CMS, embedded right inside Next.js. Rich text supports galleries, video, code, 3D models and more.

A bit of config

payload.config.tsts
localization: {
  locales: ['zh', 'en'],
  defaultLocale: 'zh',
  fallback: true,
}

Deployment

Docker on a 3-core, 4 GB VPS, nginx in front, images built by GitHub Actions. The README has the details.

Make it run, then make it pretty.

— ZXZ

COMMENTS

Sign in to comment — coming soon.