|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Desk</title>
|
|
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
|
|
|
|
|
|
<link rel="shortcut icon" href="icons/favicon.svg" id="favicon">
|
|
|
|
<link rel="stylesheet" type="text/css" href="default.css?v=17">
|
|
|
|
|
|
|
|
<script type="text/javascript" src="math.js?v=17"></script>
|
|
|
|
<script type="text/javascript" src="aux.js?v=17"></script>
|
|
|
|
<script type="text/javascript" src="tools.js?v=17"></script>
|
|
|
|
<script type="text/javascript" src="webgl_geometry.js?v=17"></script>
|
|
|
|
<script type="text/javascript" src="webgl_shaders.js?v=17"></script>
|
|
|
|
<script type="text/javascript" src="webgl_listeners.js?v=17"></script>
|
|
|
|
<script type="text/javascript" src="webgl.js?v=17"></script>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="client_send.js?v=17"></script>
|
|
|
|
<script type="text/javascript" src="client_recv.js?v=17"></script>
|
|
|
|
<script type="text/javascript" src="websocket.js?v=17"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<canvas id="c"></canvas>
|
|
|
|
|
|
|
|
<div class="sizer-wrapper">
|
|
|
|
<div class="sizer">
|
|
|
|
<input type="range" class="slider" id="stroke-width" min="1" max="64">
|
|
|
|
</div>
|
|
|
|
<div id="stroke-preview" class="dhide"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pallete-wrapper">
|
|
|
|
<div class="pallete">
|
|
|
|
<div class="color active" data-color="000000"><div class="color-pane" style="background: #000000;"></div></div>
|
|
|
|
<div class="color" data-color="ffffff"><div class="color-pane" style="background: #ffffff;"></div></div>
|
|
|
|
<div class="color" data-color="d65c5c"><div class="color-pane" style="background: #d65c5c;"></div></div>
|
|
|
|
<div class="color" data-color="d6835c"><div class="color-pane" style="background: #d6835c;"></div></div>
|
|
|
|
<div class="color" data-color="72d65c"><div class="color-pane" style="background: #72d65c;"></div></div>
|
|
|
|
<div class="color" data-color="5cd6ce"><div class="color-pane" style="background: #5cd6ce;"></div></div>
|
|
|
|
<div class="color" data-color="5c89d6"><div class="color-pane" style="background: #5c89d6;"></div></div>
|
|
|
|
<div class="color" data-color="6e5cd6"><div class="color-pane" style="background: #6e5cd6;"></div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="tools-wrapper">
|
|
|
|
<div class="tools">
|
|
|
|
<div class="tool active" data-tool="pencil"><img draggable="false" src="icons/draw.svg"></div>
|
|
|
|
<div class="tool" data-tool="ruler"><img draggable="false" src="icons/ruler.svg"></div>
|
|
|
|
<div class="tool" data-tool="eraser"><img draggable="false" src="icons/erase.svg"></div>
|
|
|
|
<div class="tool" data-tool="undo"><img draggable="false" src="icons/undo.svg"></div>
|
|
|
|
<!-- <div class="tool" data-tool="redo"><img draggable="false" src="icons/redo.svg"></div> -->
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="phone-extra-controls">
|
|
|
|
<img draggable="false" src="icons/cheeseburga.svg">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|