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.
9 <meta http-equiv="Pragma" content="no-cache">
10 <meta http-equiv="Expires" content="-1">
11 <title>{{title}}</title>
12 <script type="text/javascript" src="common.js"></script>
13 <script type="text/javascript" src="example.js"></script>
15 <body {{attrs}} data-width="512" data-height="512">
17 <h2>Status: <code id="statusField">NO-STATUS</code></h2>
19 This demo renders the Voronoi diagram for a moving set of points using a
20 brute force technique.
23 <input type="range" id="pointRange"
24 min="1" max="1024" step="1" value="48" />
25 <label id="pointCount" >48 points</label>
27 Number of threads (0 is main thread):
28 <input type="radio" name="threadCount" id="radio0" value="0"
30 <label for="radio0">0</label>
31 <input type="radio" name="threadCount" id="radio1" value="1">
32 <label for="radio1">1</label>
33 <input type="radio" name="threadCount" id="radio2" value="2">
34 <label for="radio2">2</label>
35 <input type="radio" name="threadCount" id="radio3" value="4">
36 <label for="radio3">4</label>
37 <input type="radio" name="threadCount" id="radio4" value="6">
38 <label for="radio4">6</label>
39 <input type="radio" name="threadCount" id="radio5" value="8">
40 <label for="radio5">8</label>
41 <input type="radio" name="threadCount" id="radio6" value="12">
42 <label for="radio6">12</label>
43 <input type="radio" name="threadCount" id="radio7" value="16">
44 <label for="radio7">16</label>
45 <input type="radio" name="threadCount" id="radio8" value="24">
46 <label for="radio8">24</label>
47 <input type="radio" name="threadCount" id="radio9" value="32">
48 <label for="radio9">32</label>
50 <input type="checkbox" id="drawPoints" checked="checked">
51 <label for="draw_points">Draw Points</label>
52 <input type="checkbox" id="drawInteriors" checked="checked">
53 <label for="draw_interiors">Draw Interiors</label>
54 <input type="submit" id="benchmark" value="Run Benchmark">
55 <label id="result" name="result"> </label>
57 <!-- The NaCl plugin will be embedded inside the element with id "listener".
59 <div id="listener"></div>