Diffusion & Mixing
Two gases separated by a removable barrier. Set the mass and size of gas B, lift the wall and watch mixing entropy rise toward its maximum.
- 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-diffusion.bexode goes in /public (download it below)
export function SciDiffusion() {
return (
<ExodeUICanvas
src="/sci-diffusion.bexode"
fit="Layout" // responsive: redraws at any container size
autoPlay
interactive
style={{ width: '100%', height: 560 }}
/>
);
}Inputs
| Input | Type | Default | Range |
|---|---|---|---|
title | Text | Diffusion & Mixing | — |
temp | Number | 200 | 40 – 600 |
massB | Number | 4 | 1 – 16 |
sizeB | Number | 1 | 0.6 – 2 |
count | Number | 300 | 100 – 500 |
speed | Number | 1 | 0.1 – 3 |
accent | Text | #5ee0ff | hex colour |
accent2 | Text | #ff7a59 | hex colour |
bg | Text | #06080b | hex colour |
text | Text | #e6edf3 | hex colour |