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
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
| Input | Type | Default | Range |
|---|---|---|---|
title | Text | Osmosis | — |
temp | Number | 200 | 40 – 600 |
soluteL | Number | 40 | 0 – 80 |
soluteR | Number | 0 | 0 – 80 |
stiff | Number | 2 | 0.5 – 8 |
speed | Number | 1 | 0.1 – 3 |
accent | Text | #5ee0ff | hex colour |
accent2 | Text | #ff6fa8 | hex colour |
bg | Text | #06080b | hex colour |
text | Text | #e6edf3 | hex colour |