-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
118 lines (115 loc) · 3.9 KB
/
Copy pathindex.html
File metadata and controls
118 lines (115 loc) · 3.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />
<meta name="author" content="Novaia">
<meta name="keywords" content="Novaia, Generative AI, Procedural Generation, 3D">
<meta name="description" content="Generative AI for a three dimensional world.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Red+Hat+Mono:wght@400;600&display=swap" rel="stylesheet">
<title>Novaia</title>
<style>
body {
font-family: 'Red Hat Mono', monospace;
text-align: center;
text-decoration-skip-ink: none;
}
.body-column {
margin: 0 auto;
max-width: 800px;
}
h1 {
padding-bottom: 0;
margin-bottom: 0;
}
h2 {
margin-bottom: 0;
padding-bottom: 7px;
font-weight: 800;
}
#container {
width: 250px;
height: 250px;
margin: 0 auto;
}
table {
margin: 0 auto;
border-collapse: collapse;
width: 100%;
}
th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f2f2f2;
}
a, a:visited {
color: blue;
line-height: 2;
}
section {
margin-top: 30px;
}
</style>
</head>
<body>
<div class="body-column">
<h1>Novaia</h1>
<div id="container"></div>
<p>We make graphics software.</p>
<section>
<h2>Releases</h2>
<table>
<thead>
<tr><th>Project Name</th> <th>Type</th> </tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/novaia/n3dc">Novaia 3D C Libraries (n3dc)</a></td>
<td>Code</td>
</tr>
<tr>
<td><a href="https://github.com/novaia/ntg">Neural Terrain Generation (ntg)</a></td>
<td>Code</td>
</tr>
<tr>
<td><a href="https://github.com/novaia/ntg-unity">NTG Unity (ntg-unity)</a></td>
<td>Code</td> </tr>
</tbody>
</table>
</section>
<section>
<h2>Links</h2>
<a href="https://github.com/novaia">GitHub</a> |
<a href="https://huggingface.co/novaia">HuggingFace</a> |
<a href="https://twitter.com/NovaiaComputing">Twitter</a>
</section>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<script>
var scene = new THREE.Scene();
scene.background = null;
var camera = new THREE.PerspectiveCamera(75, 1, 0.1, 1000);
var renderer = new THREE.WebGLRenderer({ alpha: true });
renderer.setSize(250, 250);
document.getElementById("container").appendChild(renderer.domElement);
var geometry = new THREE.BoxGeometry(1, 1, 1);
var material = new THREE.MeshBasicMaterial({ color: 0x000000, wireframe: true });
var cube = new THREE.Mesh(geometry, material);
scene.add(cube);
camera.position.z = 1.4;
var SPEED = 0.005;
function animate() {
requestAnimationFrame(animate);
cube.rotateOnWorldAxis(new THREE.Vector3(0, 1, 0), SPEED);
renderer.render(scene, camera);
}
animate();
</script>
</body>
</html>