This is an implementation of
Brownian motion
with
Diffusion-limited Aggregation (DLA)
We have a lot of colloidal particles moving in brownian motion. In the very
center of the canvas we have an ionized clump which is going to
coagulate the moving particles when they come in contact and thus eventually
form a larger ionized aggregate.
This implementation has been written entirely in C 😎. With the power of
Webassembly it has been possible to render it in an html canvas.
Source code can be found
here
Press SPACE or click on the canvas
to toggle the render of moving particles.
Wait patiently and enjoy! Thank you.