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.

Claude Code + Three.js (코드만)Wandy 2
실제 모델 · 360°둘 다 같은 사진으로 만들었어요. 왼쪽은 Claude Code(Opus 5.5)가 Three.js 코드로 모델링한 편집 없는 1회 실행 결과, 오른쪽은 Wandy 2로 만든 결과예요.

디테일한 3D 모델 만들기

코드만으로는 단순한 도형밖에 만들 수 없어요. Wandy 2는 사진 한 장을 같은 장면에 바로 쓸 수 있는 텍스처 3D 모델로 바꿔 줘요.

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.

프롬프트 사용 방법

  1. Paste the prompt into Claude Opus 5.5 (chat or Claude Code) and save the returned HTML file.

  2. Change the palette, theme names, background colour or slider set to match your own look.

  3. Open it in a browser, drag the cursor, then ask for tweaks such as extra themes or sound.

Wandy3D 제공

장면에 진짜 3D 모델이 필요하신가요?

에이전트는 기본 도형으로 장면을 만들어요. Wandy3D API는 사진이나 프롬프트를 몇 분 만에 텍스처가 입혀진 GLB로 바꿔 줘요. 구독 없이 선불 잔액에서 결제돼요.

  • Wandy 2모델당 US$0.18
  • Wandy 1모델당 US$0.09

잔액은 만료되지 않아요 · 실패한 작업은 환불돼요 · API로 만든 모델은 회원님 소유이며 모든 형식으로 다운로드할 수 있어요.

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=glb

원본 게시물작성자이신가요? 이 페이지의 수정이나 삭제를 요청하세요