mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-28 14:27:36 +03:00
a5b8c45d28
* adds julia set example * fixes indentation in *.js files * fixes *.js formatting * fixes a typo in function arguments signature
27 lines
863 B
HTML
27 lines
863 B
HTML
<html>
|
|
<head>
|
|
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
|
|
<link rel="stylesheet" href="styles/normalize.css">
|
|
<link rel="stylesheet" href="styles/skeleton.css">
|
|
<link rel="stylesheet" href="styles/style.css">
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<div class="controls">
|
|
<h1>C =</h1>
|
|
<div>
|
|
<label for="real">real</label>
|
|
<input type="number" name="real" id="real" value="-0.15" step="0.001">
|
|
</div>
|
|
<div>
|
|
<label for="imaginary">imaginary</label>
|
|
<input type="number" name="imaginary" id="imaginary" value="0.65" step="0.001">
|
|
</div>
|
|
<button class="button-primary" id="render">render</button>
|
|
</div>
|
|
<canvas id="drawing" width="600" height="600"></canvas>
|
|
</main>
|
|
<script src='./index.js'></script>
|
|
</body>
|
|
</html>
|