git @ Cat's Eye Technologies Chzrxl / master demo / chzrxl.html
master

Tree @master (Download .tar.gz)

chzrxl.html @masterraw · history · blame

<!DOCTYPE html>
<head>
  <meta charset="utf-8">
  <title>Chzrxl</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <style>
#installation-wrapper {
  text-align: center;
}
#installation {
  display: inline-block;
}
#installation canvas {
  border: 1px solid red;
  padding-bottom: 1em;
}
  </style>
</head>
<body>

<h1>Chzrxl</h1>

<div id="installation-wrapper">
  <div id="installation"">
    <!-- view goes here -->
  </div>
</div>

<!-- to run this offline, download this file and change this URL to point to your local copy of pixi.min.js -->
<script src="https://catseye.tc/contrib/pixi.js-v4.8.5/pixi.min.js"></script>
<script src="../src/chzrxl.js"></script>
<script src="dam.js"></script>
<script src="dam-widgets.js"></script>
<script src="chzrxl-pixi-launcher.js"></script>
<script>
launch({
  width: 500,
  height: 500,
  container: document.getElementById('installation'),
});
</script>
</body>