Communitygithub.com

WebGL 登陸頁面引導技能

用於建立或優化 WebGL 密集型登陸頁面時,在兼顧轉換清晰度、效能與實作複雜度的前提下,引導你朝向特定的視覺成果(高階、技術、趣味、電影感)。

WebGL 登陸頁面引導技能 是什麼?

這個技能提供一個結構化框架,幫助開發者在建立 WebGL 登陸頁面時,做出有策略的視覺設計決策。它強調在選擇 WebGL 效果之前,必須先定義頁面意圖(如高階、技術、趣味或電影感),並考慮裝置組合、動態耐受度與專案限制。技能定義了四種主要的 WebGL 設計路線(Subtle Depth Field、Data/Particle Intelligence、Object-Centric 3D Moment、Immersive Cinematic Scene),每種路線都有明確的適用場景、視覺規範與技術堆疊建議。此外,它還包含一個根據登陸頁面類型(如 waitlist、pricing、campaign microsite)的引導矩陣,以及品質把關(訊息、效能、無障礙、可靠性)與風險分級的實作策略。最終,技能提供一個提示模板,可用於 Codex 風格的執行,並列出常見失敗模式與修正方法,確保最終產出兼顧視覺吸引力與商業目標。

相容平台~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/MengTo/Skills/tree/HEAD/agent-skills/web-design/webgl-landing-steering

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

WebGL 登陸頁面引導技能 是做什麼的?

使用此技能引導成果

在撰寫程式碼之前,先將登陸頁面目標對應到 WebGL 方向。

1) 定義頁面意圖

識別主要的轉換目標與品牌訊號:

  • 高階 / 奢華 / 極簡自信
  • 技術 / 基礎設施 / 數據權威
  • 趣味 / 消費者 / 社群活力
  • 電影感 / 發表 / 敘事衝擊

同時記錄:

  • 裝置組合(以桌面為主 vs. 以行動裝置為主)
  • 動態耐受度(prefers-reduced-motion 政策)
  • 製作限制(截止日期、團隊技能、維護預算)

2) 選擇 WebGL 路線

選擇一個主導路線;避免在英雄區域混合 3-4 種重效果。

路線 A:微妙深度場景(高轉換安全性)

用於:SaaS、生產力工具、B2B 工具,這些場景可讀性至關重要。

  • 視覺:柔和漸層網格、緩慢視差平面、輕微泛光
  • 動態:低振幅,永遠次要於文案
  • 技術堆疊:Three.js 平面著色器或輕量著色器畫布
  • 規則:英雄文字對比度與 CTA 按鈕優先

路線 B:數據/粒子智慧(技術可信度)

用於:AI、基礎設施、分析、開發者產品。

  • 視覺:粒子流、節點網路、向量場、線框
  • 動態:有目的性的方向性流動,朝向 CTA 區域
  • 技術堆疊:Three.js + 自訂著色器/點,選擇性使用 GPGPU 處理密集場域
  • 規則:傳達「系統行為」,而非隨機閃爍

路線 C:以物體為中心的 3D 產品時刻(功能清晰度)

用於:硬體、具有強烈產品視覺的應用程式、發表頁面。

  • 視覺:中央 GLTF 模型、受控攝影機軌道、材質高光
  • 動態:互動驅動或時間軸基礎的揭示
  • 技術堆疊:Three.js + GLTF/DRACO/KTX2 管線
  • 規則:一個英雄物體、短循環、快速的首次有意義繪製備援

路線 D:沉浸式電影場景(品牌行銷活動)

用於:活動頁面,其中 wow 因素是主要 KPI。

  • 視覺:體積效果、大量後處理、密集場景構圖
  • 動態:編排好的序列,搭配滾動章節
  • 技術堆疊:Three.js + 後處理 + 選擇性使用 GSAP ScrollTrigger
  • 規則:提供靜態/行動裝置備援以及嚴格的效能門檻

3) 依登陸頁面類型的引導矩陣

  • Waitlist / 預先發表:路線 A 或 B。保持文案清晰易讀且快速載入。
  • 產品功能頁面:路線 A 或 C。展示產品真實性,而非抽象雜訊。
  • 定價 / 高意向頁面:主要路線 A。保持 WebGL 僅作為裝飾。
  • 企業信任頁面:路線 B,搭配節制的色調與低雜訊。
  • 消費者應用成長頁面:路線 B,搭配趣味色調,但限制 CPU/GPU 負載。
  • 活動微型網站:路線 C 或 D,並為較低階裝置提供明確備援。

4) 出貨前的品質把關

在增加更多視覺複雜度之前,先通過這些關卡:

  1. 訊息關卡:
  • 英雄標題 + CTA 在 3 秒內可讀。
  • WebGL 絕不阻礙對提案的理解。
  1. 效能關卡:
  • 限制像素比率:Math.min(devicePixelRatio, 1.5-2)。
  • 以常見行動裝置上的穩定幀時間為目標。
  • 延遲載入重資產;立即顯示非 WebGL 的佔位圖/備援。
  1. 無障礙關卡:
  • 尊重 prefers-reduced-motion(靜止幀或低動態模式)。
  • 在動態背景上維持色彩對比度。
  1. 可靠性關卡:
  • 處理上下文遺失和視窗大小改變。
  • 在 SPA 路由變更時釋放幾何體/材質/紋理。

5) 依風險的實作策略

  • 低風險(最快):CSS + 畫布幻覺,最少著色器
  • 中等風險:Three.js 場景搭配 1-2 個網格,輕量後製 FX
  • 高風險:多通道著色器、密集粒子、進階後處理

對於轉換頁面,預設使用低/中等風險,除非使用者明確要求活動等級的沉浸感。

6) 適用於 Codex 風格執行的提示模板

在要求建立 WebGL 登陸英雄時,使用此提示模式:

「為一個 [頁面類型] 建立 [路線] WebGL 英雄,帶有 [品牌形容詞]。 主要目標:[轉換]。 限制條件:[裝置組合]、[效能預算]、[減少動態政策]。 先實作備援,再以 WebGL 增強。 將英雄文案清晰度置於視覺複雜度之上。」

7) 常見失敗模式與修正

  • 失敗:「看起來很酷,但轉換率下降了。」
    • 修正:降低動態振幅、加深/柔化背景、提高 CTA 對比度。
  • 失敗:「行動裝置上卡頓。」
    • 修正:減少粒子數量、降低 DPR 限制、移除昂貴的後處理。
  • 失敗:「視覺風格感覺很一般。」
    • 修正:選擇一個與品牌一致的標誌性主題(網格、波浪、軌道、碎片)。
  • 失敗:「團隊無法維護著色器複雜度。」
    • 修正:簡化為模組化的 Three.js 場景,並附上文件化的參數。

應用此技能時的輸出格式

回傳:

  1. 建議路線及其原因
  2. 視覺規格(色調、動態行為、構圖)
  3. 技術堆疊與複雜度層級
  4. 備援行為
  5. 效能+無障礙檢查清單
  6. 建構順序(MVP 優先,增強其次)

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

MengTo/Skills

Create polished 60 fps 4:3 4K browser screen-recording style videos from Codex in-app browser captures, with browser-only crop, natural macOS cursor styling, deliberate click choreography, zoom-follow framing, ffprobe/thumbnail verification, and optional native recording compatibility checks. Use when the user asks to record or re-record browser actions, show cursor clicks and zooms, make Dribbble/UI inspiration or product demo recordings, or asks whether Codex, Playwright, or an MCP can produce a natural browser demo video.

MengTo/Skills

Generate ElevenLabs text-to-speech audio from scripts or inline text using local voice profiles. Use when the user asks for ElevenLabs, text-to-speech, TTS, narration, voiceover, speech audio, or voice generation; load voice names, voice ids, emails, owners, and account-specific defaults only from local config outside the skill.

MengTo/Skills

Profile, audit, and optimize frontend page performance with emphasis on animation work, memory-leak risks, long-session slowdowns, CSS animations, canvas/WebGL requestAnimationFrame loops, marquees, skeletons, GSAP/Three/Matter effects, timers, listeners, and observers. Use when the user asks to make animations performant, pause offscreen animations, look for memory leaks, profile pages that slow the computer over time, fix janky scrolling, reduce CPU/GPU use, or repeat the "only play in view" optimization on React/Vite/Next/frontend pages using Codex Browser.

MengTo/Skills

Turn a reference video into a super detailed recreation or inspiration prompt. Use when the user provides, mentions, uploads, links, or points to a video and asks to analyze the design, UI, animations, transitions, scroll interactions, typography, colors, assets, WebGL/Three.js, storytelling, section-by-section behavior, or to create a prompt/article that recreates the page, app, interaction, or motion system.

MengTo/Skills

Create an on-scroll animation trigger using IntersectionObserver with Tailwind-friendly animation classes and keyframes. Use when asked for scroll-reveal, animate-on-scroll, or sequencing element animations when they enter the viewport.

MengTo/Skills

Use when designing or implementing product-grade web motion like Stripe, Linear, Apple, and Vercel. Covers motion principles, easing/duration defaults, choreography patterns, scroll/hover interactions, performance, accessibility (reduced motion), and implementation guidance.

MengTo/Skills

Create premium cinematic web motion systems with GSAP, ScrollTrigger, and Lenis. Use for luxury editorial websites, creative studio portfolios, Awwwards-style interactions, smooth scroll reveals, staggered text, parallax, pinned sections, magnetic hover states, custom cursors, and mouse-reactive layered movement.

MengTo/Skills

Create cinematic scroll-driven landing pages with Lenis smooth scrolling, GSAP ScrollTrigger, scroll-linked progression, staggered text reveals, sticky card stacks, parallax backgrounds, scroll-scrubbed transitions, footer reveals, and immersive preloaders. Use when analyzing or building premium editorial scroll experiences, sticky project stacks, kinetic typography, or section-by-section storytelling.

MengTo/Skills

Use when designing or rewriting a high-converting SaaS pricing page (structure, plan design, copywriting, SEO/AEO, FAQs, layout patterns, experiments). Includes checklists, templates, and common pitfalls.

相關技能