Brownian Motion Urquhart
This example shows 200 points moving under the influence of three forces: Brownian motion, collision avoidance, and elastic bouncing off a circular container. The resulting point distribution is visualized through an Urquhart graph, a simplification of the Delaunay triangulation that removes the longest edge of each triangle. The simulation uses D3’s `forceSimulation` module with custom force functions for `brownian`, `collide`, and `bounce-on-container` interactions. Rendering is done on a Canvas element, where the graph’s edges are drawn with thick light-gray strokes beneath thin black lines, and each node is a small yellow-filled circle. The mouse can also drag the first node, injecting new force into the system.
AI-generated descriptionA mixed bag of forces:
Brownian motion
Elastic Bounce on a container’s edge
Collide
Displayed as an Urquhart graph just because.
See this rectangular variant.
forked from <a href='http://bl.ocks.org/Fil/'>Fil</a>'s block: <a href='http://bl.ocks.org/Fil/56c02237d9951c4bb12ed41cf64d6e4c'>Urquhart Force Mesh</a>