-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
1 lines (1 loc) · 9.64 KB
/
index.html
1
<!doctypehtml><html lang=en-us><head><title>Woxel.xyz</title><meta charset=utf-8><meta name=darkreader-lock><meta content="text/html; charset=utf-8"http-equiv=Content-Type><link href='data:application/manifest+json,{"display":"standalone"}'rel=manifest><meta content=yes name=apple-mobile-web-app-capable><meta content="width=device-width,minimum-scale=1,maximum-scale=1"name=viewport><link href=favicon.png rel="shortcut icon"><link href=favicon.png rel=apple-touch-icon><link href=favicon.png rel=apple-touch-icon-precomposed><link href=favicon.png rel=icon sizes=192x192><meta content=website name=og:type><meta content=favicon.png property=og:image><meta content=favicon.png property=twitter:image:src><meta content=favicon.png name=image><meta content=favicon.png itemprop=image><meta content=favicon.png name=og:image><meta content="3D Voxel Editor that runs in the browser, can export to ply."name=description><meta content="3D Voxel Editor that runs in the browser, can export to ply."itemprop=name><meta content="3D Voxel Editor that runs in the browser, can export to ply."name=og:description><meta content=Woxel.xyz name=og:title><meta content=Woxel.xyz name=og:site_name><meta content=https://Woxel.xyz name=og:url><meta content=#00ffff name=theme-color><meta content=summary_large_image name=twitter:card><style>canvas.cstyle{border:0 none;outline:0;background-color:#000}*{margin:0;padding:0}body,html{width:100%;height:100%;overflow:hidden;background-color:#000;font-family:Tahoma,Verdana,Segoe,sans-serif}a:link{color:#fff;text-decoration:none;font-weight:700;font-family:Tahoma,Verdana,Segoe,sans-serif}a:visited{color:#fff;text-decoration:none;font-weight:700;font-family:Tahoma,Verdana,Segoe,sans-serif}a:hover{color:#0ff;text-decoration:none;font-weight:700;font-family:Tahoma,Verdana,Segoe,sans-serif}a:active{color:#fff;text-decoration:none;font-weight:700;font-family:Tahoma,Verdana,Segoe,sans-serif}@media (max-width:1024px){.notmobile{display:none}}input[type=button]{background-color:#666;border:none;color:#fff;padding:1px 1px;text-align:center;text-decoration:none;display:inline-block;font-size:11px;font-family:Tahoma,Verdana,Segoe,sans-serif;font-weight:700;cursor:pointer;width:20px}input[type=button]:hover{background-color:#666;border:none;color:#ffbf00;padding:1px 1px;text-align:center;text-decoration:none;display:inline-block;font-size:11px;font-family:Tahoma,Verdana,Segoe,sans-serif;font-weight:700;cursor:pointer;width:20px}input[type=color]{opacity:0;border:none;cursor:pointer;width:22px;height:22px}.pal{width:22px;height:22px;display:inline-block;border:1px;border-style:solid;border-color:#000;padding:0;margin:0}</style></head><body><div class=notmobile id=clrp style=z-index:9999;position:absolute;left:30px;top:60px;color:#fff><div style=line-height:1px title="Set's palette color at specified postion."><div class=pal id=c1><input type=color value=#000000 id=nc1 onchange='document.getElementById("c1").style.backgroundColor=this.value,setClr(1)'></div><div class=pal id=c2><input type=color value=#000000 id=nc2 onchange='document.getElementById("c2").style.backgroundColor=this.value,setClr(2)'></div><div class=pal id=c3><input type=color value=#000000 id=nc3 onchange='document.getElementById("c3").style.backgroundColor=this.value,setClr(3)'></div><div class=pal id=c4><input type=color value=#000000 id=nc4 onchange='document.getElementById("c4").style.backgroundColor=this.value,setClr(4)'></div><br><div class=pal id=c5><input type=color value=#000000 id=nc5 onchange='document.getElementById("c5").style.backgroundColor=this.value,setClr(5)'></div><div class=pal id=c6><input type=color value=#000000 id=nc6 onchange='document.getElementById("c6").style.backgroundColor=this.value,setClr(6)'></div><div class=pal id=c7><input type=color value=#000000 id=nc7 onchange='document.getElementById("c7").style.backgroundColor=this.value,setClr(7)'></div><div class=pal id=c8><input type=color value=#000000 id=nc8 onchange='document.getElementById("c8").style.backgroundColor=this.value,setClr(8)'></div><br><div class=pal id=c9><input type=color value=#000000 id=nc9 onchange='document.getElementById("c9").style.backgroundColor=this.value,setClr(9)'></div><div class=pal id=c10><input type=color value=#000000 id=nc10 onchange='document.getElementById("c10").style.backgroundColor=this.value,setClr(10)'></div><div class=pal id=c11><input type=color value=#000000 id=nc11 onchange='document.getElementById("c11").style.backgroundColor=this.value,setClr(11)'></div><div class=pal id=c12><input type=color value=#000000 id=nc12 onchange='document.getElementById("c12").style.backgroundColor=this.value,setClr(12)'></div><br><div class=pal id=c13><input type=color value=#000000 id=nc13 onchange='document.getElementById("c13").style.backgroundColor=this.value,setClr(13)'></div><div class=pal id=c14><input type=color value=#000000 id=nc14 onchange='document.getElementById("c14").style.backgroundColor=this.value,setClr(14)'></div><div class=pal id=c15><input type=color value=#000000 id=nc15 onchange='document.getElementById("c15").style.backgroundColor=this.value,setClr(15)'></div><div class=pal id=c16><input type=color value=#000000 id=nc16 onchange='document.getElementById("c16").style.backgroundColor=this.value,setClr(16)'></div><br><div class=pal id=c17><input type=color value=#000000 id=nc17 onchange='document.getElementById("c17").style.backgroundColor=this.value,setClr(17)'></div><div class=pal id=c18><input type=color value=#000000 id=nc18 onchange='document.getElementById("c18").style.backgroundColor=this.value,setClr(18)'></div><div class=pal id=c19><input type=color value=#000000 id=nc19 onchange='document.getElementById("c19").style.backgroundColor=this.value,setClr(19)'></div><div class=pal id=c20><input type=color value=#000000 id=nc20 onchange='document.getElementById("c20").style.backgroundColor=this.value,setClr(20)'></div><br><div class=pal id=c21><input type=color value=#000000 id=nc21 onchange='document.getElementById("c21").style.backgroundColor=this.value,setClr(21)'></div><div class=pal id=c22><input type=color value=#000000 id=nc22 onchange='document.getElementById("c22").style.backgroundColor=this.value,setClr(22)'></div><div class=pal id=c23><input type=color value=#000000 id=nc23 onchange='document.getElementById("c23").style.backgroundColor=this.value,setClr(23)'></div><div class=pal id=c24><input type=color value=#000000 id=nc24 onchange='document.getElementById("c24").style.backgroundColor=this.value,setClr(24)'></div><br><div class=pal id=c25><input type=color value=#000000 id=nc25 onchange='document.getElementById("c25").style.backgroundColor=this.value,setClr(25)'></div><div class=pal id=c26><input type=color value=#000000 id=nc26 onchange='document.getElementById("c26").style.backgroundColor=this.value,setClr(26)'></div><div class=pal id=c27><input type=color value=#000000 id=nc27 onchange='document.getElementById("c27").style.backgroundColor=this.value,setClr(27)'></div><div class=pal id=c28><input type=color value=#000000 id=nc28 onchange='document.getElementById("c28").style.backgroundColor=this.value,setClr(28)'></div><br><div class=pal id=c29><input type=color value=#000000 id=nc29 onchange='document.getElementById("c29").style.backgroundColor=this.value,setClr(29)'></div><div class=pal id=c30><input type=color value=#000000 id=nc30 onchange='document.getElementById("c30").style.backgroundColor=this.value,setClr(30)'></div><div class=pal id=c31><input type=color value=#000000 id=nc31 onchange='document.getElementById("c31").style.backgroundColor=this.value,setClr(31)'></div><div class=pal id=c32><input type=color value=#000000 id=nc32 onchange='document.getElementById("c32").style.backgroundColor=this.value,setClr(32)'></div><br></div><br><font size=2em>Mouse Speed:<font><br><input type=range value=0.003 id=sens max=0.01 min=0.0001 step=0.0001 style=width:95px><div><br><input type=button value="Reset View"style=width:95px onclick='window.location.replace("/?1&3&3")'><br><input type=button value="Hide Hud"style=width:95px onclick='window.location.replace("/?2&3&3")'><br><input type=button value="Show Hud"style=width:95px onclick='window.location.replace("/")'><br><input type=button value="Erase Canvas"style=width:95px onclick='window.location.replace("/?3&3&3")'><br><br><input type=button value="Export XYZ"style=width:95px onclick='window.location.replace("/?4&3&3")'><br><input type=button value="Export PLY"style=width:95px onclick='window.location.replace("/?5&3&3")'></div></font></font></div><div class=notmobile id=hti style=z-index:9999;position:absolute;left:30px;top:20px><a href="https://Woxel.xyz" style="color:#ffbf00;text-shadow:#695518 3px 5px">Woxel.xyz</a> <a href=https://github.com/woxels/woxels.github.io/blob/main/README.md target=_blank>Info</a> <a href=https://discord.gg/AH23bGNE2h target=_blank rel=nofollow>Discord</a></div><canvas class=cstyle id=canvas onclick=this.focus(),this.requestPointerLock() oncontextmenu=event.preventDefault() tabindex=-1></canvas><script>var Module={canvas:document.getElementById("canvas")};function copyTextToClipboard(e){var t=document.createElement("textarea");t.style.position="fixed",t.style.top=0,t.style.left=0,t.style.width="2em",t.style.height="2em",t.style.padding=0,t.style.border="none",t.style.outline="none",t.style.boxShadow="none",t.style.background="transparent",t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}function setClr(e){window.location.replace("/?"+e+"&"+document.getElementById("nc"+e).value.slice(1))}Module.arguments=window.location.search.substr(1).split("&");var isnew=localStorage.getItem("isnew");"no"!=isnew&&(localStorage.setItem("isnew","no"),window.isnew=1)</script><script src=FileSaver.min.js></script><script src=index.js async></script></body></html>