blob: 042da94f9839de7c3e746ff33ed883392b3b3dbd [file] [log] [blame]
<!DOCTYPE html>
<html>
<!--
Copyright 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<meta charset="UTF-8">
<title>{{title}}</title>
<script type="text/javascript" src="common.js"></script>
<script type="text/javascript" src="example.js"></script>
</head>
<body {{attrs}} data-width="640" data-height="640">
<h1>{{title}}</h1>
<h2>Status: <code id="statusField">NO-STATUS</code></h2>
<div>
This PNaCl demo uses portable SIMD and renders a rotating globe using the
Graphics2D interface.
Image Credit:
NASA Goddard Space Flight Center Image by Reto Stöckli (land surface,
shallow water, clouds). Enhancements by Robert Simmon (ocean color,
compositing, 3D globes, animation).
Data and technical support: MODIS Land Group; MODIS Science Data,
Support Team; MODIS Atmosphere Group; MODIS Ocean Group Additional data:
USGS EROS Data Center (topography); USGS Terrestrial Remote Sensing
Flagstaff Field Center (Antarctica); Defense Meteorological
Satellite Program (city lights).
<br>
Zoom:
<input type="range" id="zoomRange"
min="1.0" max="50.0" step="0.5" value="14.0" />
Light:
<input type="range" id="lightRange"
min="0.2" max="2.0" step=".01" value="1.0" />
<br>
Number of threads (0 is main thread):
<input type="radio" name="threadCount" id="radio0" value="0"
checked="checked">
<label for="radio0">0</label>
<input type="radio" name="threadCount" id="radio1" value="1">
<label for="radio1">1</label>
<input type="radio" name="threadCount" id="radio2" value="2">
<label for="radio2">2</label>
<input type="radio" name="threadCount" id="radio3" value="4">
<label for="radio3">4</label>
<input type="radio" name="threadCount" id="radio4" value="6">
<label for="radio4">6</label>
<input type="radio" name="threadCount" id="radio5" value="8">
<label for="radio5">8</label>
<input type="radio" name="threadCount" id="radio6" value="12">
<label for="radio6">12</label>
<input type="radio" name="threadCount" id="radio7" value="16">
<label for="radio7">16</label>
<input type="radio" name="threadCount" id="radio8" value="24">
<label for="radio8">24</label>
<input type="radio" name="threadCount" id="radio9" value="32">
<label for="radio9">32</label>
<br>
<input type="submit" id="benchmark" value="Run Benchmark">
<label id="result" name="result"> </label>
</div>
<!-- The NaCl plugin will be embedded inside the element with id "listener".
See common.js.-->
<div id="listener"></div>
</body>
</html>