Toggle Sidebar B
AppearanceLight & dark mode D

Meta Balls

Liquid metaball blobs that merge and separate with smooth implicit surface animation.

Default

Every prop is wired to the controls underneath. Move the pointer over the stage and the cursor ball merges with the others.

Dark previewReplay previewOpen in new tab

Customize

Color
Ball Count15
Speed0.3
Size30
Clump Factor1
Cursor Smoothing0.15
Cursor Size2

API Reference

MetaBalls

PropTypeDefaultDescription
colorstring#ffffffThe base color of the metaballs.
speednumber0.3Speed multiplier for the animation.
enableMouseInteractionbooleantrueEnables or disables the ball following the mouse.
enableTransparencybooleanfalseEnables or disables transparency for the container of the animation.
hoverSmoothnessnumber0.05Smoothness factor for the cursor ball when following the mouse.
animationSizenumber30The size of the world for the animation.
ballCountnumber15Number of metaballs rendered.
clumpFactornumber1Determines how close together the balls are rendered.
cursorBallSizenumber3Size of the cursor-controlled ball.
cursorBallColorstring#ffffffColor of the cursor ball.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • Purely decorative canvas. Turn off Follow Cursor and lower the speed for users who prefer reduced motion.