用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
烟花秀制作器是一个单页创意工具,让你在浏览器里编排一场小型烟花表演。它面向创作者、活动概念设计、课堂演示,以及任何喜欢交互式画布而非静态画廊的人。原创的滨水天际线、发光的粒子和水面倒影,让编辑器从第一屏起就像是一个完整的场景。
工作流程保持紧凑:选择一种烟花弹,从六种命名颜色中挑一种,把它放到三条时间轴轨道上,然后调整爆炸位置和时机。牡丹弹、环形弹、柳枝弹、彗星弹和爆裂弹各有不同的几何形态和运动方式。内置的起始烟花秀提供了一段可编辑的序列,而拖拽控件、键盘微调、复制、删除和可拖动的播放头,让时间轴真正实用而非装饰。
播放使用带种子的 Canvas 2D 模拟,包含重力、阻力、渐隐拖尾和水面倒影。Web Audio 在用户手势之后合成发射、爆炸和爆裂声,因此项目无需下载音频,也不依赖外部服务。分享操作会把烟花秀存进 URL hash 并复制一条可复现的链接;不上传任何内容,也不需要账号。
默认内容设定在一场虚构的港口庆典。通过变量可以修改工作室名称、烟花秀标题、天际线名称、受众和时长,以适应湖畔聚会、节日压轴或其他虚构场景。布局适配触屏:紧凑的画布、可横向滚动的时间轴和底部抽屉式检查器。减少动态效果的行为、键盘替代操作、粒子数量上限和本地资源,让这个静态构建对首次访问者和经验丰富的时间轴编辑者都友好且自包含。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Fireworks Show Maker
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
Build an original single-page fireworks composition tool for [BRAND], defaulting to Nightloom Studio. The opening view is a polished editor surrounding a live Canvas 2D waterfront performance for [SHOW_TITLE] above the fictional [CITY_NAME] skyline. Visitors arrange shell type, color, timing, track, and burst position, then play the sequence with synchronized synthesized sound and share it in a URL hash.
- Audience: Write the interface and any helper copy for [AUDIENCE], by default celebration designers and creative coders. It should feel approachable to a first-time visitor while retaining the precision of a compact timeline editor.
- Goal: Let a visitor understand the scene immediately, edit the supplied starter show without instructions or sign-in, preview a reproducible performance with sound, and copy a link that restores the same show entirely on the client.
- Tone: Nocturnal, precise, and quietly festive: a pro-tool interface with luminous color rather than a cartoon arcade. Use concise US English, concrete control labels, and no marketing sections.
## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Vanilla CSS
- Libraries: React 18 and React DOM (MIT), Vite 5 (MIT), lucide-react (ISC), @fontsource/sora (OFL-1.1), @fontsource/inter (OFL-1.1), @fontsource/ibm-plex-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
- Configure Vite with base: './', minification enabled, and source maps disabled; the production entry must be dist/index.html.
- Keep all interface copy, variable defaults, shell definitions, named colors, and starter events in src/content.ts; rewrite variable-dependent copy when values change and never leave default-brand text behind.
- Use React for editor state and dialogs, but keep particle arrays and animation timing in refs so the component tree does not rerender for every particle or frame.
- Use two stacked Canvas 2D layers: a cached skyline/water layer redrawn only on resize and a dynamic launch/particle/reflection layer driven by requestAnimationFrame with a fixed 1/60-second simulation step and at most five catch-up steps.
- Derive all random variation from a stable seed based on the event id and particle index so playback, seeking, and shared links reproduce the same geometry.
- Generate launches, low bursts, and crackles at runtime with the Web Audio API; create or resume AudioContext only after an explicit user gesture and do not bundle audio files.
- Serialize versioned show data as base64url-encoded UTF-8 JSON under the #show= URL hash; validate imported data, cap shows at 60 events, and never send show data over the network.
- Self-host Sora, Inter, and IBM Plex Mono through the listed Fontsource packages and create ASSETS.md with package paths, source URLs, authors, and licenses for the fonts and icons.
## Variables
- [BRAND] — Studio or project name (default: "Nightloom Studio"). An invented name used in the header, document title, and small brand mark label.
- [SHOW_TITLE] — Show title (default: "Harbor Afterglow"). A short original celebration title shown above the canvas and stored in shared shows.
- [CITY_NAME] — Fictional skyline name (default: "Port Aurelia"). An invented waterfront place, never a real city or landmark.
- [AUDIENCE] — Audience (default: "celebration designers and creative coders"). Used to adapt helper copy while retaining the same editing workflow.
- [SHOW_DURATION] — Show duration in seconds (default: "24"). A numeric duration from 12 to 60; scale starter-event times proportionally when it changes.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/fireworks-show-maker 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.
## Design
### Colors
- Midnight `#080B14` — Application background and the deepest canvas sky
- Panel `#101624` — Library, inspector, timeline, and transport surfaces
- Raised `#171F31` — Selected controls, event blocks, and dialog surface
- Line `#293249` — One-pixel separators, ruler marks, and input borders
- Ink `#F4F6FC` — Primary labels, headings, and Pearl shells
- Muted `#99A5BC` — Secondary labels and inactive icons
- Violet `#9D8CFF` — Primary action, selection outline, playhead, and Violet shells
- Solar `#FFCA6B` — Solar shells and warm building windows
- Coral `#FF6F91` — Coral shells and destructive-action hover only
- Lagoon `#64D9FF` — Lagoon shells and cool water reflections
- Mint `#75E6B2` — Mint shells and ready-state indicator
### Typography
- Brand, show title, dialog title, and major control labels: Sora (OFL), weights 500/600/700
- Buttons, shell descriptions, fields, and general interface text: Inter (OFL), weights 400/500/600
- Timecodes, ruler ticks, track labels, coordinates, and keyboard hints: IBM Plex Mono (OFL), weights 400/500
### Layout & motion
- Spacing: Use a 4px base unit. Header height is 64px with 18px horizontal padding; panel padding is 16px; control gaps are 8px; section gaps are 12px. Shell rows are 64px high, inputs 36px on desktop and at least 44px on touch screens, and the timeline is 220px high on desktop.
- Radius: Use 6px for panels and dialogs, 4px for buttons, inputs, shell rows, and timeline events, and 2px for small swatches. Reserve fully round shapes for status dots, toggle knobs, and the canvas position marker; avoid floating pill cards.
- Motion: Start a muted ambient preview after 600ms so the first screen becomes a living show without audio; any edit pauses it. The primary Play with sound action restarts at zero, enables audio, and plays the actual timeline.
- Motion: Launch shells along a slightly curved 0.9–1.2 second trajectory, then simulate burst particles with gravity of 0.055 canvas-heights per second squared, velocity drag of 0.985 per 60Hz step, and 1.4–3.2 second lifetimes according to shell type.
- Motion: Draw each particle's previous six positions as a fading tapered trail and mirror live bursts into the bottom 22% water band with low-alpha, vertically stretched streaks; do not use a prerecorded animation.
- Motion: Keep interface transitions between 120 and 160ms with opacity and at most 4px translation. The playhead and dragged events follow input directly without easing; toasts enter and exit over 160ms.
- Motion: When prefers-reduced-motion is set, do not autoplay. Render a representative static tableau at 22 seconds, remove interface transitions and ambient twinkling, and use half the particles with shorter trails only after explicit playback.
- Imagery: Use no photographs or generated bitmap images. Draw the original skyline, water, shell previews, position marker, and a small four-ray brand spark entirely with Canvas 2D, CSS, and inline SVG. The skyline is an invented cluster of varied rectangular towers, setbacks, rooftop antennas, scattered warm windows, and haze; include no identifiable landmark. Use Lucide only for familiar interface icons. There are no people, mascots, external illustrations, or audio files.
## Pages & Sections
### [BRAND] — [SHOW_TITLE] (`index.html`)
1. **Application header** — Left: an original four-ray spark SVG and [BRAND] in Sora 600 at 16px, with a small Mint ready dot and the label LOCAL SHOW BUILDER in IBM Plex Mono 10px. Center: [SHOW_TITLE] with a muted 'Starter show' badge until the first edit, then 'Edited'. Right: a keyboard hint 'Space to play / pause' on wide screens and a Violet Share show button with a Share2 icon. Set the plain document title to [BRAND] — [SHOW_TITLE] and use the same spark as the favicon.
Layout: A 64px full-width bar on Midnight with a bottom Line border, three grid columns, and 18px horizontal padding. Keep the brand left-aligned and Share show at the far right. Below 700px, reduce height to 56px, hide the center title and keyboard hint, and keep the brand and a labeled Share button; do not collapse into an icon-only control.
Motion: The Edited badge crossfades over 120ms. Share show has a 120ms background and border-color hover transition, with a visible 2px Ink focus ring.
2. **Shell library and color dock** — Heading: 'Shell library', with helper text 'Pick a shell, then add it at the playhead.' Provide five selectable rows: Peony — 'Even radial bloom · 84 sparks'; Ring — 'Clean halo with an inner echo · 68 sparks'; Willow — 'Long falling golden trails · 64 sparks'; Comet — 'Five staggered mini-blooms · 45 sparks'; Crackle — 'Flickering stars with tiny pops · 60 sparks'. Each row has a code-drawn miniature, name, and short description. Below, 'Burst color' contains six labeled swatches: Solar #FFCA6B, Coral #FF6F91, Lagoon #64D9FF, Violet #9D8CFF, Mint #75E6B2, Pearl #F4F6FC. A full-width 'Add at playhead' button uses the Plus icon. Footer note: 'Select an event to move its burst on the canvas.' Include the optional [CREDIT] link unobtrusively at the bottom.
Layout: On desktop this 220px-wide Panel column spans the full workspace height at the far left, with right and bottom Line borders, 16px padding, and vertically stacked shell rows. Selected shell rows use a Raised fill and 2px Violet left rule. Swatches form a 3×2 grid with visible color names in tooltips and accessible labels. On mobile, place this section after the timeline as a 176px-high horizontal shell rail; keep the color dock and Add button in a second row, hide descriptions, and allow internal horizontal scrolling without page overflow.
Motion: Selecting a shell or color updates the miniature and future-event defaults immediately. Clicking Add at playhead creates and selects an event at the current time, Track 1, size 1.0, and burst position 50% × 34%, then pulses the new timeline block once for 160ms.
3. **Skyline stage and transport** — Overlay the stage's upper-left with [SHOW_TITLE] in Sora 600 at 24px and '[CITY_NAME] · [SHOW_DURATION] SECONDS' in IBM Plex Mono 11px. Upper-right status reads 'MUTED PREVIEW', 'PLAYING', 'PAUSED', or 'READY'. Fill the scene with a deep #050713-to-#111A33 sky, faint stars, two layers of atmospheric haze, an original dark skyline at roughly 72% height, and a water band below. Every shell launches from the lower city edge to its normalized burst coordinate. Peony distributes particles evenly around a sphere-like 2D bloom; Ring uses a crisp outer halo plus a smaller delayed ring; Willow uses slower gold particles with strong downward trails; Comet makes five small blooms at 90ms offsets; Crackle gives particles an end-of-life white flicker and synchronized tiny pops. Clicking the canvas moves the selected event's burst, updates its x/y fields, and shows a fine crosshair marker. Transport controls are Play with sound, Pause, Restart, sound on/off, Loop, and a live '00:00.0 / 00:24.0' timecode derived from the real duration. Space toggles playback whenever focus is not in a field.
Layout: On desktop the stage occupies the center column of the first workspace row and is the dominant visual, with no card gap around it. The canvas fills all available space; the title and status sit in safe translucent-gradient zones rather than separate cards. A 64px transport bar sits along its bottom on rgba(8,11,20,0.88) with a top Line border. At 1440×900 the overall workspace below the header is 836px high, using a 220px / minmax(0,1fr) / 280px column grid and a minmax(360px,1fr) / 220px row grid; the library spans both rows, the timeline spans the center and right columns, and the stage remains at least 360px high. On mobile, place the stage first with a 330px canvas and a 64px transport; use a 20px show title, a two-row control layout if needed, and keep every transport button at least 44px high.
Motion: Cap device pixel ratio at 1.75 on desktop and 1.5 on mobile, with at most 1400 live particles on desktop and 650 on mobile. Reduce per-shell particle counts if average frame rate falls below 45fps, preserving event timing. Pause freezes simulation time, Restart clears particles and seeks to zero, and Loop restarts without page reload. Never start audible playback automatically; if Web Audio is unavailable, retain visual playback and show 'Sound is not available in this browser.'
4. **Selected shell inspector** — Heading: 'Shell settings'. With an event selected, show its shell type and colored preview, then five compact type buttons, the same six named color swatches, Track select with options Track 1 / Track 2 / Track 3, Time in seconds from 0 to [SHOW_DURATION] in 0.1 steps, Burst size from 0.7 to 1.4 in 0.1 steps, and Horizontal position from 8% to 92% and Vertical position from 16% to 62% as paired range-and-number controls. Bottom actions are Duplicate with a Copy icon and Delete with a Trash2 icon. With no selection, show 'Select a shell on the timeline to edit it.' plus the current next-event shell and color rather than an empty panel.
Layout: A 280px Panel column at the right of the stage with a left Line border and 16px padding. Use 12px field groups, 11px uppercase mono labels, 36px inputs, and bottom actions in two equal columns. Below 1100px, hide the permanent right column and open the same inspector as a modal bottom sheet when an event is selected or an 'Edit shell' button is pressed; the sheet has a visible close button, max-height 72svh, internal scrolling, focus trapping, and a dimmed backdrop. On mobile it must not cover the stage until the user explicitly opens it.
Motion: Inspector edits update the selected timeline event and its next rendered preview immediately. Numeric fields commit on change and clamp to their ranges; Delete removes without a confirmation but offers a five-second Undo toast, while Duplicate inserts a copy 0.5 seconds later on the same track, clamped to the show duration.
5. **Three-track show timeline** — Header row: 'Show timeline', a live event count ('10 shells' for the default), 'Snap 0.1s', and helper text 'Drag to retime · Arrow keys to nudge'. Use three fixed lanes labeled Track 1, Track 2, and Track 3. Store starter-event times as fractions of [SHOW_DURATION]; for the 24-second default, render Track 1: 1.0s Comet Solar at 50% × 42%, 6.0s Peony Coral at 28% × 36%, 14.0s Ring Lagoon at 70% × 32%, 20.0s Peony Solar at 50% × 28%; Track 2: 3.0s Peony Violet at 72% × 38%, 10.0s Willow Solar at 42% × 30%, 17.0s Crackle Mint at 62% × 36%, 21.5s Peony Coral at 34% × 30%; Track 3: 8.0s Ring Lagoon at 55% × 40%, 21.0s Willow Solar at 78% × 26%. Every block displays its time, shell name, and color, with a Violet selected outline. Clicking the ruler seeks; clicking a block selects it and opens its inspector. Drag horizontally to retime and vertically to change tracks. Left/right arrows nudge 0.1s, Shift+arrow nudges 1s, up/down changes track, and Delete removes the focused event.
Layout: On desktop the timeline occupies the second row across the center and right columns. A 44px header sits above a 76px-wide fixed track-label gutter and a scrollable ruler/lane area. Ruler ticks appear every 0.5 seconds with numbered major ticks every 2 seconds for the default duration; choose an equally legible interval for other durations. Lane rows are equal height with subtle horizontal separators, and event blocks are 76px wide unless space requires a narrower minimum of 46px. The playhead is a 2px Violet line with a small triangular handle. On mobile the timeline follows the stage at 210px high; keep the ruler and three lanes internally scrollable together, use a 58px label gutter, and provide one-finger event dragging plus native horizontal scrolling on empty ruler space.
Motion: Clamp event times between zero and the duration and tracks between one and three, snapping to 0.1 seconds except while Alt is held. Seeking reconstructs the exact particle state from the seed rather than replaying accumulated wall-clock frames. During playback the ruler auto-scrolls only when the playhead exits its visible region; never steal scrolling while the user is dragging.
6. **Share dialog and feedback** — Share show opens a dialog titled 'Share this show' with the text 'This link contains the timeline, shell settings, and burst positions. No account or upload needed.' Include a readonly full-URL field and a primary Copy link button. The shared payload is version 1 and includes show title, city, duration, and all event settings; it does not require a server or include analytics. A successful copy changes the button to 'Link copied' with a check icon for two seconds. Invalid or oversized hash data loads the untouched starter show and displays 'That show link could not be read. The starter show is still here.' Use the same toast system for Undo, sound fallback, and clipboard fallback.
Layout: Center a 480px-max-width Raised dialog with 20px padding, a Line border, 6px radius, a close X button, and a dark translucent backdrop on desktop. On mobile use a bottom sheet with 16px padding and safe-area inset. Give it role=dialog, aria-modal=true, an accessible title, focus trapping, Escape close, and focus return to Share show. Toasts sit above the transport at bottom-center on desktop and above the safe-area inset on mobile without covering timeline controls.
Motion: Update the hash with history.replaceState, copy through the Clipboard API when available, and provide a selection-based local fallback. Dialogs fade with 4px vertical movement over 140ms; reduced-motion mode makes them immediate. Preserve the shared show when reloading and never clear a valid hash during ordinary playback.
## Assets
- icon: Use locally bundled lucide-react icons for Play, Pause, RotateCcw, Volume2, VolumeX, Repeat2, Share2, Plus, Copy, Trash2, X, Check, MousePointer2, and Undo2. Draw the original four-ray brand spark and shell-type miniatures as inline SVG/Canvas geometry. Do not import third-party logos or unique icon artwork.
- font: Self-host Sora weights 500, 600, and 700 through @fontsource/sora (OFL-1.1); import only the required woff2 subsets through the package and record package path, source URL, author, and license in ASSETS.md.
- font: Self-host Inter weights 400, 500, and 600 through @fontsource/inter (OFL-1.1); import only the required woff2 subsets through the package and record package path, source URL, author, and license in ASSETS.md.
- font: Self-host IBM Plex Mono weights 400 and 500 through @fontsource/ibm-plex-mono (OFL-1.1); import only the required woff2 subsets through the package and record package path, source URL, author, and license in ASSETS.md.
- image: No image files are used. Generate the skyline, water, particles, reflections, shell thumbnails, and brand spark in code. Create ASSETS.md noting that there are no external image, video, or recorded-audio assets, and list the font and icon package credits.
## Don'ts
- Do not add a backend, accounts, database, API routes, remote forms, analytics, third-party APIs, or a sharing service; all editing, audio, persistence in the URL, and preview behavior must work as static client-side files.
- Do not use CDN scripts, CDN styles, Google Fonts URLs, hotlinked assets, placeholder-image services, external audio, or remote fonts. Bundle dependencies locally, self-host Fontsource fonts, and use relative asset paths with Vite base './'.
- Do not use stock or generated photographs, recorded fireworks, music, video, third-party illustrations, or recognizable logos. All scene visuals must be original code-drawn geometry and all sound must be synthesized locally with Web Audio.
- Do not depict real city names, identifiable landmarks, commercial fireworks brands, packaging, slogans, real people's likenesses, anime or game characters, mascots, or signature illustrations. Keep [CITY_NAME] fictional.
- Do not copy reference or restricted-library source, add commercial fonts, or add a physics, animation, audio, or state library; use only the declared stack and hand-written Canvas 2D simulation and Web Audio synthesis.
- Do not hard-code copy, filenames, shell schedules, timecodes, or helper text that becomes wrong when variables change. Keep copy and starter content in src/content.ts and scale starter timing and labels to [SHOW_DURATION].
- Do not create marketing sections, metadata beyond a plain title and favicon, Open Graph tags, JSON-LD, sitemap code, or extra routes. The only page is index.html; #show= is show data, not a router.
- Do not autoplay audible sound or create AudioContext before a user gesture. Do not throw when audio, clipboard, or hash decoding is unavailable; retain the visual editor and provide the specified accessible fallback.
- Do not allow unbounded particles, device pixel ratio, event counts, or malformed hash values. Enforce the stated caps and validation, keep dist/ below 20 MB, emit no source maps, and do not copy src/ into dist/.
- Do not ship a desktop-only editor, icon-only unlabeled controls, color-only shell labels, keyboard traps, horizontal page overflow, or canvas-only positioning. Support 1440×900 and 390×844, 44px touch targets, keyboard event editing, visible focus, and reduced motion with zero console errors.
- Do not mention VibeFather in the rendered site except through the optional [CREDIT] link, and do not use VibeFather or any real brand as a variable default.
---
— Prompt by VibeFather · https://vibefather.ai/t/fireworks-show-maker · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 烟花秀制作器 完全按照以下描述构建此网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。 ## 简介 为 [BRAND] 构建一个原创的单页烟花编排工具,默认品牌为 Nightloom Studio。打开后的视图是一个精致的编辑器,围绕着一场实时 Canvas 2D 水岸演出,演出内容为 [SHOW_TITLE],位于虚构的 [CITY_NAME] 天际线之上。访客可以安排弹型、颜色、时机、轨道和爆炸位置,然后播放带有同步合成音效的序列,并通过 URL hash 分享。 - 受众:为 [AUDIENCE] 编写界面和任何辅助文案,默认受众为庆典设计师和创意编程者。它应当让首次访问的访客感到平易近人,同时保留紧凑时间轴编辑器的精确性。 - 目标:让访客无需说明或登录即可立即理解场景,编辑提供的起始演出,预览带声音且可复现的表演,并复制一个完全在客户端恢复同一演出的链接。 - 语气:夜间的、精确的、安静喜庆的:一个带有明亮色彩的专业工具界面,而不是卡通街机风格。使用简洁的美式英语、具体的控件标签,不设营销板块。 ## 技术栈 - 框架:Vite 5 + React 18 + TypeScript - 样式:原生 CSS(Vanilla CSS) - 库:React 18 和 React DOM(MIT)、Vite 5(MIT)、lucide-react(ISC)、@fontsource/sora(OFL-1.1)、@fontsource/inter(OFL-1.1)、@fontsource/ibm-plex-mono(OFL-1.1) - 构建:`npm run build` → 静态文件输出到 `dist/`。无后端、无服务端代码、无外部 API。 - 配置: - 将 Vite 配置为 base: './',启用压缩,禁用 source map;生产入口必须是 dist/index.html。 - 将所有界面文案、变量默认值、shell 定义、命名颜色和初始事件保留在 src/content.ts 中;当值变化时重写依赖变量的文案,绝不能留下默认品牌文本。 - 使用 React 管理编辑器状态和对话框,但将粒子数组和动画时序保留在 refs 中,以免组件树因每个粒子或每一帧而重新渲染。 - 使用两个堆叠的 Canvas 2D 图层:一个缓存的天际线/水面图层,仅在尺寸变化时重绘;一个动态的发射/粒子/倒影图层,由 requestAnimationFrame 驱动,采用固定的 1/60 秒模拟步长,最多五个追赶步。 - 所有随机变化都从基于事件 id 和粒子索引的稳定种子派生,以便播放、跳转和共享链接能重现相同的几何形状。 - 使用 Web Audio API 在运行时生成发射、低空爆炸和噼啪声;仅在明确的用户手势之后创建或恢复 AudioContext,并且不打包音频文件。 - 将带版本的演出数据序列化为 base64url 编码的 UTF-8 JSON,放在 #show= URL 哈希下;验证导入的数据,演出最多 60 个事件,绝不通过网络发送演出数据。 - 通过列出的 Fontsource 包自托管 Sora、Inter 和 IBM Plex Mono,并创建 ASSETS.md,包含字体和图标的包路径、源 URL、作者和许可证。 ## 变量 - [BRAND] — 工作室或项目名称(默认:"Nightloom Studio")。一个虚构名称,用于页眉、文档标题和小型品牌标记标签。 - [SHOW_TITLE] — 演出标题(默认:"Harbor Afterglow")。一个简短的原创庆典标题,显示在画布上方,并存储在共享演出中。 - [CITY_NAME] — 虚构天际线名称(默认:"Port Aurelia")。一个虚构的滨水地点,绝非真实城市或地标。 - [AUDIENCE] — 受众(默认:"celebration designers and creative coders")。用于调整辅助文案,同时保留相同的编辑工作流。 - [SHOW_DURATION] — 演出时长(秒)(默认:"24")。一个 12 到 60 之间的数字时长;当它变化时,按比例缩放起始事件时间。 - [CREDIT] — 在页脚保留一个小型 "Template by VibeFather" 链接指向 https://vibefather.ai/t/fireworks-show-maker(默认:是;删除此行即可移除) 页面与区块下的文案是为默认值编写的。如果你的值不同,请为它们重写每个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。 将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块作为键,以便之后无需改动组件即可替换内容。 ## 设计 ### 颜色 - Midnight(午夜蓝)`#080B14` — 应用背景和最深的画布天空 - Panel(面板)`#101624` — 素材库、检查器、时间线和传输控件表面 - Raised(凸起)`#171F31` — 选中的控件、事件块和对话框表面 - Line(线条)`#293249` — 一像素分隔线、标尺刻度和输入框边框 - Ink(墨色)`#F4F6FC` — 主标签、标题和 Pearl 外壳 - Muted(弱化)`#99A5BC` — 次级标签和非活动图标 - Violet(紫罗兰)`#9D8CFF` — 主操作、选中轮廓、播放头和 Violet 外壳 - Solar(日光)`#FFCA6B` — Solar 外壳和温暖的建筑窗户 - Coral(珊瑚)`#FF6F91` — 仅用于 Coral 外壳和破坏性操作的悬停状态 - Lagoon(泻湖)`#64D9FF` — Lagoon 外壳和冷色水面倒影 - Mint(薄荷)`#75E6B2` — Mint 外壳和就绪状态指示器 ### 字体排印 - 品牌、节目标题、对话框标题和主要控件标签:Sora(OFL),字重 500/600/700 - 按钮、外壳描述、字段和通用界面文本:Inter(OFL),字重 400/500/600 - 时间码、标尺刻度、轨道标签、坐标和键盘提示:IBM Plex Mono(OFL),字重 400/500 ### 布局与动效 - 间距:使用 4px 基准单位。页头高度为 64px,水平内边距为 18px;面板内边距为 16px;控件间距为 8px;区块间距为 12px。外壳行高为 64px,输入框在桌面端为 36px、在触屏上至少为 44px,时间线在桌面端高度为 220px。 - 圆角:面板和对话框使用 6px,按钮、输入框、外壳行和时间线事件使用 4px,小色块使用 2px。完全圆形的形状仅保留给状态点、开关旋钮和画布位置标记;避免使用悬浮胶囊卡片。 - 动效:在 600ms 后启动一个静音的环境预览,使首屏无需音频即可成为一场生动的演出;任何编辑操作都会暂停它。主操作 Play with sound 会从零重新开始、启用音频并播放实际时间线。 - 动效:外壳沿略微弯曲的轨迹在 0.9–1.2 秒内发射,然后模拟爆裂粒子,重力为每秒平方 0.055 个画布高度,速度阻力为每 60Hz 步进 0.985,寿命根据外壳类型为 1.4–3.2 秒。 - 动效:将每个粒子之前的六个位置绘制为渐隐的锥形拖尾,并将实时爆裂以低透明度、垂直拉伸的条纹镜像到画布底部 22% 的水带中;不要使用预录动画。 - 动效:界面过渡保持在 120 到 160ms 之间,使用不透明度和最多 4px 的位移。播放头和被拖动的事件直接跟随输入,不使用缓动;提示消息在 160ms 内进入和退出。 - 动效:当设置了 prefers-reduced-motion 时,不要自动播放。在 22 秒处渲染一个有代表性的静态画面,移除界面过渡和环境闪烁,并且仅在显式播放后使用一半的粒子和更短的拖尾。 - 图像:不使用照片或生成的位图图像。完全使用 Canvas 2D、CSS 和内联 SVG 绘制原创的天际线、水面、外壳预览、位置标记和一个小型四射线品牌火花。天际线是一个虚构的建筑群,由形态各异的矩形塔楼、退台、屋顶天线、零散的暖色窗户和雾霭组成;不包含任何可识别的地标。仅将 Lucide 用于常见的界面图标。没有人物、吉祥物、外部插画或音频文件。 ## 页面与区块 ### [BRAND] — [SHOW_TITLE] (`index.html`) 1. **应用页头** — 左侧:一个原创的四射线火花 SVG 和 [BRAND],使用 Sora 600、16px,配一个小号 Mint 就绪圆点和 IBM Plex Mono 10px 的标签 LOCAL SHOW BUILDER。中间:[SHOW_TITLE],在首次编辑前显示一个弱化的 'Starter show' 徽章,之后显示 'Edited'。右侧:宽屏上显示键盘提示 'Space to play / pause',以及一个带 Share2 图标的 Violet Share show 按钮。将纯文档标题设为 [BRAND] — [SHOW_TITLE],并使用同一个火花作为 favicon。 布局:一个 64px 全宽栏,Midnight 底色,底部 Line 边框,三列网格,水平内边距 18px。品牌保持左对齐,Share show 位于最右侧。低于 700px 时,高度减至 56px,隐藏中间标题和键盘提示,保留品牌和一个带文字的 Share 按钮;不要折叠成仅图标的控件。 动效:Edited 徽章以 120ms 交叉淡入淡出。Share show 有 120ms 的背景和边框颜色悬停过渡,并带有可见的 2px Ink 聚焦环。 2. **外壳库与颜色停靠栏** — 标题:'Shell library',辅助文本为 'Pick a shell, then add it at the playhead.'。提供五个可选行:Peony — 'Even radial bloom · 84 sparks';Ring — 'Clean halo with an inner echo · 68 sparks';Willow — 'Long falling golden trails · 64 sparks';Comet — 'Five staggered mini-blooms · 45 sparks';Crackle — 'Flickering stars with tiny pops · 60 sparks'。每行有一个代码绘制的缩略图、名称和简短描述。下方,'Burst color' 包含六个带标签的色块:Solar #FFCA6B、Coral #FF6F91、Lagoon #64D9FF、Violet #9D8CFF、Mint #75E6B2、Pearl #F4F6FC。一个全宽的 'Add at playhead' 按钮使用 Plus 图标。页脚注释:'Select an event to move its burst on the canvas.'。在底部不显眼地包含可选的 [CREDIT] 链接。 布局:在桌面端,这个 220px 宽的 Panel 列位于最左侧,横跨整个工作区高度,带有右侧和底部 Line 边框、16px 内边距,外壳行垂直堆叠。选中的外壳行使用 Raised 填充和 2px Violet 左侧标线。色块形成 3×2 网格,工具提示中显示可见的颜色名称,并提供无障碍标签。在移动端,将此区块放在时间线之后,作为 176px 高的水平外壳轨道;将颜色停靠栏和 Add 按钮保留在第二行,隐藏描述,并允许内部水平滚动而不导致页面溢出。 动效:选择外壳或颜色会立即更新缩略图和未来事件的默认值。点击 Add at playhead 会在当前时间、Track 1、大小 1.0、爆发位置 50% × 34% 处创建并选中一个事件,然后让新的时间线块脉冲一次,持续 160ms。 3. **天际线舞台与传输控件** — 在舞台左上角叠加 [SHOW_TITLE],使用 Sora 600、24px,以及 '[CITY_NAME] · [SHOW_DURATION] SECONDS',使用 IBM Plex Mono 11px。右上角状态显示 'MUTED PREVIEW'、'PLAYING'、'PAUSED' 或 'READY'。用深色 #050713 到 #111A33 的天空、微弱星光、两层大气薄雾、约 72% 高度处的原创深色天际线以及下方的水带填充场景。每个外壳从城市下边缘发射到其归一化的爆发坐标。Peony 将粒子均匀分布在一个类球形的 2D 绽放周围;Ring 使用清晰的外晕加上一个较小的延迟环;Willow 使用较慢的金色粒子,带有强烈的向下拖尾;Comet 以 90ms 的偏移产生五个小绽放;Crackle 让粒子在生命结束时闪烁白光,并同步产生微小的爆裂声。点击画布会移动选中事件的爆发位置,更新其 x/y 字段,并显示一个精细的十字准星标记。传输控件包括带声音播放、暂停、重新开始、声音开/关、循环,以及一个由真实时长得出的实时 '00:00.0 / 00:24.0' 时间码。只要焦点不在输入字段中,空格键就切换播放。 布局:在桌面端,舞台占据第一个工作区行的中间列,是主导视觉元素,周围没有卡片间隙。画布填满所有可用空间;标题和状态位于安全的半透明渐变区域中,而不是单独的卡片。一个 64px 的传输栏沿其底部放置,背景为 rgba(8,11,20,0.88),带有顶部 Line 边框。在 1440×900 下,页头下方的整体工作区高度为 836px,使用 220px / minmax(0,1fr) / 280px 的列网格和 minmax(360px,1fr) / 220px 的行网格;库横跨两行,时间线横跨中间和右侧列,舞台保持至少 360px 高。在移动端,将舞台放在最前面,画布 330px,传输栏 64px;使用 20px 的节目标题,必要时使用两行控件布局,并保持每个传输按钮至少 44px 高。 动效:桌面端设备像素比上限为 1.75,移动端为 1.5,桌面端最多 1400 个活动粒子,移动端最多 650 个。如果平均帧率低于 45fps,则减少每个外壳的粒子数,同时保留事件时序。暂停会冻结模拟时间,重新开始会清除粒子并跳转到零,循环会重新开始而不重新加载页面。绝不自动开始有声播放;如果 Web Audio 不可用,保留视觉播放并显示 'Sound is not available in this browser.'。 4. **选中外壳检查器** — 标题:'Shell settings'。选中事件时,显示其外壳类型和彩色预览,然后是五个紧凑的类型按钮、同样的六个命名色块、Track 选择(选项为 Track 1 / Track 2 / Track 3)、时间(秒,从 0 到 [SHOW_DURATION],步长 0.1)、爆发大小(从 0.7 到 1.4,步长 0.1),以及水平位置(从 8% 到 92%)和垂直位置(从 16% 到 62%),作为成对的滑块和数字控件。底部操作是 Duplicate(带 Copy 图标)和 Delete(带 Trash2 图标)。没有选中时,显示 'Select a shell on the timeline to edit it.',并显示当前下一个事件的外壳和颜色,而不是空面板。 布局:一个 280px 的 Panel 列位于舞台右侧,带有左侧 Line 边框和 16px 内边距。使用 12px 字段组、11px 大写等宽标签、36px 输入框,底部操作分为两个等宽列。低于 1100px 时,隐藏常驻右列,并在选中事件或按下 'Edit shell' 按钮时,以模态底部抽屉的形式打开同一个检查器;该抽屉有一个可见的关闭按钮、最大高度 72svh、内部滚动、焦点陷阱和变暗的背景。在移动端,除非用户明确打开它,否则不得覆盖舞台。 动效:检查器编辑会立即更新选中的时间线事件及其下一次渲染的预览。数字字段在更改时提交并限制在其范围内;Delete 会直接删除而不确认,但提供五秒的 Undo 提示,而 Duplicate 会在同一轨道上 0.5 秒后插入一个副本,并限制在节目时长内。 5. **三轨节目时间线** — 标题行:'Show timeline'、实时事件计数(默认显示 '10 shells')、'Snap 0.1s',以及辅助文本 'Drag to retime · Arrow keys to nudge'。使用三个固定轨道,标记为 Track 1、Track 2 和 Track 3。将起始事件时间存储为 [SHOW_DURATION] 的分数;对于 24 秒的默认值,渲染 Track 1:1.0s Comet Solar 在 50% × 42%,6.0s Peony Coral 在 28% × 36%,14.0s Ring Lagoon 在 70% × 32%,20.0s Peony Solar 在 50% × 28%;Track 2:3.0s Peony Violet 在 72% × 38%,10.0s Willow Solar 在 42% × 30%,17.0s Crackle Mint 在 62% × 36%,21.5s Peony Coral 在 34% × 30%;Track 3:8.0s Ring Lagoon 在 55% × 40%,21.0s Willow Solar 在 78% × 26%。每个块显示其时间、外壳名称和颜色,并带有 Violet 选中轮廓。点击标尺会跳转;点击块会选中它并打开其检查器。水平拖动可重新定时,垂直拖动可更改轨道。左/右箭头微调 0.1s,Shift+箭头微调 1s,上/下更改轨道,Delete 删除聚焦的事件。 布局:在桌面端,时间线占据第二行,横跨中间和右侧列。一个 44px 的标题位于 76px 宽的固定轨道标签栏和可滚动的标尺/轨道区域上方。对于默认时长,标尺刻度每 0.5 秒出现一次,每 2 秒有编号的主刻度;对于其他时长,选择同样清晰易读的间隔。轨道行等高,带有微妙的水平分隔线,事件块宽 76px,除非空间需要更窄的最小值 46px。播放头是一条 2px 的 Violet 线,带有一个小三角形手柄。在移动端,时间线跟随舞台,高度 210px;保持标尺和三个轨道可一起内部滚动,使用 58px 的标签栏,并提供单指事件拖动以及空白标尺区域上的原生水平滚动。 动效:将事件时间限制在零到时长之间,轨道限制在一到三之间,吸附到 0.1 秒,除非按住 Alt。跳转时从种子重建精确的粒子状态,而不是重放累积的挂钟帧。播放期间,仅当播放头离开其可见区域时,标尺才自动滚动;当用户拖动时,绝不抢占滚动。 6. **分享对话框与反馈** — 点击 Share show 会打开一个标题为 'Share this show' 的对话框,正文为 'This link contains the timeline, shell settings, and burst positions. No account or upload needed.'。包含一个只读的完整 URL 字段和一个主按钮 Copy link。共享载荷版本为 1,包含演出标题、城市、时长以及所有事件设置;它不需要服务器,也不包含分析统计。复制成功后,按钮会在两秒内变为 'Link copied' 并显示一个对勾图标。无效或过大的哈希数据会加载未改动的初始演出,并显示 'That show link could not be read. The starter show is still here.'。Undo、声音回退和剪贴板回退使用同一套 toast 系统。 布局:在桌面端,将一个最大宽度 480px 的 Raised 对话框居中,内边距 20px,Line 边框,6px 圆角,带一个关闭 X 按钮,背景为深色半透明遮罩。在移动端使用底部抽屉,内边距 16px,并适配安全区域内边距。为其设置 role=dialog、aria-modal=true、可访问标题、焦点锁定、Escape 关闭,并将焦点返回至 Share show。Toast 在桌面端位于底部居中、传输控件上方,在移动端位于安全区域内边距上方,且不遮挡时间线控件。 动效:使用 history.replaceState 更新哈希,在可用时通过 Clipboard API 复制,并提供基于选区的本地回退方案。对话框以 140ms 的时长淡入淡出并伴随 4px 垂直位移;减少动效模式下则立即显示。重新加载时保留共享的演出,并且在普通播放过程中绝不清除有效的哈希。 ## 资源 - 图标:使用本地打包的 lucide-react 图标,包括 Play、Pause、RotateCcw、Volume2、VolumeX、Repeat2、Share2、Plus、Copy、Trash2、X、Check、MousePointer2 和 Undo2。以 inline SVG/Canvas 几何图形绘制原始的四射线品牌火花和贝壳型微缩图。不要导入第三方 logo 或独特的图标作品。 - 字体:通过 @fontsource/sora(OFL-1.1)自托管 Sora 字重 500、600 和 700;仅通过该包导入所需的 woff2 子集,并在 ASSETS.md 中记录包路径、源 URL、作者和许可证。 - 字体:通过 @fontsource/inter(OFL-1.1)自托管 Inter 字重 400、500 和 600;仅通过该包导入所需的 woff2 子集,并在 ASSETS.md 中记录包路径、源 URL、作者和许可证。 - 字体:通过 @fontsource/ibm-plex-mono(OFL-1.1)自托管 IBM Plex Mono 字重 400 和 500;仅通过该包导入所需的 woff2 子集,并在 ASSETS.md 中记录包路径、源 URL、作者和许可证。 - 图像:不使用任何图像文件。天际线、水面、粒子、倒影、贝壳缩略图和品牌火花均以代码生成。创建 ASSETS.md,注明没有外部图像、视频或录制音频资源,并列出字体和图标包的致谢信息。 ## 不要做 - 不要添加后端、账户、数据库、API 路由、远程表单、分析、第三方 API 或分享服务;所有编辑、音频、URL 中的持久化以及预览行为都必须以静态客户端文件的方式工作。 - 不要使用 CDN 脚本、CDN 样式、Google Fonts URL、热链接资源、占位图服务、外部音频或远程字体。将依赖项本地打包,自托管 Fontsource 字体,并使用相对资源路径配合 Vite base './'。 - 不要使用图库照片或生成照片、录制的烟花、音乐、视频、第三方插画或可识别的标志。所有场景视觉必须是原创的代码绘制几何图形,所有声音必须在本地用 Web Audio 合成。 - 不要描绘真实城市名称、可识别的地标、商业烟花品牌、包装、标语、真实人物肖像、动漫或游戏角色、吉祥物或标志性插画。保持 [CITY_NAME] 为虚构。 - 不要复制参考或受限库的源代码,不要添加商业字体,也不要添加物理、动画、音频或状态库;仅使用声明的技术栈和手写的 Canvas 2D 模拟与 Web Audio 合成。 - 不要硬编码在变量变化时会出错的文案、文件名、shell 时间表、时间码或辅助文本。将文案和起始内容保留在 src/content.ts 中,并根据 [SHOW_DURATION] 缩放起始时间和标签。 - 不要创建营销区块、超出简单标题和 favicon 的元数据、Open Graph 标签、JSON-LD、站点地图代码或额外路由。唯一的页面是 index.html;#show= 是演出数据,不是路由器。 - 不要在用户手势之前自动播放可听声音或创建 AudioContext。当音频、剪贴板或哈希解码不可用时不要抛出异常;保留可视化编辑器并提供指定的无障碍回退方案。 - 不要允许无限制的粒子、设备像素比、事件计数或格式错误的哈希值。执行规定的上限和验证,保持 dist/ 低于 20 MB,不生成 source map,不要将 src/ 复制到 dist/。 - 不要发布仅限桌面的编辑器、仅图标无标签的控件、仅靠颜色的外壳标签、键盘陷阱、水平页面溢出或仅画布定位。支持 1440×900 和 390×844、44px 触摸目标、键盘事件编辑、可见焦点和减少动态效果,且控制台零错误。 - 除通过可选的 [CREDIT] 链接外,不要在渲染的站点中提及 VibeFather,也不要使用 VibeFather 或任何真实品牌作为变量默认值。 --- — Prompt by VibeFather · https://vibefather.ai/t/fireworks-show-maker · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
个人项目可免费使用(CC BY-NC 4.0)。 商业用途需要 Pro.
DESIGN.md
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "Fireworks Show Maker"
colors:
midnight: "#080B14"
panel: "#101624"
raised: "#171F31"
line: "#293249"
ink: "#F4F6FC"
muted: "#99A5BC"
violet: "#9D8CFF"
solar: "#FFCA6B"
coral: "#FF6F91"
lagoon: "#64D9FF"
mint: "#75E6B2"
typography:
brand_show_title_dialog_title_and_major_control_labels: { family: "Sora", weights: [500, 600, 700] }
buttons_shell_descriptions_fields_and_general_interface_text: { family: "Inter", weights: [400, 500, 600] }
timecodes_ruler_ticks_track_labels_coordinates_and_keyboard_hints: { family: "IBM Plex Mono", weights: [400, 500] }
spacing: "Use a 4px base unit. Header height is 64px with 18px horizontal padding; panel padding is 16px; control gaps are 8px; section gaps are 12px. Shell rows are 64px high, inputs 36px on desktop and at least 44px on touch screens, and the timeline is 220px high on desktop."
radius: "Use 6px for panels and dialogs, 4px for buttons, inputs, shell rows, and timeline events, and 2px for small swatches. Reserve fully round shapes for status dots, toggle knobs, and the canvas position marker; avoid floating pill cards."
---
# Fireworks Show Maker — 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
- **Midnight** `#080B14` — Application background and the deepest canvas sky
- **Panel** `#101624` — Library, inspector, timeline, and transport surfaces
- **Raised** `#171F31` — Selected controls, event blocks, and dialog surface
- **Line** `#293249` — One-pixel separators, ruler marks, and input borders
- **Ink** `#F4F6FC` — Primary labels, headings, and Pearl shells
- **Muted** `#99A5BC` — Secondary labels and inactive icons
- **Violet** `#9D8CFF` — Primary action, selection outline, playhead, and Violet shells
- **Solar** `#FFCA6B` — Solar shells and warm building windows
- **Coral** `#FF6F91` — Coral shells and destructive-action hover only
- **Lagoon** `#64D9FF` — Lagoon shells and cool water reflections
- **Mint** `#75E6B2` — Mint shells and ready-state indicator
## Typography
- **Brand, show title, dialog title, and major control labels** — Sora (OFL), weights 500/600/700. Self-host the font files.
- **Buttons, shell descriptions, fields, and general interface text** — Inter (OFL), weights 400/500/600. Self-host the font files.
- **Timecodes, ruler ticks, track labels, coordinates, and keyboard hints** — IBM Plex Mono (OFL), weights 400/500. Self-host the font files.
## Spacing & shape
- Spacing: Use a 4px base unit. Header height is 64px with 18px horizontal padding; panel padding is 16px; control gaps are 8px; section gaps are 12px. Shell rows are 64px high, inputs 36px on desktop and at least 44px on touch screens, and the timeline is 220px high on desktop.
- Radius: Use 6px for panels and dialogs, 4px for buttons, inputs, shell rows, and timeline events, and 2px for small swatches. Reserve fully round shapes for status dots, toggle knobs, and the canvas position marker; avoid floating pill cards.
## Motion
- Start a muted ambient preview after 600ms so the first screen becomes a living show without audio; any edit pauses it. The primary Play with sound action restarts at zero, enables audio, and plays the actual timeline.
- Launch shells along a slightly curved 0.9–1.2 second trajectory, then simulate burst particles with gravity of 0.055 canvas-heights per second squared, velocity drag of 0.985 per 60Hz step, and 1.4–3.2 second lifetimes according to shell type.
- Draw each particle's previous six positions as a fading tapered trail and mirror live bursts into the bottom 22% water band with low-alpha, vertically stretched streaks; do not use a prerecorded animation.
- Keep interface transitions between 120 and 160ms with opacity and at most 4px translation. The playhead and dragged events follow input directly without easing; toasts enter and exit over 160ms.
- When prefers-reduced-motion is set, do not autoplay. Render a representative static tableau at 22 seconds, remove interface transitions and ambient twinkling, and use half the particles with shorter trails only after explicit playback.
## Imagery
Use no photographs or generated bitmap images. Draw the original skyline, water, shell previews, position marker, and a small four-ray brand spark entirely with Canvas 2D, CSS, and inline SVG. The skyline is an invented cluster of varied rectangular towers, setbacks, rooftop antennas, scattered warm windows, and haze; include no identifiable landmark. Use Lucide only for familiar interface icons. There are no people, mascots, external illustrations, or audio files.
## Tone
Nocturnal, precise, and quietly festive: a pro-tool interface with luminous color rather than a cartoon arcade. Use concise US English, concrete control labels, and no marketing sections.
---
— Prompt by VibeFather · https://vibefather.ai/t/fireworks-show-maker · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 婚礼策划师:把 BRAND 设为工作室名,SHOW_TITLE 设为新人的名字,CITY_NAME 设为场地虚构的港口,然后调整起始烟花秀的时间以配合婚宴压轴。
- 课堂教师:把 AUDIENCE 写成学生,缩短 SHOW_DURATION 以适应一节课,并用烟花弹库演示时机、颜色和爆炸位置。
- 节日组织者:用你虚构的节日场地命名天际线,调高 SHOW_DURATION 以延长压轴,并分享 URL hash 链接作为公开预览。
- 创意编程工作坊:保留默认工作室名称,把 AUDIENCE 指向首次写代码的人,让参与者在三条时间轴轨道上复制和重排事件。
烟花秀制作器:常见问题
如何修改烟花秀制作器里的城市天际线和烟花秀标题?
烟花秀制作器模板把所有内容放在一个可编辑文件里,因此你把 CITY_NAME 设为你虚构的滨水地点,把 SHOW_TITLE 设为庆典名称,然后改写页头、文档标题和辅助文案来对应。天际线本身是用代码绘制的原创塔楼、天线和暖色窗户群,所以你要在那里调整场景,而不是换一张照片。
烟花秀制作器可以免费使用吗?Pro 增加了什么?
烟花秀制作器是一个免费模板,其提示词和 DESIGN.md 在 CC BY-NC 4.0 下可免费用于个人非商业用途。商业或客户项目需要 Pro,Pro 会员还能获得完整提示词和演示源码。无论哪种情况,在线页面都会公开展示简介、技术栈和变量。
怎么用 AI 做一个烟花秀制作器?
复制本页的提示词,或者运行 npx vibefather add fireworks-show-maker,把 [BRAND]、[AUDIENCE]、[CITY_NAME]、[SHOW_TITLE] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。