4 Copyright (c) 2013 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
10 <title>Voronoi</title>
11 <script type="text/javascript" src="example.js"></script>
12 <link href="/static/common.css" rel="stylesheet" type="text/css">
15 <div class="absolute-fill">
16 <div class="flex-container">
17 <div class="main absolute-fill-parent">
18 <div class="absolute-fill">
19 <div class="flex-container flex-column flex-justify-center">
21 <div id="statusField"></div>
22 <progress id="progress"></progress>
26 <div id="listener" class="absolute-fill"></div>
31 This demo renders the Voronoi diagram for a moving set of points using
32 a brute force technique.
37 <td class="name">Points:</td>
39 <input type="range" id="pointRange"
40 min="1" max="1024" step="1" value="48">
41 <label id="pointCount">48 points</label>
45 <td class="name">Thread Count:</td>
47 <select id="threadCount">
48 <option value="0">Main Thread only</option>
49 <option value="1">1 Thread</option>
50 <option value="2" selected="selected">2 Threads</option>
51 <option value="4">4 Threads</option>
52 <option value="6">6 Threads</option>
53 <option value="8">8 Threads</option>
54 <option value="12">12 Threads</option>
55 <option value="24">24 Threads</option>
56 <option value="32">32 Threads</option>
61 <td class="name"><label for="drawPoints">Draw Points:</label></td>
63 <input type="checkbox" id="drawPoints" checked="checked">
68 <label for="drawInteriors">Draw Interiors:</label>
71 <input type="checkbox" id="drawInteriors" checked="checked">