mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 06:00:20 +00:00
6f7c554daa
WASM -> Wasm MacOS -> macOS Nothing important, just something that annoyed me for a while :)
27 lines
537 B
HTML
27 lines
537 B
HTML
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<style>
|
|
body {
|
|
background: linear-gradient(
|
|
135deg,
|
|
white 0%,
|
|
white 49%,
|
|
black 49%,
|
|
black 51%,
|
|
white 51%,
|
|
white 100%
|
|
) repeat;
|
|
background-size: 20px 20px;
|
|
}
|
|
canvas {
|
|
background-color: white;
|
|
}
|
|
</style>
|
|
<title>Wasm Example</title>
|
|
</head>
|
|
<script type="module">
|
|
import init from './target/wasm_example.js'
|
|
init()
|
|
</script>
|
|
</html>
|