31 lines
654 B
HTML
31 lines
654 B
HTML
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<title>raytracing</title>
|
|
<script src="main.js" type="module" defer></script>
|
|
|
|
<style>
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#frame_time {
|
|
position: absolute;
|
|
color: white;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
user-select: none;
|
|
font-family: monospace;
|
|
padding: 5px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="frame_time"></div>
|
|
<canvas id="canvas">
|
|
</body>
|
|
</html>
|
|
|