Implement basic 3d rendering.

This commit is contained in:
2019-03-08 16:40:22 +01:00
parent 12daff1f7d
commit f5344f3197
5 changed files with 47 additions and 23 deletions

View File

@@ -13,20 +13,12 @@
}
body.open {
height: 100%;
background-color: #a3d165;
text-align: center;
margin: 0;
overflow: hidden;
}
#wrapper {
margin: auto;
width: 999px;
height: 999px;
padding-top: 400px;
margin-top: -200px;
background-image: url(star.png);
background-repeat: no-repeat;
animation: starrotation 10s;
animation-iteration-count: infinite;
animation-timing-function: linear;
canvas {
width: 100%;
height: 100%;
}