文件名称:Vonoroi:泰森多边形的实现算法
文件大小:81KB
文件格式:ZIP
更新时间:2024-06-05 10:36:05
JavaScript
Javascript-Voronoi Steven J. Fortune算法的实现,可以有效地计算Voronoi图。 核心文件 rhill-voronoi-core.js rhill-voronoi-core.min.js 演示文件 rhill-voronoi-demo1.html rhill-voronoi-demo2.html rhill-voronoi-demo3.php rhill-voronoi-demo4.html rhill-voronoi-demo5.html 主要对象:Voronoi var voronoi = new Voronoi(); var bbox = {xl:0,xr:800,yt:0,yb:600}; // xl是x左,xr是x右,yt是y顶,yb是y底var个站点= [{x:200,y:200},{x:50,y:250}, {x:400,y:
【文件预览】:
Vonoroi-master
----rhill-voronoi-demo1.html(9KB)
----mootools()
--------mootools-core-1.3.2.js(62KB)
--------mootools-more-1.3.2.1.js(4KB)
----rhill-voronoi-demo4.html(9KB)
----package.json(787B)
----CREDITS.md(1KB)
----LICENSE.md(1KB)
----rhill-voronoi-core.js(58KB)
----rhill-voronoi-demo3.php(25KB)
----rhill-voronoi-demo2.html(7KB)
----CHANGELOG.md(2KB)
----README.md(626B)
----test for a while(16B)
----excanvas()
--------excanvas.compiled.js(11KB)
--------excanvas.js(26KB)
--------README(842B)
----rhill-voronoi-core.min.js(16KB)
----rhill-voronoi-demo5.html(8KB)
----rhill-voronoi.html(11KB)