| 1 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
| 2 | - License, v. 2.0. If a copy of the MPL was not distributed with this file, |
| 3 | - You can obtain one at http://mozilla.org/MPL/2.0/. --> |
| 4 | |
| 5 | <!DOCTYPE html> |
| 6 | <html manifest="manifest.appcache"> |
| 7 | <head> |
| 8 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 9 | <title>KaiRo.at Mandelbrot Web</title> |
| 10 | <script src="js/mandelbrot.js"></script> |
| 11 | <link rel="stylesheet" href="style/mandelbrot.css"> |
| 12 | <link rel="shortcut icon" href="style/mandelbrotIcon16.png" type="image/png"> |
| 13 | </head> |
| 14 | <body onload="Startup();"> |
| 15 | <h1>KaiRo.at Mandelbrot Web</h1> |
| 16 | |
| 17 | <div id="overlayArea"> |
| 18 | <input type="button" id="drawButton" value="Draw Image" |
| 19 | onclick="drawImage();"> |
| 20 | <input type="button" id="backButton" value="Back" |
| 21 | onclick="goBack();" disabled="true"> |
| 22 | <input type="button" id="settingsButton" value="Settings" |
| 23 | onclick="toggleSettings();"> |
| 24 | <fieldset id="settings"><legend>Image data</legend> |
| 25 | Image coordinates: |
| 26 | <br>Real: |
| 27 | Min: <input id="Cr_min" value="-2.0" maxlength="6" size="6" type="text"> |
| 28 | Max: <input id="Cr_max" value="1.0" maxlength="6" size="6" type="text"> |
| 29 | <br>Imag: |
| 30 | Min: <input id="Ci_min" value="-1.5" maxlength="6" size="6" type="text"> |
| 31 | Max: <input id="Ci_max" value="1.5" maxlength="6" size="6" type="text"> |
| 32 | |
| 33 | <br>Maximum of iterations: |
| 34 | <select id="iterMax"> |
| 35 | <option value="50">50</option> |
| 36 | <option value="100">100</option> |
| 37 | <option value="500" selected="selected">500</option> |
| 38 | <option value="1000">1000</option> |
| 39 | <option value="5000">5000</option> |
| 40 | </select> |
| 41 | |
| 42 | <br>Color palette: |
| 43 | <select id="palette"> |
| 44 | <option value="bw">Black & White</option> |
| 45 | <option value="kairo" selected="selected">KaiRo default</option> |
| 46 | <option value="rainbow-linear1">Rainbow-linear 1</option> |
| 47 | <option value="rainbow-squared1">Rainbow 1 Squared</option> |
| 48 | <option value="rainbow-linear2">Rainbow 2 Linear</option> |
| 49 | <option value="rainbow-squared2">Rainbow 2 Squared</option> |
| 50 | </select> |
| 51 | </fieldset> |
| 52 | </div> |
| 53 | |
| 54 | <div id="mainArea"> |
| 55 | <canvas id="mbrotImage" width="300" height="300" |
| 56 | onclick="drawIfEmpty();"></canvas> |
| 57 | </div> |
| 58 | |
| 59 | <p>Time taken for calculation: <span id="calcTime">none yet</span></p> |
| 60 | |
| 61 | </body></html> |