GPU neon fluid simulator in a single zero-dependency HTML file
Claude Opus 5.5 wrote a WebGL fluid sim where cursor drags paint glowing dye that curls into vortices, with a glass HUD to tune the physics.
Tạo mô hình 3D chi tiết
Chỉ dùng code thì chỉ được các hình khối đơn giản. Wandy 2 biến một tấm ảnh thành mô hình 3D có texture để bạn dùng ngay trong cùng cảnh đó.
Prompt cho Claude Opus 5.5
Write a complete, single-file HTML document containing a high-performance, GPU-accelerated interactive Eulerian Neon Fluid Simulation.
Strict Technical & Aesthetic Requirements:
1. Architecture & Performance:
- Single-file: All HTML, CSS, and JavaScript/GLSL shaders inline.
- Zero external dependencies: Pure WebGL 1.0 or 2.0 (no Three.js, no Pixi, no external libraries).
- GPU-Computed Fluid Dynamics: The simulation must run entirely via ping-pong Framebuffer Objects (FBOs) using custom fragment shaders for:
a) Advection (velocity & dye)
b) Divergence calculation
c) Pressure Poisson solver (Jacobi iteration, 20-30 iterations per frame)
d) Gradient subtraction / velocity projection
e) Vorticity confinement (adds turbulent swirls and prevents the fluid from turning into dull, blurry mush).
2. Visual Fidelity (The "Neon Smoke" Look):
- Pitch-black void background (`#050508`).
- Additive / High-Dynamic-Range blending for dye injection.
- Dynamic palette: Each cursor flick or touch drag injects high-luminosity neon dye that cycles smoothly through vivid cyber hues (electric cyan `#00F0FF`, hot magenta `#FF007F`, deep ultraviolet, and radiant gold).
- Display shader enhancements: Include a post-processing pass directly in the final render shader that applies subtle bloom/glow, tone mapping, and chromatic aberration around the swirling edges of the fluid.
3. Interaction:
- Mouse & Touch: Rapid cursor movement or dragging injects velocity proportional to mouse speed, along with dense glowing dye.
- Passive Ambient Motion: When idle, generate subtle procedural curl noise or gentle drifting vortices so the canvas is never completely static.
- Controls: A sleek, ultra-minimal glassmorphism HUD tucked into a corner (with auto-hide on inactivity):
* Viscosity slider
* Dye dissipation / persistence slider
* Splat radius slider
* "Clear Canvas" button
* Toggle button to cycle color themes (Cyberpunk, Thermal Inferno, Bioluminescent Deep).
4. Production Polish:
- Automatically handle high-DPI displays and `resize` events without stretching or clearing the FBO textures.
- Graceful fallback check for floating-point texture support (`OES_texture_float` / `OES_texture_half_float`).
- Clean, bug-free, fully implemented code with zero placeholders or truncated comments.
Return only the fully populated HTML file ready to run directly in Chrome/Safari/Firefox.Cách dùng prompt này
Paste the prompt into Claude Opus 5.5 (chat or Claude Code) and save the returned HTML file.
Change the palette, theme names, background colour or slider set to match your own look.
Open it in a browser, drag the cursor, then ask for tweaks such as extra themes or sound.
Từ Wandy3D
Cần một mô hình 3D thật trong cảnh của bạn?
Agent của bạn dựng cảnh bằng các khối cơ bản. API Wandy3D biến ảnh hoặc prompt thành tệp GLB có texture chỉ trong vài phút — trả từ số dư nạp trước, không cần đăng ký gói.
- Wandy 20,18 US$ mỗi mô hình
- Wandy 10,09 US$ mỗi mô hình
Số dư không bao giờ hết hạn · tác vụ lỗi được hoàn tiền · mô hình tạo qua API thuộc về bạn và tải xuống được ở mọi định dạng.
curl -s -X POST https://api.wandy3d.com/generate/cloud/ultra \ -H "Authorization: Bearer $WANDY3D_API_KEY" -F "file=@photo.jpg"# → {"task_id": "…"} — poll until "status" is "done":curl -s https://api.wandy3d.com/task/$TASK_ID/status \ -H "Authorization: Bearer $WANDY3D_API_KEY"# → {"model_id": "…"} — then GET /model/$MODEL_ID/export?format=glbBài đăng gốcBạn là tác giả? Yêu cầu chúng tôi sửa hoặc gỡ trang này
Prompt tương tự
Xem tất cả prompt
Kimi K3.1Interactive 3D helicopter with takeoff, assembly and exploded views
Lumina
Claude Opus 5.5Rubber band watermelon test: a squeezable, bursting 3D browser toy
林悦己Cheer
Claude Opus 5.5Interactive 3D volcano cutaway simulation with magma chamber
Konstantin Saifoulline
Claude Opus 5.5WebGPU jelly press toy: gummy fruit squashed and burst by a hydraulic press
Vib3Coded
Claude Opus 5.5Single-file WebGPU jelly press toy with soft-body fruit gummies
Vib3Coded
Claude Opus 5.5Scroll-driven exploding mechanical watch in raw WebGPU, single HTML file
Paruchh

