three-glyph
Version:
Provide geometry and material in THREE.js for MSDF (multi-channel signed distance fields) glyph and more
37 lines (33 loc) • 590 B
HTML
<html>
<head>
<script type="importmap">
{
"imports": {
"three": "https://esm.sh/three",
"tweakpane": "https://esm.sh/tweakpane",
"sword": "https://esm.sh/sword"
}
}
</script>
<script type="module" src="index.js"></script>
<style>
body {
margin: 0;
user-select: none;
overflow: hidden;
}
body > canvas {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
user-select: none;
}
.tp-dfwv {
z-index: 1;
}
</style>
</head>
<body></body>
</html>