Each nanobot wanders randomly (Brownian motion). When two drift within bonding range, they may latch together — but only if thermal agitation doesn't immediately shake them apart. Bonded groups then drift and grow together, gradually building larger structures.
P(bond) = bondStrength · exp(−temperature / 60)
cluster diffusion speed ∝ 1 / sqrt(clusterSize)
bonded fraction = (bots in clusters size > 1) / totalBots
- Thermal agitation — higher values add more random jitter and make new bonds less likely to stick, mimicking real thermal noise disrupting weak molecular bonds.
- Bond strength — the baseline chance two nearby nanobots latch together when they meet.
- Nanobot count — how many individual units are wandering in the assembly chamber.
- Re-scatter nanobots — breaks every bond and randomizes positions to restart assembly from scratch.
Real-world relevance: this bond-probability-vs-agitation trade-off is exactly the design challenge in DNA-origami self-assembly and nanobot swarm construction, where researchers tune temperature to get orderly structures instead of disordered clumps.