diff --git a/tools/ascii paint.html b/tools/ascii_paint.html old mode 100644 new mode 100755 similarity index 74% rename from tools/ascii paint.html rename to tools/ascii_paint.html index 2175a0e..1dbefec --- a/tools/ascii paint.html +++ b/tools/ascii_paint.html @@ -21,11 +21,11 @@ outline:none; } :root { - --cw:#efefff; - --cb:#cec8e3; - --cs:rgba(110,95,165,0.25); - --cm:rgba(110,95,165,0.5); - --wn:#fff; + --cw:#efefff; + --cb:#cec8e3; + --cs:rgba(110,95,165,0.25); + --cm:rgba(110,95,165,0.5); + --wn:#fff; } body{height:100vh;width:100vw;} .icon{background-size:22px 22px;background-repeat:no-repeat;background-position:center;} @@ -46,7 +46,16 @@ .icon_pipette{transform:scaleX(-1);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 64 64'%3e%3cpath fill='none' fill-opacity='0' stroke='%23000' stroke-width='3' stroke-linejoin='round' d='M31,13L14,30M29,20L54,45v5l4,4-3,3-4-4H46L21,28m-3-3L8,15C6,13,5,8,7,6s6.852-1.1,9,1L26,17'/%3e%3c/svg%3e")} .icon_edit2{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 256 256'%3e%3cpath fill='none' fill-opacity='0' stroke='%23000' stroke-width='10' stroke-linejoin='round' d='M150.5,44.71h60.03a20,20,0,0,1,20,20V227.63a20,20,0,0,1-20,20H46.47a20,20,0,0,1-20-20V64.71a20,20,0,0,1,20-20H107M105.13,9.37h46.74V160.99H105.13V9.37ZM129.07,160.99V9.37M127.369,204.31h2.279l22.222-43.32H105.147Z'/%3e%3c/svg%3e")} .icon_ok{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 256 256'%3e%3cg fill='none' fill-opacity='0' stroke='%23000' stroke-width='12' stroke-linejoin='round' %3e%3ccircle cx='128' cy='128' r='120'/%3e%3cpath d='M194,82l-86,86L61,124'/%3e%3c/g%3e%3c/svg%3e")} -#asciiscreen { +.show{content:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 64 64'%3e%3cpath fill='none' fill-opacity='0' stroke='%23000' stroke-width='3' stroke-linejoin='round' d='M25.266,39.378A9.989,9.989,0,1,1,39.378,25.266m2.584,5.975C41.981,31.493,42,31.744,42,32A10,10,0,0,1,32,42c-0.256,0-.507-0.019-0.759-0.038M2,32S12,16,32,16a35.006,35.006,0,0,1,13.84,2.8m5.585,2.974A37.4,37.4,0,0,1,62,32M8.8,55.84l45.41-45.41'/%3e%3c/svg%3e");-webkit-appearance:none;-moz-appearance:none;appearance:none;} +.show:checked {content:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 64 64'%3e%3cg fill='none' fill-opacity='0' stroke='%23000' stroke-width='3' stroke-linejoin='round'%3e%3ccircle cx='32' cy='32' r='10'/%3e%3cpath d='M2,32S12,16,32,16,62,32,62,32'/%3e%3c/g%3e%3c/svg%3e");} +.icon_del{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 256 256'%3e%3cpath fill='none' fill-opacity='0' stroke='%23000' stroke-width='12' stroke-linejoin='round' d='M194,62V230H63V62M47,45H210M108,23h39V45H108V23ZM128,62V213M92,62V213M164,62V213'/%3e%3c/svg%3e")} +.icon_size{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 64 64'%3e%3cpath fill='none' fill-opacity='0' stroke='%23000' stroke-width='3' d='M56,41V56H41M8,41V56H23M56,23V8H41M8,23V8H23M21,21H43V43H21V21Z'/%3e%3c/svg%3e")} +.icon_equal{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 256 256'%3e%3cpath fill='none' fill-opacity='0' stroke='%23000' stroke-width='12' stroke-linejoin='round' d='M47,127h161M128,208V47'/%3e%3c/svg%3e")} +.icon_minus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 256 256'%3e%3cpath fill='none' fill-opacity='0' stroke='%23000' stroke-width='12' stroke-linejoin='round' d='M47,127h161'/%3e%3c/svg%3e")} +.icon_scale{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 256 256'%3e%3ccircle fill='none' fill-opacity='0' stroke='%23000' stroke-width='12' stroke-linejoin='round' cx='128' cy='128' r='92'/%3e%3c/svg%3e")} +.icon_diag{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 64 64'%3e%3cpath fill='none' fill-opacity='0' stroke='%23000' stroke-width='3' d='M47,47L4,4M47,32V47H32M62,32V62H32'/%3e%3c/svg%3e")} +.button_s{height:22px;width:22px;background-size:22px 22px;background-repeat:no-repeat;background-position:center;cursor:pointer;} +#asciiscreen{ position:relative; box-shadow:0px 2px 24px var(--cs); } @@ -161,19 +170,19 @@ background-position:left 9px center; } .button:hover{background-color:var(--cb);} -.symbol_select { +.symbol_select{ cursor: pointer; position: relative; height:32px; width:32px; float:left; } -.symbol_select input { - position: absolute; - display:none; - cursor: pointer; +.symbol_select input{ + position: absolute; + display:none; + cursor: pointer; } -.symbol_select span { +.symbol_select span{ position: absolute; display:grid;justify-content:center;align-items:center; top:0;left:0; @@ -193,10 +202,27 @@ width:100%; -webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text; } - +#scene_controll{ + position:fixed; + height:40px; + z-index:10000; + bottom:32px; + right:288px; + border-radius:20px; + background-color:var(--wn); + box-shadow:0px 2px 24px var(--cs); + cursor:pointer; +} +.align{ + -webkit-appearance:none;-moz-appearance:none;appearance:none; + height:32px;width:32px; + border-radius:4px;cursor:pointer; +} +.align:checked{background-color:var(--cb);} + @@ -231,11 +257,54 @@ -
+
-
Edit symbol palette
+
Edit symbol palette
+ +
+ + + + + + + + + + + + +
+
+ + + + + + + + + + +
+
+
Width
Height
+
Resize canvas
+
- + @@ -262,6 +331,17 @@ +
+ + + + + + + + +
+
@@ -311,10 +391,11 @@