Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#WebGL

Advanced AI Prompt for Metaball Fluid Dynamics Shaders

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-metaball-fluid-dynamics-shaders.txt
Act as a Fluid Dynamics Programmer. Develop an intense GLSL fragment shader dedicated to rendering exactly [BALL_COUNT] interactive metaballs (liquid blobs) that magnetically react to the user's mouse coordinates. Construct the underlying scalar field using the inverse-square law (`1.0 / distance`) summed simultaneously across all floating point coordinates. Force the field through a sharp, rigid [THRESHOLD] `step()` function to create solid, hard-edged cell membranes, or a `smoothstep()` for gooey, blending edges. Inject a localized [COLOR_GLOW] radial gradient into the absolute center of each mass, while programming their autonomous, bouncing trajectory using a [VELOCITY] vector. Aggressively optimize the nested `for` loop to guarantee a locked 60FPS on mobile GPUs by completely eliminating highly expensive `sqrt` distance operations in favor of squared distance checks.

Example Text Output

"The AI provides a math-heavy shader that visualizes merging and splitting liquid orbs in a high-contrast hero background."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Metaball Fluid Dynamics Shaders" prompt used for?

The AI provides a math-heavy shader that visualizes merging and splitting liquid orbs in a high-contrast hero background.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.