-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__index.html
48 lines (44 loc) · 1.77 KB
/
__index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bitcoin Power Law</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="styles.css">
<!-- Meta tag per Open Graph -->
<meta property="og:title" content="Bitcoin Power Law">
<meta property="og:description" content="Discover the real power of Bitcoin.">
<meta property="og:image" content="https://science.nasa.gov/wp-content/uploads/2023/09/black_hole_16x9_2.jpg?w=1600">
<meta property="og:url" content="https://powerlaw.live">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Bitcoin Power Law">
</head>
<body>
<script type="x-shader/x-vertex" id="vertexshader">
attribute float size;
attribute vec3 customColor;
varying vec3 vColor;
void main() {
vColor = customColor;
vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );
gl_PointSize = size * ( 300.0 / -mvPosition.z );
gl_Position = projectionMatrix * mvPosition;
}
</script>
<script type="x-shader/x-fragment" id="fragmentshader">
uniform vec3 color;
uniform sampler2D pointTexture;
varying vec3 vColor;
void main() {
gl_FragColor = vec4( color * vColor, 1.0 );
gl_FragColor = gl_FragColor * texture2D( pointTexture, gl_PointCoord );
}
</script>
<div id="magic">
<a href="https://bitcoin.powerlaw.live"></a>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<script src="script.js"></script>
</body>
</html>