-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (28 loc) · 1.11 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>MARGO Climate Model</title>
<script src="./index.js" type="module"></script>
</head>
<body>
<h1>Hello</h1>
<p>To use our API, have a look at the <a href="https://observablehq.com/@margo">Observable notebooks</a>. This page is for internal testing.</p>
<p>Open the browser console. Durig the first 30 seconds after a server reboot, Julia is still compiling, so the API will not be responsive.</p>
<h3>Basic</h3>
<p>To test the response time.</p>
<p>a = <input id='a' type='range' min='0' max='1000'></p>
<p>b = <input id='b' type='range' min='0' max='1000'></p>
<p>a + b = <input id='c' type='range' min='0' max='2000' disabled></p>
<br>
<h3>Optimization model</h3>
<p>Output in the dev console.</p>
<p>0.0 C <input id='d' type='range' min='0' max='4' step='0.01'>
4.0 C</p>
<br>
<h3>Random uncompressed image</h3>
<p>To test the bandwidth. One image is 200kB.</p>
<button id='repaint'>New image</button>
<canvas id="painting" width="256" height="256"></canvas>
</body>
</html>