Kana Overlapping

1-A_oqjxgSbSuT8eZcs041KA.png

See the demo: https://lucamug.github.io/kana-overlapping/

I was curious to see the hot spots, the most engulfed area of the typical square used, in Japanese language, to write characters.

What would happen if you write all characters in top of each other? Which area would be darker?

So I overlapped all the basic Hiragana/Katakana/Romaji characters. This is the result

1-2QAM0iDtL_UmyA8vLCfVww.png

1-nCgic-fLwmTRC6hTh9cgdA.png

1-p_gMv0Q_12BEIhMmuC8Qtg.png

1-qgdtcvuUkgEmo5cpKB1lvA.png

1-tDVBL6-TINqxXry77AFMxA.png

1-V99S3Fp-_D6K2i199SpYJw.png

1-yHew07RPcN413vDEHt8Mng.png

This is the code to generate the page:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Kana Overlapping</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
    body {
      margin: 0px;
      background-color: #eee;
    }
    h1 {
      font-family: sans-serif;
      text-align: center;
      color: #bbb;
    }
    body > div {
      position: relative;
      height: 128vw;
      margin-top: -24vw;
    }
    body > div:nth-of-type(n+4) {
      font-family: sans-serif;
    }
    body > div > div {
      font-size: 100vw;
      position: absolute;
      opacity: 0.08;
      animation-name: pulse_animation;
      animation-timing-function: linear;
      animation-duration: 1000ms;
    }
    @media (min-width: 500px) {
      body > div {
        height: 65vw;
        margin-top: -12vw;
      }
      body > div > div {
        font-size: 50vw;
        left: 50%;
        transform: translateX(-50%);
      }
    }
    @keyframes pulse_animation {
      0% {transform: opacity: 0;}
      50% {color: #7d1b1b; opacity: 1.0;}
      100% {transform: opacity: 0;}
    }
    </style>
</head>
<body>
    <script>
      var css = [];
      for (i = 0; i <= 46; i++) {
        css.push("body > div > div:nth-of-type(100n+" + i + ") {animation-delay: " + i/2 + "s;}")
      }
      const style = document.createElement('style');
      style.innerHTML = css.join("\n");
      document.head.appendChild(style);
      const kana =
        [ "あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん"
        , "アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲン"
        , "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
        ].map(function(set){
            return "
" + set .split("") .map(function(char){ return "
" + char + ""; }).join("\n") + ""; }).join("\n") document.body.innerHTML = "

Kana Overlapping

"
+ kana + kana; </script> </body> </html>

See the code: https://github.com/lucamug/kana-overlapping

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center