generated demo to gh-pages

This commit is contained in:
klangner 2020-10-17 22:22:32 +02:00
parent 50d25f3103
commit 422ad9ee08
10 changed files with 7 additions and 3 deletions

View File

@ -11,7 +11,7 @@ npm run server
Deply application
```
cd www
npm run deploy
npm run build
```
This app uses:

File diff suppressed because one or more lines are too long

2
docs/bootstrap.js vendored
View File

@ -222,7 +222,7 @@
/******/ promises.push(installedWasmModuleData);
/******/ else {
/******/ var importObject = wasmImportObjects[wasmModuleId]();
/******/ var req = fetch(__webpack_require__.p + "" + {"../pkg/mapgen_demo_bg.wasm":"44ffe41e5a9c873b1c79"}[wasmModuleId] + ".module.wasm");
/******/ var req = fetch(__webpack_require__.p + "" + {"../pkg/mapgen_demo_bg.wasm":"3450392053799dfed08d"}[wasmModuleId] + ".module.wasm");
/******/ var promise;
/******/ if(importObject instanceof Promise && typeof WebAssembly.compileStreaming === 'function') {
/******/ promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {

View File

@ -2,6 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<link rel="icon" type="image/png" href="/assets/favicon.ico" />
<title>Mapgen demo</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
@ -45,6 +46,8 @@
<input class="form-control mr-sm-2" id="seed" type="search" placeholder="Seed" aria-label="Seed">
</ul>
</div>
<a class="github-button" href="https://github.com/klangner/mapgen.rs" data-icon="octicon-star"
aria-label="Star ntkme/github-buttons on GitHub">Star</a>
</nav>
<canvas id="mapgen-canvas"></canvas>
@ -56,5 +59,6 @@
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"
integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
</html>

BIN
docs/tiles.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB