Build a metaballs cursor effect for an olive oil producer called Ambra Grove, rendered in a WebGL fragment shader over a dark olive page (#10140b with a #232b12 glow). The cursor is a golden drop about 7% of the screen size that eases toward the pointer, and eleven smaller drops float slowly upward. For every pixel, sum radius squared over distance squared for all drops, treat 1 as the surface, and use the field and its gradient to get a signed distance for crisp antialiased edges and a dome height for the normal. Shade the oil from #3d4507 at the edges to #b8941f in the centre, with soft diffuse light from the top left, a bright caustic glow on the lower right, a sharp cream specular highlight (#fff6d0) and a light rim. Drops within about 3.6 radii of the cursor are pulled in and merge with it and are pushed away from the text box. A click or tap on the cursor drop splits off four droplets that fly out and drift back. After 2.5s idle the cursor drop follows a slow loop, so phones see it merge too. Copy on the left: a 76px serif headline "Pressed within four hours of picking", one line and a gold button "Order a 3 litre tin". Show CSS circles without WebGL and a still frame for reduced motion.
Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.
Use it in three steps
- Copy the prompt with the button above.
- Paste it into your AI site builder, or any AI chat that writes code.
- Make it yours by changing the oil colours and the drop count to suit your brand.
About these metaballs
Metaballs are blobs that melt into each other when they get close, and they suit a liquid product perfectly. Here every drop is new harvest olive oil. A larger drop follows your cursor, smaller ones rise slowly through the dark, and when they come near they stretch, join and pull apart again with the same soft neck real oil makes. Tap the big drop and it sheds four droplets that fly off and drift back.
The shading is what sells it. The shader works out not just where the surface is but how deep each point sits inside it, so every drop gets a rounded dome with a bright highlight at the top left and a glowing caustic on the far side, where light would pass through the oil. Edges are smoothed from the field itself, so they stay crisp at any size, and the drops are nudged away from the headline so the text never sits under oil.
Why the prompt works
- It states the field formula, the heart of any metaballs effect.
- It explains the dome normal, which avoids flat or dark centred blobs.
- It sets the merge distance and split in numbers.
- It keeps the copy clear and gives touch an idle loop.
Where to use it
Food, drink, skincare and cosmetics, or any product sold as a liquid.
The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.