Skip to content

Instantly share code, notes, and snippets.

@couchand
Created September 2, 2013 18:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save couchand/6415625 to your computer and use it in GitHub Desktop.
Save couchand/6415625 to your computer and use it in GitHub Desktop.
Input to generate n=1 polygons in D3 Voronoi algorithm (https://github.com/mbostock/d3/pull/1501)
[
[
420.06810991021854,
14.933231559011102
],
[
611.0325286339224,
92.41318378124232
],
[
559.0646295474066,
39.28735354812163
],
[
527.6588042043628,
41.8027633838646
],
[
471.9634767966879,
33.73748486782662
],
[
471.5254032598993,
193.45732319372584
],
[
542.3339977939472,
155.9580724257827
],
[
433.69929225829156,
108.89144791188352
],
[
552.2992889281162,
88.21167735210234
],
[
585.3141445825553,
133.2989032013343
],
[
507.06212133414004,
207.42106567522106
],
[
382.81378248782903,
51.433429272025336
],
[
515.8030639184133,
11.195864206517214
],
[
562.752538630514,
216.90200782311632
],
[
399.0373392157883,
147.02445723606002
],
[
587.1841717890674,
182.63305789814083
],
[
422.1591282840058,
172.2222644020911
],
[
434.5133116538967,
77.93158085982282
],
[
709.3614503719524,
480.75346561326705
],
[
433.8789861100138,
294.0799672235909
],
[
660.1742610573586,
481.2069276078918
],
[
624.5540443223788,
421.7724365577607
],
[
543.5749204042091,
403.29199077747626
],
[
491.4200306956582,
641.1733668186781
],
[
706.3756862607386,
534.8119801405741
],
[
458.6852860007345,
439.6824681149705
],
[
696.4289838272324,
582.4692339632293
],
[
416.1740483255317,
543.9221746496265
],
[
589.6018185014443,
617.0104347666575
],
[
481.62772524024194,
397.73738378214813
],
[
503.12989889632274,
587.7637920198999
],
[
449.0466798043779,
505.49977646127167
],
[
443.5131200390914,
591.8474511695523
],
[
634.0088612588014,
649.0158849416277
],
[
410.4632840849289,
462.90483309339197
],
[
550.3850673173151,
653.0705606061827
],
[
562.4035447426154,
506.5600247114439
],
[
-6.831794183430247,
128.2440961656717
],
[
651.3934233035604,
597.3487353162282
],
[
727.9975739093635,
145.99353685688817
],
[
737.9017222535518,
177.85702028529013
],
[
779.1952161616057,
116.95789088832231
],
[
767.931783606931,
132.93676424958505
],
[
758.8414214035765,
160.2935824896059
],
[
-6.831794183430247,
128.2440961656717
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment