36 lines
1.1 KiB
HTML
36 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<!-- Disable zooming: -->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Integral Demonstration</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<noscript>Please enable Javascript, this page uses both WebAssembly and Javascript to run.</noscript>
|
|
|
|
<canvas id="canvas"></canvas>
|
|
|
|
<script type="module">
|
|
import init, { start } from '../pkg/integral_site.js';
|
|
|
|
async function run() {
|
|
await init();
|
|
|
|
start("canvas");
|
|
}
|
|
run();
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|
|
|
|
<!-- Todo: port this to egui -->
|
|
<!-- <h4><a href="https://github.com/Titaniumtown/meval-rs#supported-expressions">Supported Expressions</a></h4>
|
|
|
|
|
|
<h3 id="%3Ca%20href=%22https://github.com/Titaniumtown/integral_site%22%3EI&#8217;m%20Open%20Source!%3C/a%3E%20(and%20licensed%20under%20AGPLv3)"><a href="https://github.com/Titaniumtown/integral_site">I’m Open Source!</a> (and licensed under AGPLv3)</h3> -->
|