block by herrstucki 60ac4b1adc3cc1ecb1a8a36ff69ae165

Draggable Blob

Full Screen

Drag the blob to deform it. Press the shift key to show the underlying force simulation’s nodes and links.

Uses d3-shape‘s line() and curveBasisClosed() functions to draw a blob from a graph.

Inspired by Mike Bostock’s Force Dragging III example.

index.html