跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。

关于这个模板

一个动感十足的创意机构网站,由全视口实时 WebGL Navier-Stokes 流体模拟驱动。光标移动和触摸手势会在巨大的镂空工作室字标下方搅动发光的电光染料,滚动时染料配色会平滑切换,贯穿 Selected Work(含代码动画预览)、Services、Process Timeline、Awards 和 Contact 等区块。包含悬浮的 Fluid Settings 面板、离屏暂停,以及优雅的 reduced-motion 渐变降级方案。

模板提示词

在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。

# Fluid Simulation Agency Website

Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.

## Brief
Build a dark editorial creative studio homepage for [BRAND] ([CITY]) anchored by a full-viewport real-time WebGL fluid simulation hero. Moving the cursor or dragging a finger stirs electric dyes across obsidian black while clicking triggers vivid fluid splashes, and the giant [BRAND] wordmark sits cut out over the fluid as a luminous mask. As visitors scroll through Selected Work (4 interactive case cards with code-drawn animated previews and detail drawer), Services, Process Timeline, Awards, and Contact, the active fluid palette shifts smoothly per section. Include a floating Fluid Settings chip (palette selector, dye intensity slider, bloom toggle, and low-power mode), off-screen simulation pausing, and a slow gradient fallback for low-power devices or prefers-reduced-motion.

- Audience: Brand directors, product founders, creative technologists, and interactive studios seeking a signature WebGL showcase.
- Goal: Deliver an unforgettable, responsive real-time fluid hero on frame one (seeded immediately with glowing multi-color swirls—never black or empty), then convert curiosity into case exploration and project inquiries.
- Tone: Confident, kinetic, tactile, and art-directed—crisp engineering precision paired with bold typographic poise.

## Stack
- Framework: Vite 6 + React 18 + TypeScript
- Styling: Tailwind CSS 4
- Libraries: lucide-react (ISC), @fontsource/syne (OFL-1.1), @fontsource/space-grotesk (OFL-1.1), @fontsource/jetbrains-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Set base: './' and build: { sourcemap: false } in vite.config.ts.
  - Import @fontsource/syne (700, 800), @fontsource/space-grotesk (400, 500, 600), and @fontsource/jetbrains-mono (400, 500) in src/main.tsx.
  - Author an original real-time WebGL2/WebGL Eulerian fluid simulation engine in src/fluid/FluidEngine.ts with preserveDrawingBuffer: true, float/half-float or RGBA8 safe fallback, seeded multi-color initial swirls rendered synchronously on frame one, cursor/touch velocity stirring, click radial splashes, dynamic palette interpolation, bloom pass, and IntersectionObserver off-screen pause.
  - Render a clean slow-moving CSS/Canvas radial gradient fallback whenever WebGL is unavailable, low-power mode is enabled, or prefers-reduced-motion is active.
  - Create four original animated Canvas/SVG generative case previews in src/components/WorkPreviews.tsx and keep all studio copy and project data in src/content.ts.

## Variables
- [BRAND] — Studio Name (default: "KINETIK LAB"). Short uppercase studio wordmark rendered as the fluid cutout mask
- [CITY] — Studio Locations (default: "Zurich · Tokyo"). City pair displayed in header telemetry and contact block
- [STUDIO_TAGLINE] — Hero Statement (default: "Real-time digital craft for kinetic brands."). Concise one-line studio positioning statement
- [CONTACT_EMAIL] — Studio Inquiry Email (default: "[email protected]"). Fictional studio email displayed in the contact section
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/fluid-simulation-agency-website in the footer (default: yes; delete this line to remove it)

The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.

Pro 模板

解锁完整提示词和源码

  • 完整提示词:设计、版块、动效、素材
  • 每个在线演示的源码
  • 商用授权

在线演示和 DESIGN.md 仍然免费。

$9/月起 · 年付和终身正在上线特惠

DESIGN.md

单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。

---
name: "Fluid Simulation Agency Website"
colors:
  obsidian_void: "#050505"
  carbon_surface: "#101015"
  acid_green: "#B6FF3B"
  hot_pink: "#FF3EA5"
  electric_ultramarine: "#3B5BFF"
  chalk_white: "#F5F5F7"
typography:
  display_wordmark_section_headlines: { family: "Syne", weights: [700, 800] }
  body_copy_navigation: { family: "Space Grotesk", weights: [400, 500, 600] }
  shader_telemetry_indices: { family: "JetBrains Mono", weights: [400, 500] }
spacing: "Full-viewport interactive hero (min-h-screen) with 64px transparent-to-obsidian sticky top bar, 1280px max-width editorial container, and generous 96px section breathing room."
radius: "14px for case study cards and inquiry panels; full-pill capsules for Fluid Settings chip and discipline tags."
---

# Fluid Simulation Agency Website — Design System

Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.

## Colors
- **Obsidian Void** `#050505` — Primary full-bleed canvas and page background
- **Carbon Surface** `#101015` — Selected work cards, process steps, settings popover, and contact form
- **Acid Green** `#B6FF3B` — Primary electric fluid dye, active badges, and primary CTA highlight
- **Hot Pink** `#FF3EA5` — Secondary electric fluid dye, hover states, and award highlights
- **Electric Ultramarine** `#3B5BFF` — Tertiary fluid swirl dye, secondary indicators, and depth gradients
- **Chalk White** `#F5F5F7` — Primary display typography and high-contrast body text

## Typography
- **Display Wordmark & Section Headlines** — Syne (OFL), weights 700/800. Self-host the font files.
- **Body Copy & Navigation** — Space Grotesk (OFL), weights 400/500/600. Self-host the font files.
- **Shader Telemetry & Indices** — JetBrains Mono (OFL), weights 400/500. Self-host the font files.

## Spacing & shape
- Spacing: Full-viewport interactive hero (min-h-screen) with 64px transparent-to-obsidian sticky top bar, 1280px max-width editorial container, and generous 96px section breathing room.
- Radius: 14px for case study cards and inquiry panels; full-pill capsules for Fluid Settings chip and discipline tags.

## Motion
- Real-time WebGL fluid velocity and dye advection stirred continuously by mouse/touch movement, plus multi-dye burst splashes on click or tap.
- Giant studio wordmark rendered as a crisp SVG cutout mask overlay over the glowing WebGL fluid layer so live electric ink ripples directly inside the letterforms.
- Scroll-linked dye palette shifting: Hero (Acid + Pink + Ultramarine), Selected Work (Pink + Ultramarine), Services (Acid + Cyan), Process (Ultramarine + Violet), Awards/Contact (Acid + Warm Gold).
- Automatic off-screen pause when the hero canvas scrolls out of view (with a subtle fixed ambient fluid ribbon toggleable or running only while visible), plus reduced-motion and low-power CSS gradient fallback.

## Imagery
Real-time custom WebGL fluid simulation canvas in the hero paired with four original code-drawn animated generative previews for Selected Work case studies (parametric wave mesh, kinetic typography matrix, refractive audio prism, spatial transit topology).

## Tone
Confident, kinetic, tactile, and art-directed—crisp engineering precision paired with bold typographic poise.

---
Inspired by WebGL Fluid Simulation Studio Hero by @PavelDoGreat — https://paveldogreat.github.io/WebGL-Fluid-Simulation/
— Prompt by VibeFather · https://vibefather.ai/t/fluid-simulation-agency-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

改成你自己的

  • 一家动态设计工作室:将 BRAND 设为你的名称,STUDIO_TAGLINE 设为你的作品集定位,并用你的影片和品牌项目替换四张 Selected Work 卡片。
  • 一家创意技术咨询公司:将 CONTACT_EMAIL 指向你的新业务邮箱,并围绕你的探索、原型制作和发布阶段重写 Services 和 Process Timeline。
  • 一位独立交互设计师:将 BRAND 用作你的个人字标,保留 CITY 作为你的基地,并将 Awards 替换为你可以核实的客户名称和认可。
  • 一个音乐和音频品牌实验室:将 STUDIO_TAGLINE 设为你的声音定位,并用专辑、台标和声音设计作品替换案例预览。

流体模拟机构网站:常见问题

我可以将 Fluid Simulation Agency Website 模板用于客户项目吗?

将 Fluid Simulation Agency Website 模板用于客户和商业项目需要 Pro 会员。免费提示词和所有 DESIGN.md 仅授权用于个人非商业用途。Pro 版本公开显示简介、技术栈和变量,向 Pro 会员提供完整提示词,并包含在线演示的源代码。

Fluid Simulation Agency Website 上的交互式 WebGL 流体主视觉是如何工作的?

Fluid Simulation Agency Website 在整个视口上运行实时流体模拟。光标移动和触摸手势会在镂空字标下方搅动发光染料,点击会触发径向飞溅,滚动会按区块切换染料配色。悬浮的 Fluid Settings 面板提供配色选择、染料强度滑块、泛光开关和低功耗模式。

如果访客的设备无法运行 WebGL 或偏好 reduced motion,会发生什么?

当 WebGL 不可用、低功耗模式开启或访客偏好 reduced motion 时,Fluid Simulation Agency Website 会降级为缓慢移动的 CSS 和 Canvas 径向渐变。当主视觉滚动出屏幕时,模拟也会暂停,因此页面保持可用,编辑式布局和案例卡片也完好无损。

如何向 Selected Work 区块添加我自己的案例研究?

Fluid Simulation Agency Website 将所有工作室文案和项目数据放在一个按区块索引的内容文件中。用你自己的标题、描述和链接替换其中的四个项目条目,代码绘制的动画预览和详情抽屉会自动跟随。保持相同的条目结构,以便滚动配色切换和案例卡片继续正常工作。

怎么用 AI 做一个流体模拟机构网站?

复制本页的完整提示词(Pro),或者运行 npx vibefather add fluid-simulation-agency-website,把 [CITY]、[BRAND]、[CONTACT_EMAIL]、[STUDIO_TAGLINE] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。

流体模拟机构网站模板用什么技术栈,有几个页面?

流体模拟机构网站是一个单页网站,用 React、Vite、WebGL 构建。提示词固定了技术栈,不同 AI 工具做出来的都是同一类项目,成品是静态网站,部署到哪里都可以。