@loopmode/dis-gui
Version:
An extensible, styleable, & React-based controller library inspired by the venerable dat-gui.
36 lines (31 loc) • 708 B
HTML
<html>
<head>
<script src='bundle.js'></script>
<style>
#demo {
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#text {
position: fixed;
top: 16px;
left: 16px;
width: 50%;
height: 100%;
font-size: 100px;
font-weight: bold;
color: black;
text-shadow: white 0 0 128px, white 0 0 64px, white 0 0 32px, white 0 0 16px, white 0 0 8px;
}
</style>
</head>
<body>
<canvas id='demo'></canvas>
<div id='text'>dis-gui</div>
<div id='gui'></div>
</body>
</html>