UNPKG

@maplat/edgeruler

Version:

A small library for dual-constraining a Delaunator triangulation

49 lines (43 loc) 1.02 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Delaunay Triangulation Benchmark</title> <style> body { margin: 0; padding: 20px; font-family: Arial, sans-serif; } #canvasContainer { display: flex; gap: 20px; margin-top: 20px; } canvas { border: 1px solid #ccc; } .controls { margin: 20px 0; } #benchmarkResults { margin: 20px 0; font-family: monospace; } input[type="number"] { width: 100px; padding: 5px; margin-right: 10px; } button { padding: 5px 15px; cursor: pointer; } </style> </head> <body> <div id="app"></div> <script type="module" src="./src/demo/main.ts"></script> </body> </html>