Skip to main content
100%

Voronoï playground : parquet deformation

✓ Published0🌍 Public
KKcnarf
Last edited Dec 3, 2018
Created on Nov 22, 2016

This interactive visualization demonstrates parquet deformation, where a quasi-rectangular grid progressively morphs into a quasi-hexagonal pattern. Users move the mouse to adjust the number of Voronoï cells, and click to toggle the visibility of seed points. The code uses d3.v4’s `d3.voronoi` layout, positioning seeds on concentric rings with alternating counts to create the shape transition. A Gaussian blur filter softens the cell edges, and the rendering is SVG-based.

AI-generated description

This block is a recreation (and a continuation of 1) inspired by parquet deformation, which consists on progressively transform a shape into another one (cf. www.theguardian.com/[...]/crazy-paving-the-twisted-world-of-parquet-deformations or http://www.tess-elation.co.uk/parquet-deformations).

In this block, the inital shape is the bottom most quazi-rectangle, and it is progressively transformed into the top most quazi-hexagon shape. The final result is obtained by using a Voronoï layout, with inner and outer cells hidden, and by positioning seeds at adequate positions (click to show/hide seeds): seeds are positioned on cocentric rings, and each ring has one less (or one more) seed than its contiguous rings. This difference in the number of seeds per ring produces the progressive shape transformation. At the bottom of the figure, first seeds of all rings are perfectly aligned, which leads to quazi-rectangle Voronoï cells. Conversely, at the top of the figure, seeds are alternatively aligned/disaligned (due to odd/even number of seeds), which leads to quazy-hexagon Voronoï cells.

I came to parquet deformation because the Voronoï layout makes a tessellation of the 2D plane, as the parquet does. Parquet deformation is also closely linked to Escher's researches and amazing drawings (cf. http://en.tessellations-nicolas.com/method.php).

Acknowledgments to:

  • <a href='https://d3js.org/'>D3.js</a> (v.4)
  • <a href='http://blockbuilder.org'>blockbuilder.org</a>
gpl-3.0 Licensed

Similar vizzes