distribusi-foh000/template/test.html
2020-11-02 02:33:57 +09:00

38 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="src/lib/matter.js" type="text/javascript"></script>
<script src="src/lib/decomp.js" type="text/javascript"></script>
<script src="src/lib/polyfill.js" type="text/javascript"></script>
</head>
<body>
<canvas id='world'></canvas>
<svg id="sample" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 430">
<defs>
<style>
.cls-1 {
fill: #fff;
}
</style>
</defs>
<polygon class="cls-1"
points="25.5 221.5 25.5 202.5 0.5 202.5 0.5 93.5 61.5 93.5 61.5 154.5 132.5 154.5 132.5 221.5 25.5 221.5" />
<path d="M169,163v61h71v66H134V271H109V163h60m1-1H108V272h25v19H241V223H170V162Z" transform="translate(-108 -69)" />
<rect class="cls-1" x="102.5" y="0.5" width="64" height="123" />
<path d="M274,70V192H211V70h63m1-1H210V193h65V69Z" transform="translate(-108 -69)" />
<rect class="cls-1" x="144.5" y="191.5" width="66" height="123" />
<path d="M318,261V383H253V261h65m1-1H252V384h67V260Z" transform="translate(-108 -69)" />
<rect class="cls-1" x="30.5" y="265.5" width="102" height="122" />
<path d="M240,335V456H139V335H240m1-1H138V457H241V334Z" transform="translate(-108 -69)" />
<polygon class="cls-1"
points="218.5 429.5 218.5 349.5 232.5 349.5 232.5 93.5 270.5 93.5 270.5 349.5 511.5 349.5 511.5 429.5 218.5 429.5" />
<path d="M378,163V419H619v79H327V419h14V163h37m1-1H340V418H326v81H620V418H379V162Z"
transform="translate(-108 -69)" />
</svg>
<script src="src/script.js"></script>
</body>
</html>