Skip to main content

Osmosis

A semipermeable membrane on a spring between two solutions. Change solute on each side and compare the measured osmotic pressure with van ’t Hoff.

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

Inputs

InputTypeDefaultRange
titleTextOsmosis—
tempNumber20040 – 600
soluteLNumber400 – 80
soluteRNumber00 – 80
stiffNumber20.5 – 8
speedNumber10.1 – 3
accentText#5ee0ffhex colour
accent2Text#ff6fa8hex colour
bgText#06080bhex colour
textText#e6edf3hex colour