diff --git a/resen/kadish/fonts/Copyright_OH_SagiIdan.pdf b/resen/kadish/fonts/Copyright_OH_SagiIdan.pdf deleted file mode 100644 index 79e9c74..0000000 Binary files a/resen/kadish/fonts/Copyright_OH_SagiIdan.pdf and /dev/null differ diff --git a/resen/kadish/fonts/OHSagiIdan-Regular.woff2 b/resen/kadish/fonts/OHSagiIdan-Regular.woff2 deleted file mode 100644 index 5eda69b..0000000 Binary files a/resen/kadish/fonts/OHSagiIdan-Regular.woff2 and /dev/null differ diff --git a/resen/kadish/fonts/OHSagiIdan_license_addendum.txt b/resen/kadish/fonts/OHSagiIdan_license_addendum.txt deleted file mode 100644 index 8d1ea5a..0000000 --- a/resen/kadish/fonts/OHSagiIdan_license_addendum.txt +++ /dev/null @@ -1,2 +0,0 @@ -OH has graciously granted us permission to upload the font file to a public server, as an exception to the user license agreement. -Any downloading of the font file should be done from the project website: https://www.ot-hayim.co.il/fonts/sagi-idan/ \ No newline at end of file diff --git a/resen/kadish/index.html b/resen/kadish/index.html deleted file mode 100644 index 2bf000e..0000000 --- a/resen/kadish/index.html +++ /dev/null @@ -1,576 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

-

- לחוויה המלאה השתמשו במקלדת. - גופן כתב היד מכתב ידו של שגיא עידן ז"ל, מיזם - אות.חיים. -

-
- - - - \ No newline at end of file diff --git a/resen/kadish/media/kadish1.jpg b/resen/kadish/media/kadish1.jpg deleted file mode 100644 index 376d141..0000000 Binary files a/resen/kadish/media/kadish1.jpg and /dev/null differ diff --git a/resen/kadish/media/kadish2.jpg b/resen/kadish/media/kadish2.jpg deleted file mode 100644 index 99ebc57..0000000 Binary files a/resen/kadish/media/kadish2.jpg and /dev/null differ diff --git a/resen/kadish/script.js b/resen/kadish/script.js deleted file mode 100644 index aa2f2ed..0000000 --- a/resen/kadish/script.js +++ /dev/null @@ -1,79 +0,0 @@ -const kadish = ` -יִתְגַּדַּל וְיִתְקַדַּשׁ שְׁמֵהּ רַבָּא. -בְּעָלְמָא דִי בְרָא כִרְעוּתֵהּ וְיַמְלִיךְ מַלְכוּתֵהּ, -וְיַצְמַח פּוּרְקָנֵהּ וִיקָרֵב מְשִׁיחֵהּ. -בְּחַיֵיכוֹן וּבְיוֹמֵיכוֹן וּבְחַיֵי דְּכָל בֵּית -יִשְׂרָאֵל, בַּעֲגַלָא וּבִזְמַן קָרִיב וְאִמְרוּ אָמֵן. -יְהֵא שְׁמֵהּ רַבָּא מְבָרַךְ לְעָלַם וּלְעָלְמֵי -עָלְמַיָּא. -יְהֵא שְׁמֵהּ רַבָּא מְבָרַךְ לְעָלַם לְעָלְמֵי עָלְמַיָּא. -יִתְבָּרַךְ וְיִשְׁתַּבַּח וְיִתְפָּאַר וְיִתְרוֹמַם וְיִתְנַשֵּׂא -וְיִתְהַדָּר וְיִתְעַלֶּה וְיִתְהַלָּל, שְׁמֵהּ דְּקֻדְשָׁא -בְּרִיךְ הוּא. -לְעֵלָא מִן כָּל בִּרְכָתָא וְשִׁירָתָא תֻּשְׁבְּחָתָא וְנֶחָמָתָא, -דַאֲמִירָן בְּעָלְמָא וְאִמְרוּ אָמֵן. -יְהֵא שְׁלָמָא רַבָּא מִן שְׁמַיָּא חַיִּים וְשָׂבָע -וִישוּעָה וְנֶחָמָה וְשֵׁיזָבָה וּרְפוּאָה וּגְאֻלָּה -וּסְלִיחָה וְכַפָּרָה וְרֵוַח וְהַצָּלָה לָנוּ וּלְכָל -עַמּוֹ יִשְׂרָאֵל וְאִמְרוּ אָמֵן. -עוֹשֶׂה שָׁלוֹם בִּמְרוֹמָיו הוּא יַעֲשֶׂה שָׁלוֹם -עָלֵינוּ וְעַל כָּל עַמּוֹ יִשְׂרָאֵל, וְאִמְרוּ אָמֵן. -` -const prefix = ` -נטרדל דרדנבי רלה נדא -כרתבה גא דנא נגרופא נגרפיח נקדומא -פירסא קונדלא דמגרס נסרטא -` -const caret_char = '_' - -const nikud_pisuk = kadish.match(/[א-ת][^א-ת]*/g).map(m => m.slice(1)) -const prefix_chars = prefix.match(/[א-ת]/g) -console.log(nikud_pisuk.length, prefix_chars.length + document.querySelectorAll('svg text').length) - -function update_caret(current) { - if (current) - current.classList.remove('blink') - const caret = document.querySelector('svg text:empty') - if (caret) { - caret.textContent = caret_char - caret.classList.add('blink') - } - if (current) { - (caret || current).scrollIntoView({behavior: 'smooth'}) - document.activeElement.blur() - } - return caret -} -const first = update_caret() - -document.addEventListener('keydown', event => { - if (event.altKey || event.ctrlKey || event.metaKey) - return - const chars = [...document.querySelectorAll('svg text:not(:empty)')] - const current = chars.pop() - if (event.key.match(/[א-ת]/) && current.textContent == caret_char) { - current.textContent = event.key - let caret = update_caret(current) - if (!caret && !play.classList.contains('on')) - play.click() - } - else if (event.key == 'Backspace' && current != first) - { - if (current.textContent == caret_char) - chars.pop().textContent = '' - current.textContent = '' - update_caret(current) - } else if (event.key == ' ' && event.target == document.body) - event.preventDefault() -}) - -play.addEventListener('click', event => { - if (play.classList.toggle('on')) { - const utter = new SpeechSynthesisUtterance([...prefix_chars, ...document.querySelectorAll('svg text:not(:empty):not(.blink)')].map((e, i) => (e.textContent ?? e) + nikud_pisuk[i]).join('')) - console.log(utter.text) - utter.lang = 'he' - utter.rate = .6 - utter.onend = e => {if (e.charIndex && e.charIndex % utter.text.length == 0) play.click()} - speechSynthesis.speak(utter) - } else speechSynthesis.cancel() -}) \ No newline at end of file diff --git a/resen/kadish/snippet b/resen/kadish/snippet deleted file mode 100644 index 37dd937..0000000 Binary files a/resen/kadish/snippet and /dev/null differ diff --git a/resen/kadish/style.css b/resen/kadish/style.css deleted file mode 100644 index 8edaf05..0000000 --- a/resen/kadish/style.css +++ /dev/null @@ -1,36 +0,0 @@ -@font-face { - font-family: ktiv; - font-display: block; - src: url('fonts/OHSagiIdan-Regular.woff2'); -} - -svg { - margin-inline: auto; - width: 100%; -} - -image { - height: 100%; - width: 100%; -} - -g { - translate: 1px -1.5px; -} - -text { - font-family: ktiv; - text-anchor: end; - dominant-baseline: hanging; - font-size: .45rem; - fill: #c13a16; - scroll-margin-top: min(25rem, 50vh); -} - -@keyframes blink { - 50% { opacity: 0 } -} - -.blink { - animation: 1.5s infinite steps(1) blink; -} \ No newline at end of file diff --git a/resen/pages.js b/resen/pages.js index 73d3539..ec959dc 100644 --- a/resen/pages.js +++ b/resen/pages.js @@ -8,7 +8,7 @@ const pages = { "receptacle/": {title: "כלי קיבולת", alt: "Receptacle", author: "amitbenami", kw: ["poem"]}, - "kadish/": {title: "קדיש", alt: "Kadish", author: "omridanino", kw: [1, "interactive", "poem", "visual"], skip: true}, + "kaddish/": {title: "קדיש", alt: "Kaddish", author: "omridanino", kw: [1, "interactive", "poem", "visual"], skip: true}, "water/": {title: "מים", alt: "Water", author: "arikweiss", kw: [1, "2d 3d", "interactive", "visual"], skip: true}, "talismetta/": {title: "טליס־מטא", alt: "Talis-Metta", author: ["neorashem", "nimrodkerrett"], kw: [1, "software", "visual"]}, "snark/": {title: "כרחש אבמ\"ח וכרחש אדו\"ש", alt: "ABMḤ snark and ADWŠ", author: "eyalgruss", kw: [1, "2d 3d", "combinatorial", "interactive", "new constraint", "pangram", "software", "sound", "visual"]},