Skip to content

Commit

Permalink
kirilllive
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirilllive committed Apr 29, 2022
1 parent efb7428 commit dfb02b9
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions ascii_paint.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
--bh:#efefff;
--font:Arial;
}
hr{border-top:1px solid var(--cb);margin:4px 0px;}
option{color:#000;}
.cls-2 {stroke:#000;stroke-width: 8px;}
body{height:100vh;width:100vw;}
Expand Down Expand Up @@ -440,15 +441,15 @@
<div id="toast"></div>
<div id='about' style="display:none"><div class='window' style='padding:24px 16px;width:412px;'>
<div><div class='window_close icon icon_close' onclick='modal_window(false)'></div></div>
<div align='center'><p style='font-size:22px;'>ASCII Art Paint</p><hr><br><br>
<div align='center'><p style='font-size:22px;'>ASCII Art Paint</p><hr><p style=''>Release: 4</p><br><br>
<table style='border-spacing:10px;border-collapse:separate; width: 100%;'>
<tr><td align='right' colspan='1'>E-Mail:</td><td align='left' colspan='3'><a href='mailto:tuesdayjsengine@gmail.com' target='_blank'>tuesdayjsengine@gmail.com</a></td></tr>
<tr><td align='right' colspan='1'>WebSite:</td><td align='left' colspan='3'><a href='https://github.com/Kirilllive/ASCII_Art_Paint' target='_blank'>https://github.com/Kirilllive/ASCII_Art_Paint</a></td></tr>
</table><br><br><p>Thanks for the help from users</p><hr><br>
<table width='100%' align='center'><tbody><tr>
<td width='25%' align='center'><a href='https://twitter.com/laurentgontier' target='_blank'>Laurent Gontier</a></td>
<td width='25%' align='center'>Argosa</td>
<td width='25%' align='center'>Marcus Bell</td>
<td width='25%' align='center'><a href='https://twitter.com/onigi123' target='_blank'>Onigi</a></td>
<td width='25%' align='center'>Arne Krause</td>
</tr></tbody></table><br><br>
<p><a href='https://www.patreon.com/tuesday_js' target='_blank'><svg height='40' width='198' viewBox='0 0 1000 200' xmlns='http://www.w3.org/2000/svg'><rect width='1000' height='200' fill='#FF424D'/><path d='M310 129V72h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-1-3-1-5-3-7-1-2-3-3-6-3zm71 36l-1-4c-3 3-7 5-12 5-4 0-7-2-10-4s-4-5-4-9 2-8 5-10c3-3 8-4 14-4h6v-3c0-2 0-4-2-5l-5-2-6 2-2 4h-9l2-7 6-4c3-2 6-2 9-2 5 0 9 1 12 4 3 2 5 6 5 10v19l1 9v1zm-11-7l5-1 4-4v-8h-5l-8 2c-2 1-2 3-2 5l1 4zm59-14v21h-10V72h22c7 0 12 2 15 5 4 3 6 8 6 13 0 6-2 10-6 13-3 3-8 5-15 5zm0-8h12c4 0 6-1 8-3 2-1 3-4 3-7s-1-5-3-7-4-3-7-3h-13zm66 29l-1-4c-3 3-7 5-11 5s-8-2-11-4c-2-2-4-5-4-9s2-8 5-10c4-3 9-4 15-4h6v-3l-2-5-6-2-5 2c-2 1-2 2-2 4h-10c0-3 1-5 3-7 1-2 3-3 6-4 2-2 5-2 9-2 5 0 9 1 12 4 2 2 4 6 4 10v19l2 9v1zm-10-7l5-1 4-4v-8h-6l-8 2-2 5c0 2 0 3 2 4 1 1 2 2 5 2zm40-46v11h7v7h-7v23l1 4 3 1 4-1v8l-7 1c-7 0-11-4-11-12V94h-7v-7h7V76zm37 19h-4c-5 0-7 2-9 5v29h-9V87h9v4c2-3 5-5 9-5h4zm4 12l2-11c2-3 4-6 7-7 3-2 7-3 11-3 5 0 10 2 13 5 4 4 6 9 6 15v2l-2 11c-2 4-4 6-7 8s-6 3-10 3c-6 0-11-2-15-6-3-4-5-10-5-16zm9 1c0 5 1 8 3 10 2 3 4 4 8 4 3 0 5-1 7-4 2-2 3-6 3-11 0-4-1-7-3-10-2-2-4-4-7-4-4 0-6 2-8 4-2 3-3 6-3 11zm47-21v4c3-3 8-5 13-5 8 0 13 5 13 15v28h-9v-28l-2-5c-1-2-3-2-6-2-4 0-7 1-8 5v30h-10V87z' fill='#fff'/><path d='M165 39c-25 0-45 21-45 46s20 46 45 46 45-21 45-46-20-46-45-46' fill='#fff'/><path d='M83 161V39h23v122z' fill='#fff'/></svg></a></p><br>
Expand Down Expand Up @@ -612,8 +613,8 @@
for(var x=0;x<td.length;x++){
if((selected[1]!=selected[3]||selected[0]!=selected[2])&&((y>selected[1]-1&&y<selected[3]+1)||(y>selected[3]-1&&y<selected[1]+1))){
if((x>selected[0]-1&&x<selected[2]+1)||(x>selected[2]-1&&x<selected[0]+1)){td[x].style.backgroundColor="var(--cw)"}
else{td[x].style.backgroundColor=""}}
else{td[x].style.backgroundColor=""}
else{td[x].style.backgroundColor=""}
}else{td[x].style.backgroundColor=""}
};
};
}
Expand Down Expand Up @@ -736,7 +737,7 @@
if(se){
if(selected[0]>selected[2]){x1=selected[2];x2=selected[0]}else{x1=selected[0];x2=selected[2];}
if(selected[1]>selected[3]){y1=selected[3];y2=selected[1]}else{y1=selected[1];y2=selected[3];}
} return se;
}return se;
}
function save_art(c){
var text="";
Expand All @@ -752,7 +753,7 @@
a.setAttribute("href","data:text/json;charset=utf-8,"+encodeURIComponent(text));
a.setAttribute("download","text_art.txt");
a.click();
} else if(window_zone.style.display=="grid"){
}else if(window_zone.style.display=="grid"){
state_save();window_zone.getElementsByClassName('edittext')[0].value=text;
}else{
copydb=text.split("\n");
Expand Down

0 comments on commit dfb02b9

Please sign in to comment.