Skip to content

koji014/interactive-droplets

Repository files navigation

Interactive, Droplet-like Metaballs with Three.js and GLSL

Demo for the tutorial on how to create interactive, droplet-like metaballs using Three.js and GLSL.

Interactive, droplet-like metaballs

Article on Codrops

Demo

Installation

  1. Clone this repository:

    git clone https://github.com/koji014/interactive-droplets.git your-project-name
    cd your-project-name
  2. Install the dependencies:

    npm install
  3. Start the development server:

    npm run dev
  4. Create the build:

    npm run build

Credits

Signed Distance Functions

Metaball Effect

Value Noise

Misc

Follow Yuki Kojima: Twitter, GitHub

Follow Codrops: Bluesky, Facebook, GitHub, Instagram, X

License

This resource can be used freely if integrated or build upon in personal or commercial projects such as websites, web apps and web templates intended for sale. It is not allowed to take the resource "as-is" and sell it, redistribute, re-publish it, or sell "pluginized" versions of it. Free plugins built using this resource should have a visible mention and link to the original work. Always consider the licenses of all included libraries, scripts and images used.

About

Interactive metaball effect with ray marching, simulating realistic water droplets that respond smoothly to mouse input.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages