mirror of
https://github.com/SamEyeBam/animate.git
synced 2026-11-19 10:32:24 +00:00
Eye prototype work
This commit is contained in:
1 parent
687c44f22e
commit
bc01c0e0c9
8 files changed
+553
-46
No files matched your search
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebGL Template</title>
|
||||
<style>
|
||||
/* Set canvas to occupy the full width and height of the window */
|
||||
canvas {
|
||||
display: block;
|
||||
width: 800px;
|
||||
height: 800px;
|
||||
margin: 0 560px;
|
||||
padding: 0;
|
||||
|
||||
}
|
||||
|
||||
.canvas2d {
|
||||
position: absolute !important;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
}
|
||||
body{
|
||||
margin:0
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<canvas id="canvas"></canvas>
|
||||
<canvas id="canvas2d" class="canvas2d"></canvas>
|
||||
<script src="index.js">
|
||||
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user