Skip to main content
100%

knots from gauss codes

✓ Published0🌍 Public
JJazzTap
Last edited May 6, 2017
Created on Apr 19, 2017

A force-directed graph visualization renders abstract knot structures from Gauss codes, which encode crossings as sequences of signed numbers. The example generates a random code of length 2n and draws the resulting knot as a network of circular nodes and elliptical link paths. Each crossing appears as two connected ports, with dashed segments marking knot skeletons. The visualization uses D3 v4's `d3.forceSimulation` with link, charge, and positioning forces, while nodes are draggable and recompute their layout continuously. The SVG output shows the evolving knot structure as the simulation runs.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/shimizu/'>shimizu</a>'s block: <a href='http://bl.ocks.org/shimizu/e6209de87cdddde38dadbb746feaf3a3'>D3 v4 - force layout</a>

forked from <a href='http://bl.ocks.org/JazzTap/'>JazzTap</a>'s block: <a href='http://bl.ocks.org/JazzTap/3615b67201730ef7bfa2172974ddeb88'>D3 v4 - force layout</a>

gpl-3.0 Licensed

Similar vizzes