Brownian Motion
A heavy grain buffeted by solvent molecules, with its random-walk trail and a live mean-squared-displacement fit for the diffusion coefficient.
- 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-brownian-motion.bexode goes in /public (download it below)
export function SciBrownianMotion() {
return (
<ExodeUICanvas
src="/sci-brownian-motion.bexode"
fit="Layout" // responsive: redraws at any container size
autoPlay
interactive
style={{ width: '100%', height: 560 }}
/>
);
}Inputs
| Input | Type | Default | Range |
|---|---|---|---|
title | Text | Brownian Motion | — |
temp | Number | 200 | 40 – 600 |
count | Number | 380 | 100 – 520 |
massBig | Number | 25 | 5 – 100 |
showSolvent | Boolean | true | — |
speed | Number | 1 | 0.1 – 3 |
accent | Text | #5ee0ff | hex colour |
accent2 | Text | #ffc65a | hex colour |
bg | Text | #06080b | hex colour |
text | Text | #e6edf3 | hex colour |