remove useless html, move Ghost to apropriate folder

This commit is contained in:
ajuvercr 2018-10-31 15:27:18 +01:00
parent a47001930f
commit f3ec3f0718
3 changed files with 1 additions and 17 deletions

View file

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -1,16 +0,0 @@
<html>
<head>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div style="display: inline-flex">
<img crossorigin="anonymous" id="myImage" SRC='https://kelder.zeus.ugent.be/webcam/video/mjpg.cgi'>
<canvas class="stupid" id="canvas"></canvas>
</div>
<input type="button" id="save" value="Save to PNG">
<script src="https://code.jquery.com/jquery-3.0.0.min.js" charset=utf-8></script>
<script src="./test2.js"></script>
</body>
</html>

View file

@ -57,7 +57,7 @@ function update_coolness() {
wasmWorker.onmessage = function (e) { wasmWorker.onmessage = function (e) {
var img2 = document.createElement("img"); var img2 = document.createElement("img");
img2.src = "../assets/scripts/halloween/Ghost.jpg"; img2.src = "../assets/images/Ghost.jpg";
if(e.data.features) { if(e.data.features) {
ctx.clearRect(0,0, width, height); ctx.clearRect(0,0, width, height);