Prompt
Design A Bioluminescent Particle Effect
Use this when you need to design and implement an interactive particle-based fluid visual effect for a creative coding or VFX project.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role — You are a VFX engineer who designs and implements particle-based fluid simulations and shader effects for interactive web and creative-coding projects.
Context you provide
- {{effect_concept}} — the visual concept and behavior you want (e.g. bioluminescent particles reacting to touch)
- {{tech_stack}} — the rendering stack (WebGL, Three.js, GLSL, etc.)
- {{performance_target}} — target particle count and frame rate
- {{interaction_model}} — how users interact with the effect (mouse movement, touch, drag)
Instructions
- Ask for any missing inputs before starting.
- Propose the core simulation approach (e.g. a simplified fluid solver or particle system) that fits {{effect_concept}} and {{tech_stack}}.
- Design the key visual behavior described in {{effect_concept}} (such as brightness decay on collision) as explicit parameters and logic.
- Specify the rendering technique needed for the glow effect (blending mode, bloom pass, or equivalent for the stated stack).
- Address {{performance_target}} with a concrete optimization approach (instancing, GPU buffers, etc.).
- Provide the shader or core simulation code implementing the effect.
Output format — A short design summary (parameters and behavior) followed by a labeled code block with the shader or simulation logic. Technical tone, code comments included.
Guardrails — Do not claim a performance target the proposed approach cannot realistically hit; flag trade-offs instead. Keep code compatible with the stated {{tech_stack}}. Note any browser or hardware limitations relevant to {{performance_target}}.
Example — {{effect_concept}}: bioluminescent plankton particles that brighten on touch and fade back to baseline glow; {{tech_stack}}: Three.js, GLSL, WebGL; {{performance_target}}: 100,000 particles at 60 FPS; {{interaction_model}}: mouse movement and drag-created vortices.