add sign images
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 277 B |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 277 B |
Before Width: | Height: | Size: 277 B |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 3.9 KiB |
@ -1,44 +0,0 @@
|
||||
convert -size 32x32 xc:rgb\(0,0,0\) A.png
|
||||
convert -size 32x32 xc:rgb\(5,209,116\) Á.png
|
||||
convert -size 32x32 xc:rgb\(11,162,232\) Ä.png
|
||||
convert -size 32x32 xc:rgb\(17,116,92\) B.png
|
||||
convert -size 32x32 xc:rgb\(23,69,208\) C.png
|
||||
convert -size 32x32 xc:rgb\(29,23,68\) Č.png
|
||||
convert -size 32x32 xc:rgb\(34,232,184\) D.png
|
||||
convert -size 32x32 xc:rgb\(40,186,44\) Ď.png
|
||||
convert -size 32x32 xc:rgb\(46,139,160\) E.png
|
||||
convert -size 32x32 xc:rgb\(52,93,20\) É.png
|
||||
convert -size 32x32 xc:rgb\(58,46,136\) F.png
|
||||
convert -size 32x32 xc:rgb\(63,255,252\) G.png
|
||||
convert -size 32x32 xc:rgb\(69,209,112\) H.png
|
||||
convert -size 32x32 xc:rgb\(75,162,228\) CH.png
|
||||
convert -size 32x32 xc:rgb\(81,116,88\) I.png
|
||||
convert -size 32x32 xc:rgb\(87,69,204\) Í.png
|
||||
convert -size 32x32 xc:rgb\(93,23,64\) J.png
|
||||
convert -size 32x32 xc:rgb\(98,232,180\) K.png
|
||||
convert -size 32x32 xc:rgb\(104,186,40\) L.png
|
||||
convert -size 32x32 xc:rgb\(110,139,156\) Ĺ.png
|
||||
convert -size 32x32 xc:rgb\(116,93,16\) Ľ.png
|
||||
convert -size 32x32 xc:rgb\(122,46,132\) M.png
|
||||
convert -size 32x32 xc:rgb\(127,255,248\) N.png
|
||||
convert -size 32x32 xc:rgb\(133,209,108\) Ň.png
|
||||
convert -size 32x32 xc:rgb\(139,162,224\) O.png
|
||||
convert -size 32x32 xc:rgb\(145,116,84\) Ó.png
|
||||
convert -size 32x32 xc:rgb\(151,69,200\) Ô.png
|
||||
convert -size 32x32 xc:rgb\(157,23,60\) P.png
|
||||
convert -size 32x32 xc:rgb\(162,232,176\) Q.png
|
||||
convert -size 32x32 xc:rgb\(168,186,36\) R.png
|
||||
convert -size 32x32 xc:rgb\(174,139,152\) Ŕ.png
|
||||
convert -size 32x32 xc:rgb\(180,93,12\) S.png
|
||||
convert -size 32x32 xc:rgb\(186,46,128\) Š.png
|
||||
convert -size 32x32 xc:rgb\(191,255,244\) T.png
|
||||
convert -size 32x32 xc:rgb\(197,209,104\) Ť.png
|
||||
convert -size 32x32 xc:rgb\(203,162,220\) U.png
|
||||
convert -size 32x32 xc:rgb\(209,116,80\) Ú.png
|
||||
convert -size 32x32 xc:rgb\(215,69,196\) V.png
|
||||
convert -size 32x32 xc:rgb\(221,23,56\) W.png
|
||||
convert -size 32x32 xc:rgb\(226,232,172\) X.png
|
||||
convert -size 32x32 xc:rgb\(232,186,32\) Y.png
|
||||
convert -size 32x32 xc:rgb\(238,139,148\) Ý.png
|
||||
convert -size 32x32 xc:rgb\(244,93,8\) Z.png
|
||||
convert -size 32x32 xc:rgb\(250,46,124\) Ž.png
|
@ -1,17 +0,0 @@
|
||||
def getRGBfromI(RGBint):
|
||||
blue = RGBint & 255
|
||||
green = (RGBint >> 8) & 255
|
||||
red = (RGBint >> 16) & 255
|
||||
return red, green, blue
|
||||
|
||||
mx = pow(2,24)-1 # i.e. 16777215
|
||||
|
||||
x = 0
|
||||
alphabet = ["A", "Á", "Ä", "B", "C", "Č", "D", "Ď", "E", "É", "F", "G", "H", "CH", "I", "Í", "J", "K", "L", "Ĺ", "Ľ", "M", "N", "Ň", "O", "Ó", "Ô", "P", "Q", "R", "Ŕ", "S", "Š", "T", "Ť", "U", "Ú", "V", "W", "X", "Y", "Ý", "Z", "Ž"]
|
||||
interval = int(mx/(len(alphabet)))
|
||||
with open("gen.sh", "w") as f:
|
||||
for i in range(0, len(alphabet)):
|
||||
red, green, blue = getRGBfromI(i*interval)
|
||||
letter = alphabet[x]
|
||||
f.write("convert -size 32x32 xc:rgb\(" + str(red) + "," + str(green) + "," + str(blue) + "\) " + letter +".png\n")
|
||||
x = x + 1
|
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 277 B |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 3.6 KiB |
@ -99,4 +99,6 @@ td {
|
||||
.imagevec{
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
object-fit: scale-down;
|
||||
background-color:white;
|
||||
}
|
30
index.js
@ -1,18 +1,32 @@
|
||||
var ranid = 1;
|
||||
|
||||
var cntdrag = 1;
|
||||
|
||||
let data_tabl = ["A", "Á", "Ä", "B", "C", "Č", "D", "Ď", "E", "É", "F", "G", "H", "I", "Í", "J", "K", "L", "Ĺ", "Ľ", "M", "N", "Ň", "O", "Ó", "Ô", "P", "Q", "R", "Ŕ", "S", "Š", "T", "Ť", "U", "Ú", "V", "W", "X", "Y", "Ý", "Z", "Ž"];
|
||||
//missing Q, CH, DZ, DŽ, Ä, W, X
|
||||
let data_tabl = ["A", "Á", "B", "C", "Č", "D", "Ď", "E", "É", "F", "G", "H", "I", "Í", "J", "K", "L", "Ĺ", "Ľ", "M", "N", "Ň", "O", "Ó", "Ô", "P", "R", "Ŕ", "S", "Š", "T", "Ť", "U", "Ú", "V", "Y", "Ý", "Z", "Ž"];
|
||||
|
||||
let tocount = 10;
|
||||
|
||||
let words = [
|
||||
"BANKA",
|
||||
"CHROBAK",
|
||||
"CIZMY",
|
||||
"MEC",
|
||||
"STENA",
|
||||
"TEHLA"
|
||||
"DOM",
|
||||
"STROM",
|
||||
"ÚSTA",
|
||||
"NOHA",
|
||||
"MEČ",
|
||||
"ZAJAC",
|
||||
"MAČKA",
|
||||
"KOMÍN",
|
||||
"VÁZA",
|
||||
"ŠESŤ",
|
||||
"KMEŇ",
|
||||
"CITRÓN",
|
||||
"PRST",
|
||||
"MYŠ",
|
||||
"HAD",
|
||||
"HUSLE",
|
||||
"ŽABA",
|
||||
"FÉN",
|
||||
"GUMA",
|
||||
"BÝK"
|
||||
];
|
||||
|
||||
function makeSpaceWord(word){
|
||||
|