-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
245 lines (227 loc) · 8.59 KB
/
index.html
File metadata and controls
245 lines (227 loc) · 8.59 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="favicon.ico" sizes="any">
<title>Bitmark Archive</title>
<meta name="description" content="An archive of digital property rights infrastructure.">
<meta name="robots" content="index,follow,max-image-preview:large">
<meta property="og:type" content="website">
<meta property="og:title" content="Bitmark Archive">
<meta property="og:description" content="An archive of digital property rights infrastructure.">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Bitmark Archive">
<meta name="twitter:description" content="An archive of digital property rights infrastructure.">
<style>
:root {
--bg: #000;
--fg: #fff;
--line: rgba(255, 255, 255, 0.4);
--container: 1440px;
--space: 40px;
}
* { box-sizing: border-box; }
html, body {
margin: 0;
background: var(--bg);
color: var(--fg);
font-family: "PP Mori", "Helvetica Neue", Helvetica, Arial, sans-serif;
line-height: 1.08;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
.wrap { max-width: var(--container); margin: 0 auto; padding: var(--space); }
.hero {
display: grid;
grid-template-columns: 1fr 1.1fr;
column-gap: 60px;
align-items: start;
}
.brand img { width: min(340px, 100%); height: auto; display: block; }
h1 {
margin: 0 0 48px;
font-weight: 400;
font-size: clamp(42px, 4.2vw, 68px);
letter-spacing: -0.01em;
max-width: 16ch;
}
.body { max-width: 760px; font-size: clamp(17px, 1.3vw, 41px); }
.body p { margin: 0 0 20px; }
.body a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.body a:hover { opacity: 0.85; }
.body ul {
margin: 34px 0 20px;
padding-left: 0;
list-style: none;
}
.body li { margin: 0 0 10px; }
.symbol3d {
width: 100%;
height: min(96vh, 1080px);
min-height: 480px;
margin-top: 55vh;
margin-bottom: 40px;
position: relative;
touch-action: none;
cursor: grab;
}
.symbol3d:active { cursor: grabbing; }
.symbol3d canvas { width: 100%; height: 100%; display: block; }
.symbol3d-flat {
position: absolute;
inset: 72px 32px;
display: grid;
place-items: center;
pointer-events: none;
opacity: 1;
transition: opacity 160ms ease;
}
.symbol3d-flat svg {
height: 100%;
width: auto;
max-width: 100%;
display: block;
transform: translateY(18px);
}
@media (max-width: 980px) {
.hero { grid-template-columns: 1fr; row-gap: 32px; }
h1 { margin-bottom: 28px; max-width: none; }
.symbol3d { height: 72vh; min-height: 320px; margin-top: 30vh; margin-bottom: 16px; }
.symbol3d-flat { inset: 20px; }
.symbol3d-flat svg { transform: translateY(10px); }
}
</style>
</head>
<body>
<main class="wrap">
<section class="hero">
<div class="brand">
<img src="assets/logo.svg" alt="Bitmark logo">
</div>
<div>
<h1>An archive of digital property rights infrastructure.</h1>
<div class="body">
<p>Bitmark was founded in 2014 to explore how ownership, rights, and participation could evolve in a digital world.</p>
<p>It was one of the earliest public blockchains. Over time, Bitmark was used in production by companies, institutions, and artists to register and manage digital assets, including health data, music rights, and digital art.</p>
<p>The Bitmark blockchain has now been shut down. Its history has been preserved through archival records and cryptographic proofs, with permanent references recorded across Ethereum, Bitcoin, and IPFS.</p>
<p>The ideas behind Bitmark continue in newer systems for digital ownership, including Ethereum smart contracts.</p>
<ul>
<li><a href="assets/files/bitmark.pdf" target="_blank" rel="noopener noreferrer">Original Paper</a></li>
<li><a href="https://github.com/bitmark-inc/bitmarkd/wiki/bitmark-archive" target="_blank" rel="noopener noreferrer">Technical Record</a></li>
<li><a href="https://feralfile.com" target="_blank" rel="noopener noreferrer">Related Work: Feral File</a></li>
</ul>
</div>
</div>
</section>
<section class="symbol3d" aria-label="Bitmark symbol interactive">
<div class="symbol3d-flat" aria-hidden="true">
<svg viewBox="0 0 192 256" xmlns="http://www.w3.org/2000/svg">
<path d="M127.754 127.937V191.906H63.8772V127.937H127.754V63.9687H63.8772V0H0V63.9687V127.937V191.906V255.875H63.8772H127.754H191.632V191.906V127.937H127.754Z" fill="#f0f0f0"/>
</svg>
</div>
</section>
</main>
<script type="module">
import * as THREE from "https://esm.sh/three@0.160.0";
import { OrbitControls } from "https://esm.sh/three@0.160.0/examples/jsm/controls/OrbitControls";
import { GLTFLoader } from "https://esm.sh/three@0.160.0/examples/jsm/loaders/GLTFLoader";
const mount = document.querySelector(".symbol3d");
const flatOverlay = mount.querySelector(".symbol3d-flat");
const scene = new THREE.Scene();
scene.background = new THREE.Color(0x000000);
let orthoSize = 36;
const camera = new THREE.OrthographicCamera(-orthoSize, orthoSize, orthoSize, -orthoSize, 0.1, 300);
camera.position.set(0, 0, 120);
const renderer = new THREE.WebGLRenderer({ antialias: true, alpha: false });
renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
renderer.domElement.style.opacity = "0";
renderer.domElement.style.transition = "opacity 160ms ease";
mount.appendChild(renderer.domElement);
const ambient = new THREE.AmbientLight(0xffffff, 1.15);
scene.add(ambient);
const key = new THREE.DirectionalLight(0xffffff, 1.35);
key.position.set(0, 0, 120);
scene.add(key);
const fill = new THREE.DirectionalLight(0xffffff, 0.45);
fill.position.set(-70, 30, 40);
scene.add(fill);
const controls = new OrbitControls(camera, renderer.domElement);
controls.enablePan = false;
controls.enableZoom = false;
controls.enableDamping = false;
controls.rotateSpeed = 0.6;
controls.autoRotate = false;
const loader = new GLTFLoader();
const flatMaterials = [];
const litMaterials = [];
const setFlatLook = (isFlat) => {
for (let i = 0; i < flatMaterials.length; i++) {
const mesh = flatMaterials[i].mesh;
mesh.material = isFlat ? flatMaterials[i].material : litMaterials[i].material;
}
};
loader.load("assets/model/scene.gltf", (gltf) => {
const modelRoot = gltf.scene;
modelRoot.traverse((node) => {
if (node.isMesh) {
flatMaterials.push({
mesh: node,
material: new THREE.MeshBasicMaterial({
color: 0xf0f0f0,
side: THREE.DoubleSide,
}),
});
litMaterials.push({
mesh: node,
material: new THREE.MeshStandardMaterial({
color: 0xffffff,
roughness: 0.38,
metalness: 0.1,
side: THREE.DoubleSide,
}),
});
}
});
setFlatLook(true);
scene.add(modelRoot);
const box = new THREE.Box3().setFromObject(modelRoot);
const sizeV = box.getSize(new THREE.Vector3());
const maxDim = Math.max(sizeV.x, sizeV.y, sizeV.z);
const center = box.getCenter(new THREE.Vector3());
modelRoot.position.sub(center);
orthoSize = maxDim * 0.42;
camera.near = 0.1;
camera.far = maxDim * 20;
camera.position.set(0, 0, maxDim * 3.2);
controls.target.set(0, 0, 0);
controls.update();
resize();
});
controls.addEventListener("start", () => {
setFlatLook(false);
if (flatOverlay) flatOverlay.style.opacity = "0";
renderer.domElement.style.opacity = "1";
});
const resize = () => {
const w = mount.clientWidth;
const h = mount.clientHeight;
const aspect = w / h;
camera.left = -orthoSize * aspect;
camera.right = orthoSize * aspect;
camera.top = orthoSize;
camera.bottom = -orthoSize;
camera.updateProjectionMatrix();
renderer.setSize(w, h, false);
};
resize();
window.addEventListener("resize", resize);
const animate = () => {
controls.update();
renderer.render(scene, camera);
requestAnimationFrame(animate);
};
animate();
</script>
</body>
</html>