Skip to main content
100%

Squaring the circle, part 1

✓ Published0🌍 Public
FFrissAnalytics
Last edited Oct 1, 2018
Created on Dec 8, 2016

This example shows a geometric experiment that builds regular grids by arranging points along the outlines of concentric polygons, with the number of sides and spacing adjustable via a dat.GUI control panel. It starts with a central dot and adds successive layers of rings, each ring containing points distributed evenly along the polygon’s perimeter. The visualization uses D3.js version 4.3 to render SVG circles and paths, with configurable parameters for polygon sides, radius, point size, and opacity. The code dynamically recalculates point positions on any parameter change, demonstrating how circular paths can be approximated and transformed into structured grid-like formations.

AI-generated description

Experiment in creating regular grids from circular paths, step 1: General concept and reference grids.

forked from <a href='http://bl.ocks.org/mootari/'>mootari</a>'s block: <a href='http://bl.ocks.org/mootari/56039eed3e606fc97562034ad5f71637'>Squaring the circle, part 1</a>

mit Licensed

Similar vizzes