Skip to main content

Liquid Droplet

A Lennard-Jones liquid pooling under gravity. Tune temperature, attraction strength and gravity; grab molecules with tweezers and watch kinetic vs potential energy.

  • 16.2 KB .bexode
  • 10 live inputs
  • Responsive fit Layout
Live runtime

Use it

The code follows your customizations. Install with npm i exodeui.

import { ExodeUICanvas } from 'exodeui';

// sci-liquid-droplet.bexode goes in /public (download it below)
export function SciLiquidDroplet() {
  return (
    <ExodeUICanvas
      src="/sci-liquid-droplet.bexode"
      fit="Layout"   // responsive: redraws at any container size
      autoPlay
      interactive
      style={{ width: '100%', height: 560 }}
    />
  );
}

Inputs

InputTypeDefaultRange
titleTextLiquid Droplet—
tempNumber7020 – 300
attractNumber10.2 – 2
gravityNumber0.120 – 0.6
countNumber22060 – 400
speedNumber10.1 – 3
accentText#5ee0ffhex colour
accent2Text#ffb454hex colour
bgText#06080bhex colour
textText#e6edf3hex colour
ExodeUI

EXODEUI DESKTOP

A little space for good ideas.

Choose your platform to get the official ExodeUI installer.

Looking for Intel Mac or other builds? Explore the web studio or check all download options.

Prefer the browser? Try for free in your browser →