inkling-medium
Arena WebDev Preferences (2026)
create threejs webgpu + tsl shader for liquid dye as "Dye hard" game 1 to 1 with reference
- User
create threejs webgpu + tsl shader for liquid dye as "Dye hard" game 1 to 1 with reference
- Assistant
Your "Dye Hard" liquid dye simulation is live! It features:
- Three.js TSL-style shader pipeline with custom GLSL fragment shader doing diffusion, advection, swirl noise, and color injection
- WebGPU / WebGL2 render target ping-pong with 512×512 half-float FBOs
- Interactive dye injection via mouse-driven trail textures
- RGB color palette inspired by the game (red, yellow, blue) with glowing overlays
- OrbitControls auto-rotation and full-screen immersive layout
The shader uses a custom
hash()noise function, Laplacian diffusion approximation, time-driven swirl velocity fields, and bright saturated dye colors to replicate the "Dye Hard" aesthetic.Files built:
index.html,src/App.tsx,src/index.css
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.