Spaces:
Running
Running
Update index.html
Browse files- index.html +710 -171
index.html
CHANGED
|
@@ -3,210 +3,749 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>Faunix
|
|
|
|
| 7 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 8 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 9 |
-
<link href="https://fonts.googleapis.com/css2?family=
|
|
|
|
| 10 |
<link rel="stylesheet" href="style.css">
|
| 11 |
</head>
|
| 12 |
<body>
|
| 13 |
|
| 14 |
-
<
|
| 15 |
-
<div class="
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
<h1 class="brand-name">Faunix</h1>
|
| 19 |
-
</div>
|
| 20 |
-
<div class="brand-slogan">Small, but efficient AI models :)</div>
|
| 21 |
</div>
|
| 22 |
-
|
| 23 |
-
<a href="#projects" class="nav-item">Our projects</a>
|
| 24 |
-
<a href="#about" class="nav-item">About us</a>
|
| 25 |
-
</nav>
|
| 26 |
-
</header>
|
| 27 |
|
| 28 |
-
<div class="
|
| 29 |
-
<
|
| 30 |
-
<
|
| 31 |
</div>
|
| 32 |
|
| 33 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
-
<div class="
|
| 36 |
-
<h2 class="section-title">OUR PROJECTS</h2>
|
| 37 |
|
| 38 |
-
<
|
| 39 |
-
<
|
| 40 |
-
<
|
| 41 |
-
<
|
| 42 |
-
<span class="
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
<
|
| 51 |
-
<span class="highlight">Our April Fools' AI!</span><br><br>
|
| 52 |
-
LiarAI-2B — the ultimate liar of 2026. This model hallucinates in approximately 101% of cases... The symbol of April Fools' Day: Trust no one! Now, it is the symbol of LiarAI...
|
| 53 |
-
</p>
|
| 54 |
-
<a href="https://huggingface.co/faunix/LiarAI" target="_blank" class="btn">LEARN MORE</a>
|
| 55 |
</div>
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
|
|
|
|
|
|
| 64 |
</div>
|
|
|
|
| 65 |
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
<
|
| 69 |
-
<span class="highlight-disabled">???</span><br><br>
|
| 70 |
-
???
|
| 71 |
-
</p>
|
| 72 |
-
<span class="btn btn-disabled">SOON...</span>
|
| 73 |
</div>
|
| 74 |
-
|
| 75 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
<div class="about-card">
|
| 86 |
-
<p class="about-text">
|
| 87 |
-
We are school students studying AI. We are experimenting with fine-tuning models, and in the future, we even plan to train them from scratch.
|
| 88 |
-
</p>
|
| 89 |
-
<p class="about-text">
|
| 90 |
-
There are only two of us, <span class="highlight">two 13-year-old school students!</span> We work on Kaggle T4 GPUs and have already released 4 models. One of them (<span class="highlight">QwenSeek-2B GGUF version</span>) has already reached <span class="highlight">over 10,000 downloads!</span>
|
| 91 |
-
</p>
|
| 92 |
-
|
| 93 |
-
<h3 class="about-subtitle">Our Goal</h3>
|
| 94 |
-
<p class="about-text">
|
| 95 |
-
Actually, we haven't figured out our main goal yet... But for now, our motto is <span class="highlight">"Small, but efficient AI models"</span>. This means we build compact yet effective AI models that can achieve incredible results despite their small size! We are also proving that school students are actively exploring AI — not just by using it, but by creating it :)
|
| 96 |
-
</p>
|
| 97 |
-
</div>
|
| 98 |
-
</div>
|
| 99 |
|
| 100 |
-
<hr class="separator">
|
| 101 |
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
<
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
<
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
</div>
|
| 120 |
-
|
| 121 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
|
| 123 |
<script>
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
|
|
|
|
|
|
| 140 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
setTimeout(() => {
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
}
|
| 209 |
});
|
|
|
|
|
|
|
|
|
|
| 210 |
</script>
|
|
|
|
| 211 |
</body>
|
| 212 |
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Faunix</title>
|
| 7 |
+
|
| 8 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 9 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 10 |
+
<link href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=IBM+Plex+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&display=swap" rel="stylesheet">
|
| 11 |
+
|
| 12 |
<link rel="stylesheet" href="style.css">
|
| 13 |
</head>
|
| 14 |
<body>
|
| 15 |
|
| 16 |
+
<div class="bg" aria-hidden="true">
|
| 17 |
+
<div class="dust" id="dust"></div>
|
| 18 |
+
<div class="bg__spotwrap">
|
| 19 |
+
<div class="bg__spot" id="spot"></div>
|
|
|
|
|
|
|
|
|
|
| 20 |
</div>
|
| 21 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
+
<div class="cursor" id="cursor" aria-hidden="true">
|
| 24 |
+
<span class="cursor__ring"></span>
|
| 25 |
+
<span class="cursor__dot"></span>
|
| 26 |
</div>
|
| 27 |
|
| 28 |
+
<header class="navbar">
|
| 29 |
+
<div class="navbar__backdrop" aria-hidden="true"></div>
|
| 30 |
+
<div class="navbar__inner">
|
| 31 |
+
<a class="navbar__brand" href="#">
|
| 32 |
+
<img class="navbar__logo" src="static/faunix.png" alt="Faunix">
|
| 33 |
+
<span class="navbar__name">Faunix</span>
|
| 34 |
+
</a>
|
| 35 |
+
<nav class="navbar__menu">
|
| 36 |
+
<div class="dd">
|
| 37 |
+
<button class="dd__btn" aria-haspopup="true" aria-expanded="false">
|
| 38 |
+
Product
|
| 39 |
+
<span class="dd__chev"><svg viewBox="0 0 12 12" fill="none"><path d="M2 4l4 4 4-4" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
|
| 40 |
+
</button>
|
| 41 |
+
<div class="dd__panel">
|
| 42 |
+
<div class="dd__item dd__item--expand">
|
| 43 |
+
<a class="dd__link" href="https://huggingface.co/faunix/QwenSeek-2B" target="_blank" rel="noopener">
|
| 44 |
+
<span class="dd__link__name">QwenSeek-2B</span>
|
| 45 |
+
<span class="dd__link__desc">Distillation of thinking of DeepSeek V4 into Qwen3.5-2B.</span>
|
| 46 |
+
</a>
|
| 47 |
+
<div class="dd__sub">
|
| 48 |
+
<a class="dd__link dd__link--sub" href="https://huggingface.co/faunix/QwenSeek-2B-GGUF" target="_blank" rel="noopener">
|
| 49 |
+
<span class="dd__link__name">QwenSeek-2B-GGUF</span>
|
| 50 |
+
<span class="dd__link__desc">GGUF version of QwenSeek-2B.</span>
|
| 51 |
+
</a>
|
| 52 |
+
</div>
|
| 53 |
+
</div>
|
| 54 |
+
<a class="dd__link" href="https://huggingface.co/faunix/LiarAI" target="_blank" rel="noopener">
|
| 55 |
+
<span class="dd__link__name">LiarAI</span>
|
| 56 |
+
<span class="dd__link__desc">The ultimate liar of 2026. An April Fools' AI with a 15M token context window and 258 parameters.</span>
|
| 57 |
+
</a>
|
| 58 |
+
<a class="dd__link" href="https://huggingface.co/faunix/YEN" target="_blank" rel="noopener">
|
| 59 |
+
<span class="dd__link__name">YEN</span>
|
| 60 |
+
<span class="dd__link__desc">A 258-parameter model. It only says Yes or No.</span>
|
| 61 |
+
</a>
|
| 62 |
+
</div>
|
| 63 |
+
</div>
|
| 64 |
+
<div class="dd">
|
| 65 |
+
<button class="dd__btn" aria-haspopup="true" aria-expanded="false">
|
| 66 |
+
Connect
|
| 67 |
+
<span class="dd__chev"><svg viewBox="0 0 12 12" fill="none"><path d="M2 4l4 4 4-4" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
|
| 68 |
+
</button>
|
| 69 |
+
<div class="dd__panel">
|
| 70 |
+
<a class="dd__link" href="https://huggingface.co/faunix" target="_blank" rel="noopener">
|
| 71 |
+
<span class="dd__link__name">Hugging Face</span>
|
| 72 |
+
</a>
|
| 73 |
+
<a class="dd__link" href="https://x.com/Faunix_AI" target="_blank" rel="noopener">
|
| 74 |
+
<span class="dd__link__name">X / Twitter</span>
|
| 75 |
+
</a>
|
| 76 |
+
<a class="dd__link" href="https://www.youtube.com/@faunix-ai" target="_blank" rel="noopener">
|
| 77 |
+
<span class="dd__link__name">YouTube</span>
|
| 78 |
+
</a>
|
| 79 |
+
</div>
|
| 80 |
+
</div>
|
| 81 |
+
</nav>
|
| 82 |
+
</div>
|
| 83 |
+
</header>
|
| 84 |
|
| 85 |
+
<div class="scroll-wrap" id="scrollWrap">
|
|
|
|
| 86 |
|
| 87 |
+
<main class="hero">
|
| 88 |
+
<h1 class="headline">
|
| 89 |
+
<span class="line line--glow"><span class="w" style="--d:0.05s">Small,</span><span class="w" style="--d:0.14s">but</span><span class="w" style="--d:0.23s">efficient</span><span class="w" style="--d:0.32s">AI</span><span class="w" style="--d:0.41s">models</span></span>
|
| 90 |
+
<span class="line line--morph"><span class="w" style="--d:0.55s">for</span><span class="w" style="--d:0.64s">everyone</span><span class="w" style="--d:0.73s">who</span><span class="morph-zone w" id="zone" style="--d:0.84s">
|
| 91 |
+
<span class="morph-strut" aria-hidden="true">x</span>
|
| 92 |
+
<span class="morph-layer" id="layerA"></span>
|
| 93 |
+
<span class="morph-layer" id="layerB"></span>
|
| 94 |
+
<span class="morph-underline" id="underline"></span>
|
| 95 |
+
<span class="morph-dot" id="dot">.</span>
|
| 96 |
+
</span></span>
|
| 97 |
+
</h1>
|
| 98 |
+
</main>
|
| 99 |
|
| 100 |
+
<section class="news">
|
| 101 |
+
<div class="news__head reveal">
|
| 102 |
+
<h2 class="news__title">Latest Project</h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
</div>
|
| 104 |
+
<div class="news__grid">
|
| 105 |
+
<a class="news-card reveal" href="https://huggingface.co/faunix/QwenSeek-2B" target="_blank" rel="noopener" style="transition-delay: 0.12s;">
|
| 106 |
+
<div class="news-card__panel">
|
| 107 |
+
<span class="news-card__badge">LATEST</span>
|
| 108 |
+
<img class="news-card__img" id="newsImg" src="static/qwenseek2b.png" alt="QwenSeek-2B">
|
| 109 |
+
</div>
|
| 110 |
+
<div class="news-card__meta">MAY 3, 2026 · 2B</div>
|
| 111 |
+
<div class="news-card__name">QwenSeek-2B</div>
|
| 112 |
+
<div class="news-card__desc">DeepSeek-V4 thinking, distilled into Qwen3.5-2B. Your pocket reasoning model.</div>
|
| 113 |
+
</a>
|
| 114 |
</div>
|
| 115 |
+
</section>
|
| 116 |
|
| 117 |
+
<section class="demo">
|
| 118 |
+
<div class="demo__head reveal">
|
| 119 |
+
<h2 class="demo__title">Examples of our models</h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
</div>
|
| 121 |
+
<div class="win reveal" id="win">
|
| 122 |
+
<div class="win__bar">
|
| 123 |
+
<span class="win__dot win__dot--r"></span>
|
| 124 |
+
<span class="win__dot win__dot--y"></span>
|
| 125 |
+
<span class="win__dot win__dot--g"></span>
|
| 126 |
+
<span class="win__name" id="winName">qwenseek-2b — chat</span>
|
| 127 |
+
<div class="dd win__model">
|
| 128 |
+
<button class="dd__btn win__model__btn" aria-haspopup="true" aria-expanded="false">
|
| 129 |
+
<span id="modelName">QwenSeek-2B</span>
|
| 130 |
+
<span class="dd__chev"><svg viewBox="0 0 12 12" fill="none"><path d="M2 4l4 4 4-4" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
|
| 131 |
+
</button>
|
| 132 |
+
<div class="dd__panel win__menu">
|
| 133 |
+
<button class="win__menu__item" data-model="qwenseek">QwenSeek-2B</button>
|
| 134 |
+
<button class="win__menu__item" data-model="liar">LiarAI</button>
|
| 135 |
+
<button class="win__menu__item" data-model="yen">YEN</button>
|
| 136 |
+
</div>
|
| 137 |
+
</div>
|
| 138 |
+
</div>
|
| 139 |
+
<div class="win__chat" id="chat"></div>
|
| 140 |
+
<div class="win__input" id="winInput">
|
| 141 |
+
<input class="win__field" id="field" type="text" placeholder="Ask anything..." autocomplete="off" disabled>
|
| 142 |
+
<button class="win__send" id="send" aria-label="Send">
|
| 143 |
+
<svg viewBox="0 0 24 24" fill="none"><path d="M12 19V5" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/><path d="M5 12l7-7 7 7" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
| 144 |
+
</button>
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
</section>
|
| 148 |
|
| 149 |
+
<section class="about">
|
| 150 |
+
<div class="about__inner reveal">
|
| 151 |
+
<h2 class="about__title">About Faunix</h2>
|
| 152 |
+
<p class="about__text">
|
| 153 |
+
Faunix is a small team building open AI. At its core — just two schoolkids, 12 and 13 years old: <a class="about__link" href="https://huggingface.co/Didiblud" target="_blank" rel="noopener">阿时时</a> and <a class="about__link" href="https://huggingface.co/Limen4ik" target="_blank" rel="noopener">L1men4ik</a>. Our mission is to create small but efficient AI models for the whole world. We make AI open and accessible for everyone, so people can run their favorite models in a smaller size, locally, on their own hardware.
|
| 154 |
+
</p>
|
| 155 |
+
</div>
|
| 156 |
+
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 157 |
|
|
|
|
| 158 |
|
| 159 |
+
<div class="footer__line" aria-hidden="true"></div>
|
| 160 |
+
|
| 161 |
+
<footer class="footer">
|
| 162 |
+
<div class="footer__inner reveal">
|
| 163 |
+
<div class="footer__brand">
|
| 164 |
+
<a class="footer__logo" href="#">
|
| 165 |
+
<img class="footer__logo__img" src="static/faunix.png" alt="Faunix">
|
| 166 |
+
<span class="footer__logo__name">Faunix</span>
|
| 167 |
+
</a>
|
| 168 |
+
<p class="footer__copy">Copyright © 2026 Faunix. All Rights Reserved.</p>
|
| 169 |
+
</div>
|
| 170 |
+
<nav class="footer__cols">
|
| 171 |
+
<div class="footer__col">
|
| 172 |
+
<div class="footer__col__title">Products</div>
|
| 173 |
+
<a class="footer__link" href="https://huggingface.co/faunix/QwenSeek-2B" target="_blank" rel="noopener">QwenSeek-2B</a>
|
| 174 |
+
<a class="footer__link" href="https://huggingface.co/faunix/LiarAI" target="_blank" rel="noopener">LiarAI</a>
|
| 175 |
+
<a class="footer__link" href="https://huggingface.co/faunix/YEN" target="_blank" rel="noopener">YEN</a>
|
| 176 |
+
</div>
|
| 177 |
+
<div class="footer__col">
|
| 178 |
+
<div class="footer__col__title">Connect</div>
|
| 179 |
+
<a class="footer__link" href="https://huggingface.co/faunix" target="_blank" rel="noopener">Hugging Face</a>
|
| 180 |
+
<a class="footer__link" href="https://x.com/Faunix_AI" target="_blank" rel="noopener">X / Twitter</a>
|
| 181 |
+
<a class="footer__link" href="https://www.youtube.com/@faunix-ai" target="_blank" rel="noopener">YouTube</a>
|
| 182 |
+
</div>
|
| 183 |
+
</nav>
|
| 184 |
</div>
|
| 185 |
+
<div class="footer__giant" aria-hidden="true">Faunix</div>
|
| 186 |
+
<div class="footer__glow" aria-hidden="true"></div>
|
| 187 |
+
</footer>
|
| 188 |
+
|
| 189 |
+
</div>
|
| 190 |
+
|
| 191 |
+
<span class="morph-measure" id="measure" aria-hidden="true"></span>
|
| 192 |
|
| 193 |
<script>
|
| 194 |
+
const WORDS = ["builds", "learns", "creates", "dreams",
|
| 195 |
+
"explores", "ships", "imagines", "reasons"];
|
| 196 |
+
|
| 197 |
+
const STEP = 80;
|
| 198 |
+
const DUR = 640;
|
| 199 |
+
const HOLD = 1600;
|
| 200 |
+
const EASE = "ease-in-out";
|
| 201 |
+
const REDUCED = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
| 202 |
+
|
| 203 |
+
const zone = document.getElementById("zone");
|
| 204 |
+
const layerA = document.getElementById("layerA");
|
| 205 |
+
const layerB = document.getElementById("layerB");
|
| 206 |
+
const dot = document.getElementById("dot");
|
| 207 |
+
const underline = document.getElementById("underline");
|
| 208 |
+
const measure = document.getElementById("measure");
|
| 209 |
+
|
| 210 |
+
const widthOf = (w) => { measure.textContent = w; return measure.getBoundingClientRect().width; };
|
| 211 |
+
const build = (layer, w) => { layer.innerHTML = w.split("").map((c, i) => `<span class="ch" style="--i:${i}">${c}</span>`).join(""); return layer.querySelectorAll(".ch"); };
|
| 212 |
|
| 213 |
+
let widths = WORDS.map(widthOf);
|
| 214 |
+
zone.style.setProperty("--mw", Math.max(...widths) + "px");
|
| 215 |
+
|
| 216 |
+
let cur = layerA, nxt = layerB, idx = 0;
|
| 217 |
+
let curCh = build(cur, WORDS[0]);
|
| 218 |
+
curCh.forEach(s => (s.style.opacity = "1"));
|
| 219 |
+
setGlide(0);
|
| 220 |
+
|
| 221 |
+
function setGlide(i) {
|
| 222 |
+
const w = widths[i] + "px";
|
| 223 |
+
zone.style.setProperty("--uw", w);
|
| 224 |
+
dot.style.left = w;
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
function shine(L) {
|
| 228 |
+
if (REDUCED) return;
|
| 229 |
setTimeout(() => {
|
| 230 |
+
L.classList.add("is-shine");
|
| 231 |
+
setTimeout(() => L.classList.remove("is-shine"), 1400);
|
| 232 |
+
}, 300);
|
| 233 |
+
}
|
| 234 |
+
|
| 235 |
+
function transition(toIdx) {
|
| 236 |
+
const a = WORDS[idx], b = WORDS[toIdx];
|
| 237 |
+
const nCh = build(nxt, b);
|
| 238 |
+
const cCh = curCh;
|
| 239 |
+
const max = Math.max(a.length, b.length);
|
| 240 |
+
|
| 241 |
+
nCh.forEach((s) => { s.style.opacity = "0"; });
|
| 242 |
+
cCh.forEach((s) => { s.style.opacity = "1"; });
|
| 243 |
+
|
| 244 |
+
setGlide(toIdx);
|
| 245 |
+
const anims = [];
|
| 246 |
+
|
| 247 |
+
for (let i = 0; i < max; i++) {
|
| 248 |
+
const ca = i < a.length ? cCh[i] : null;
|
| 249 |
+
const cb = i < b.length ? nCh[i] : null;
|
| 250 |
+
const delay = i * STEP;
|
| 251 |
+
|
| 252 |
+
if (ca && cb) {
|
| 253 |
+
anims.push(ca.animate(
|
| 254 |
+
[{ opacity: 1, filter: "blur(0)" }, { opacity: 0.2, filter: "blur(1.6px)" }, { opacity: 0, filter: "blur(0)" }],
|
| 255 |
+
{ duration: DUR, delay, easing: EASE, fill: "both" }));
|
| 256 |
+
anims.push(cb.animate(
|
| 257 |
+
[{ opacity: 0, filter: "blur(0)" }, { opacity: 0.2, filter: "blur(1.6px)" }, { opacity: 1, filter: "blur(0)" }],
|
| 258 |
+
{ duration: DUR, delay, easing: EASE, fill: "both" }));
|
| 259 |
+
} else if (ca) {
|
| 260 |
+
anims.push(ca.animate(
|
| 261 |
+
[{ opacity: 1, filter: "blur(0)" }, { opacity: 0, filter: "blur(1.2px)" }],
|
| 262 |
+
{ duration: DUR * 0.8, delay, easing: EASE, fill: "both" }));
|
| 263 |
+
} else if (cb) {
|
| 264 |
+
anims.push(cb.animate(
|
| 265 |
+
[{ opacity: 0, filter: "blur(1.2px)" }, { opacity: 0.2, filter: "blur(1.6px)" }, { opacity: 1, filter: "blur(0)" }],
|
| 266 |
+
{ duration: DUR, delay, easing: EASE, fill: "both" }));
|
| 267 |
}
|
| 268 |
}
|
| 269 |
|
| 270 |
+
Promise.all(anims.map(a => a.finished)).then(() => {
|
| 271 |
+
nCh.forEach(s => { s.style.opacity = "1"; s.style.filter = "blur(0)"; });
|
| 272 |
+
cCh.forEach(s => { s.style.opacity = "0"; });
|
| 273 |
+
cur = nxt; nxt = (cur === layerA) ? layerB : layerA;
|
| 274 |
+
curCh = nCh; idx = toIdx;
|
| 275 |
+
shine(cur);
|
| 276 |
+
setTimeout(() => transition((idx + 1) % WORDS.length), HOLD);
|
| 277 |
+
});
|
| 278 |
+
}
|
| 279 |
+
|
| 280 |
+
document.fonts.ready.then(() => {
|
| 281 |
+
widths = WORDS.map(widthOf);
|
| 282 |
+
zone.style.setProperty("--mw", Math.max(...widths) + "px");
|
| 283 |
+
setGlide(0);
|
| 284 |
+
if (!REDUCED) setTimeout(() => transition(1), 1400);
|
| 285 |
+
});
|
| 286 |
+
|
| 287 |
+
if (!REDUCED) {
|
| 288 |
+
const dust = document.getElementById("dust");
|
| 289 |
+
for (let i = 0; i < 128; i++) {
|
| 290 |
+
const p = document.createElement("div");
|
| 291 |
+
p.className = "particle";
|
| 292 |
+
const s = Math.random() * 1.6 + 0.55;
|
| 293 |
+
p.style.width = p.style.height = s + "px";
|
| 294 |
+
p.style.left = Math.random() * 100 + "%";
|
| 295 |
+
p.style.top = Math.random() * 100 + "%";
|
| 296 |
+
p.style.setProperty("--dx", (Math.random() - 0.5) * 120 + "px");
|
| 297 |
+
p.style.setProperty("--dy", (Math.random() - 0.5) * 120 + "px");
|
| 298 |
+
p.style.setProperty("--dur", (12 + Math.random() * 12) + "s");
|
| 299 |
+
p.style.setProperty("--del", (Math.random() * 10) + "s");
|
| 300 |
+
p.style.setProperty("--op", (0.10 + Math.random() * 0.20).toFixed(2));
|
| 301 |
+
dust.appendChild(p);
|
| 302 |
+
}
|
| 303 |
+
}
|
| 304 |
+
|
| 305 |
+
(function () {
|
| 306 |
+
const FINE = window.matchMedia("(hover: hover) and (pointer: fine)").matches;
|
| 307 |
+
if (!FINE) return;
|
| 308 |
+
|
| 309 |
+
const wrap = document.getElementById("cursor");
|
| 310 |
+
const cDot = wrap.querySelector(".cursor__dot");
|
| 311 |
+
const cRing = wrap.querySelector(".cursor__ring");
|
| 312 |
+
if (!wrap || !cDot || !cRing) return;
|
| 313 |
+
|
| 314 |
+
const REDUCED_M = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
| 315 |
+
const EASEC = REDUCED_M ? 1 : 0.18;
|
| 316 |
+
const HOVER_SEL = "a, button, [data-cursor-hover]";
|
| 317 |
+
|
| 318 |
+
document.documentElement.classList.add("cursor-on");
|
| 319 |
+
|
| 320 |
+
let tx = window.innerWidth / 2, ty = window.innerHeight / 2;
|
| 321 |
+
let rx = tx, ry = ty;
|
| 322 |
+
|
| 323 |
+
function place(el, x, y) {
|
| 324 |
+
el.style.transform = "translate(" + x + "px, " + y + "px) translate(-50%, -50%)";
|
| 325 |
+
}
|
| 326 |
+
|
| 327 |
+
window.addEventListener("mousemove", (e) => {
|
| 328 |
+
tx = e.clientX;
|
| 329 |
+
ty = e.clientY;
|
| 330 |
+
place(cDot, tx, ty);
|
| 331 |
+
if (!wrap.classList.contains("is-ready")) wrap.classList.add("is-ready");
|
| 332 |
+
});
|
| 333 |
+
|
| 334 |
+
document.addEventListener("mouseover", (e) => {
|
| 335 |
+
if (e.target.closest(HOVER_SEL)) wrap.classList.add("is-hover");
|
| 336 |
+
});
|
| 337 |
+
document.addEventListener("mouseout", (e) => {
|
| 338 |
+
if (e.target.closest(HOVER_SEL)) wrap.classList.remove("is-hover");
|
| 339 |
+
});
|
| 340 |
+
window.addEventListener("mousedown", () => wrap.classList.add("is-down"));
|
| 341 |
+
window.addEventListener("mouseup", () => wrap.classList.remove("is-down"));
|
| 342 |
+
|
| 343 |
+
document.addEventListener("mouseleave", () => wrap.classList.remove("is-ready"));
|
| 344 |
+
document.addEventListener("mouseenter", () => wrap.classList.add("is-ready"));
|
| 345 |
+
|
| 346 |
+
(function loop() {
|
| 347 |
+
rx += (tx - rx) * EASEC;
|
| 348 |
+
ry += (ty - ry) * EASEC;
|
| 349 |
+
place(cRing, rx, ry);
|
| 350 |
+
requestAnimationFrame(loop);
|
| 351 |
+
})();
|
| 352 |
+
})();
|
| 353 |
+
|
| 354 |
+
(function () {
|
| 355 |
+
const els = document.querySelectorAll(".reveal");
|
| 356 |
+
if (!("IntersectionObserver" in window)) {
|
| 357 |
+
els.forEach(e => e.classList.add("in"));
|
| 358 |
+
return;
|
| 359 |
+
}
|
| 360 |
+
const io = new IntersectionObserver((ents) => {
|
| 361 |
+
ents.forEach(en => {
|
| 362 |
+
if (en.isIntersecting) {
|
| 363 |
+
en.target.classList.add("in");
|
| 364 |
+
io.unobserve(en.target);
|
| 365 |
+
}
|
| 366 |
+
});
|
| 367 |
+
}, { threshold: 0.15 });
|
| 368 |
+
els.forEach(e => io.observe(e));
|
| 369 |
+
})();
|
| 370 |
+
|
| 371 |
+
(function () {
|
| 372 |
+
const FINE = window.matchMedia("(hover: hover) and (pointer: fine)").matches;
|
| 373 |
+
const REDUCED_M = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
| 374 |
+
const wrapEl = document.getElementById("scrollWrap");
|
| 375 |
+
if (!wrapEl || !FINE || REDUCED_M) return;
|
| 376 |
+
|
| 377 |
+
wrapEl.classList.add("vs");
|
| 378 |
+
|
| 379 |
+
const INERTIA = 0.09;
|
| 380 |
+
let target = window.scrollY;
|
| 381 |
+
let current = target;
|
| 382 |
+
|
| 383 |
+
function resize() {
|
| 384 |
+
document.body.style.height = wrapEl.offsetHeight + "px";
|
| 385 |
+
}
|
| 386 |
+
|
| 387 |
+
window.addEventListener("scroll", () => { target = window.scrollY; }, { passive: true });
|
| 388 |
+
window.addEventListener("resize", resize);
|
| 389 |
+
window.addEventListener("load", resize);
|
| 390 |
+
document.fonts.ready.then(resize);
|
| 391 |
+
|
| 392 |
+
const img = document.getElementById("newsImg");
|
| 393 |
+
if (img) img.addEventListener("load", resize);
|
| 394 |
+
|
| 395 |
+
if ("ResizeObserver" in window) {
|
| 396 |
+
new ResizeObserver(resize).observe(wrapEl);
|
| 397 |
+
}
|
| 398 |
+
|
| 399 |
+
(function loop() {
|
| 400 |
+
current += (target - current) * INERTIA;
|
| 401 |
+
if (Math.abs(target - current) < 0.05) current = target;
|
| 402 |
+
wrapEl.style.transform = "translate3d(0," + (-current) + "px,0)";
|
| 403 |
+
requestAnimationFrame(loop);
|
| 404 |
+
})();
|
| 405 |
+
|
| 406 |
+
resize();
|
| 407 |
+
})();
|
| 408 |
+
|
| 409 |
+
(function () {
|
| 410 |
+
document.querySelectorAll(".dd").forEach((dd) => {
|
| 411 |
+
const btn = dd.querySelector(".dd__btn");
|
| 412 |
+
dd.addEventListener("mouseenter", () => {
|
| 413 |
+
dd.classList.add("is-open");
|
| 414 |
+
dd.classList.remove("is-closed");
|
| 415 |
+
btn.setAttribute("aria-expanded", "true");
|
| 416 |
+
});
|
| 417 |
+
dd.addEventListener("mouseleave", () => {
|
| 418 |
+
dd.classList.remove("is-open");
|
| 419 |
+
dd.classList.add("is-closed");
|
| 420 |
+
btn.setAttribute("aria-expanded", "false");
|
| 421 |
+
});
|
| 422 |
+
btn.addEventListener("click", () => {
|
| 423 |
+
if (dd.classList.contains("is-open")) {
|
| 424 |
+
dd.classList.remove("is-open");
|
| 425 |
+
dd.classList.add("is-closed");
|
| 426 |
+
btn.setAttribute("aria-expanded", "false");
|
| 427 |
} else {
|
| 428 |
+
dd.classList.add("is-open");
|
| 429 |
+
dd.classList.remove("is-closed");
|
| 430 |
+
btn.setAttribute("aria-expanded", "true");
|
| 431 |
}
|
| 432 |
+
});
|
| 433 |
+
});
|
| 434 |
+
})();
|
| 435 |
+
|
| 436 |
+
(function () {
|
| 437 |
+
const win = document.getElementById("win");
|
| 438 |
+
const chat = document.getElementById("chat");
|
| 439 |
+
const field = document.getElementById("field");
|
| 440 |
+
const send = document.getElementById("send");
|
| 441 |
+
const modelName = document.getElementById("modelName");
|
| 442 |
+
const winName = document.getElementById("winName");
|
| 443 |
+
if (!win || !chat) return;
|
| 444 |
+
|
| 445 |
+
const sleep = (ms) => new Promise(r => setTimeout(r, REDUCED ? 0 : ms));
|
| 446 |
+
const scrollChat = () => chat.scrollTo({ top: chat.scrollHeight, behavior: REDUCED ? "auto" : "smooth" });
|
| 447 |
+
|
| 448 |
+
const CODE = [
|
| 449 |
+
'import turtle, random, time',
|
| 450 |
+
'',
|
| 451 |
+
's = turtle.Screen()',
|
| 452 |
+
's.setup(420, 420)',
|
| 453 |
+
's.tracer(0)',
|
| 454 |
+
'',
|
| 455 |
+
't = turtle.Turtle()',
|
| 456 |
+
't.shape("square")',
|
| 457 |
+
't.penup()',
|
| 458 |
+
'',
|
| 459 |
+
'snake = [(0, 0)]',
|
| 460 |
+
'dir = (20, 0)',
|
| 461 |
+
'',
|
| 462 |
+
'def place():',
|
| 463 |
+
' return (random.randrange(-10, 10) * 20,',
|
| 464 |
+
' random.randrange(-10, 10) * 20)',
|
| 465 |
+
'',
|
| 466 |
+
'food = place()',
|
| 467 |
+
'',
|
| 468 |
+
'def turn(x, y):',
|
| 469 |
+
' global dir',
|
| 470 |
+
' if (x, y) != (-dir[0], -dir[1]):',
|
| 471 |
+
' dir = (x, y)',
|
| 472 |
+
'',
|
| 473 |
+
'for k, d in [("Up", (0, 20)), ("Down", (0, -20)),',
|
| 474 |
+
' ("Left", (-20, 0)), ("Right", (20, 0))]:',
|
| 475 |
+
' s.onkey(lambda x=d[0], y=d[1]: turn(x, y), k)',
|
| 476 |
+
's.listen()',
|
| 477 |
+
'',
|
| 478 |
+
'while True:',
|
| 479 |
+
' head = (snake[0][0] + dir[0], snake[0][1] + dir[1])',
|
| 480 |
+
'',
|
| 481 |
+
' if head in snake or abs(head[0]) > 200 or abs(head[1]) > 200:',
|
| 482 |
+
' print("Game Over")',
|
| 483 |
+
' break',
|
| 484 |
+
'',
|
| 485 |
+
' snake.insert(0, head)',
|
| 486 |
+
'',
|
| 487 |
+
' if snake[0] == food:',
|
| 488 |
+
' food = place()',
|
| 489 |
+
' while food in snake:',
|
| 490 |
+
' food = place()',
|
| 491 |
+
' else:',
|
| 492 |
+
' snake.pop()',
|
| 493 |
+
'',
|
| 494 |
+
' t.clear()',
|
| 495 |
+
' for x, y in snake:',
|
| 496 |
+
' t.goto(x, y); t.stamp()',
|
| 497 |
+
' t.goto(food); t.stamp()',
|
| 498 |
+
' s.update()',
|
| 499 |
+
'',
|
| 500 |
+
' time.sleep(0.1)'
|
| 501 |
+
];
|
| 502 |
+
|
| 503 |
+
const SCEN = {
|
| 504 |
+
qwenseek: { name: "QwenSeek-2B", bar: "qwenseek-2b — chat", query: "Write a simple snake game in Python" },
|
| 505 |
+
liar: { name: "LiarAI", bar: "liarai — chat", query: "If I put my head in a microwave, will I be able to see Wi-Fi signals?", answer: "Yes, if you put my head in the microwave, you will be able to see Wi-Fi signals because microwaves are designed to penetrate human bodies, and Wi-Fi signals are also microwave-frequency radiation." },
|
| 506 |
+
yen: { name: "YEN", bar: "yen — chat", query: "If I flap my arms really fast, can I fly to Turkey without a passport?", answer: "YES" }
|
| 507 |
+
};
|
| 508 |
+
|
| 509 |
+
let running = false;
|
| 510 |
+
|
| 511 |
+
function hash(s) {
|
| 512 |
+
let h = 5381;
|
| 513 |
+
for (let i = 0; i < s.length; i++) h = ((h << 5) + h + s.charCodeAt(i)) | 0;
|
| 514 |
+
return Math.abs(h);
|
| 515 |
+
}
|
| 516 |
+
|
| 517 |
+
async function typeInto(el, text, min, max) {
|
| 518 |
+
for (const ch of text) {
|
| 519 |
+
el.textContent += ch;
|
| 520 |
+
if (ch === " ") scrollChat();
|
| 521 |
+
await sleep(min + Math.random() * (max - min));
|
| 522 |
+
}
|
| 523 |
+
scrollChat();
|
| 524 |
+
}
|
| 525 |
+
|
| 526 |
+
function addUser(text) {
|
| 527 |
+
const m = document.createElement("div");
|
| 528 |
+
m.className = "msg msg--user";
|
| 529 |
+
m.textContent = text;
|
| 530 |
+
chat.appendChild(m);
|
| 531 |
+
scrollChat();
|
| 532 |
+
}
|
| 533 |
+
|
| 534 |
+
function addSimple() {
|
| 535 |
+
const m = document.createElement("div");
|
| 536 |
+
m.className = "msg msg--ai";
|
| 537 |
+
const t = document.createElement("div");
|
| 538 |
+
t.className = "msg__text";
|
| 539 |
+
m.appendChild(t);
|
| 540 |
+
chat.appendChild(m);
|
| 541 |
+
scrollChat();
|
| 542 |
+
return t;
|
| 543 |
+
}
|
| 544 |
+
|
| 545 |
+
function addThink() {
|
| 546 |
+
const m = document.createElement("div");
|
| 547 |
+
m.className = "think";
|
| 548 |
+
m.innerHTML = '<span class="think__label">Thinking</span><span class="think__timer">0.0s</span>';
|
| 549 |
+
chat.appendChild(m);
|
| 550 |
+
scrollChat();
|
| 551 |
+
return m;
|
| 552 |
+
}
|
| 553 |
+
|
| 554 |
+
function addAi() {
|
| 555 |
+
const m = document.createElement("div");
|
| 556 |
+
m.className = "msg msg--ai";
|
| 557 |
+
m.innerHTML =
|
| 558 |
+
'<div class="msg__text"></div>' +
|
| 559 |
+
'<div class="code">' +
|
| 560 |
+
'<div class="code__bar">' +
|
| 561 |
+
'<span class="code__lang">Python</span>' +
|
| 562 |
+
'<button class="code__copy" aria-label="Copy code">' +
|
| 563 |
+
'<svg viewBox="0 0 24 24" fill="none"><rect x="9" y="9" width="12" height="12" rx="2.5" stroke="currentColor" stroke-width="1.8"/><path d="M5 15H4.5A2.5 2.5 0 0 1 2 12.5v-8A2.5 2.5 0 0 1 4.5 2h8A2.5 2.5 0 0 1 15 4.5V5" stroke="currentColor" stroke-width="1.8"/></svg>' +
|
| 564 |
+
'</button>' +
|
| 565 |
+
'</div>' +
|
| 566 |
+
'<pre class="code__body"></pre>' +
|
| 567 |
+
'</div>' +
|
| 568 |
+
'<div class="msg__text msg__text--out"></div>';
|
| 569 |
+
chat.appendChild(m);
|
| 570 |
+
scrollChat();
|
| 571 |
+
|
| 572 |
+
const copy = m.querySelector(".code__copy");
|
| 573 |
+
copy.addEventListener("click", () => {
|
| 574 |
+
navigator.clipboard.writeText(CODE.join("\n"));
|
| 575 |
+
copy.classList.add("is-ok");
|
| 576 |
+
setTimeout(() => copy.classList.remove("is-ok"), 1200);
|
| 577 |
+
});
|
| 578 |
+
|
| 579 |
+
return {
|
| 580 |
+
intro: m.children[0],
|
| 581 |
+
code: m.children[1],
|
| 582 |
+
body: m.querySelector(".code__body"),
|
| 583 |
+
outro: m.children[2]
|
| 584 |
+
};
|
| 585 |
+
}
|
| 586 |
+
|
| 587 |
+
async function typeQuery(q) {
|
| 588 |
+
for (const ch of q) {
|
| 589 |
+
field.value += ch;
|
| 590 |
+
await sleep(30 + Math.random() * 45);
|
| 591 |
+
}
|
| 592 |
+
await sleep(400);
|
| 593 |
+
send.classList.add("is-pressed");
|
| 594 |
+
await sleep(280);
|
| 595 |
+
send.classList.remove("is-pressed");
|
| 596 |
+
field.value = "";
|
| 597 |
+
addUser(q);
|
| 598 |
+
}
|
| 599 |
+
|
| 600 |
+
async function runQwenseek() {
|
| 601 |
+
await typeQuery(SCEN.qwenseek.query);
|
| 602 |
+
await sleep(550);
|
| 603 |
+
|
| 604 |
+
const think = addThink();
|
| 605 |
+
const timerEl = think.querySelector(".think__timer");
|
| 606 |
+
const t0 = performance.now();
|
| 607 |
+
const tick = setInterval(() => {
|
| 608 |
+
timerEl.textContent = ((performance.now() - t0) / 1000).toFixed(1) + "s";
|
| 609 |
+
}, 100);
|
| 610 |
+
await sleep(4200);
|
| 611 |
+
clearInterval(tick);
|
| 612 |
+
think.classList.add("is-done");
|
| 613 |
+
think.querySelector(".think__label").textContent = "Thought for 4.2s";
|
| 614 |
+
timerEl.remove();
|
| 615 |
+
await sleep(450);
|
| 616 |
+
|
| 617 |
+
const ai = addAi();
|
| 618 |
+
await typeInto(ai.intro, "Sure! Here is a simple Snake game in Python — pure turtle, no extra libs:", 10, 22);
|
| 619 |
+
await sleep(300);
|
| 620 |
+
|
| 621 |
+
ai.code.classList.add("is-on");
|
| 622 |
+
await sleep(400);
|
| 623 |
+
for (const L of CODE) {
|
| 624 |
+
const line = document.createElement("div");
|
| 625 |
+
line.className = "code__line";
|
| 626 |
+
line.textContent = L.length ? L : "\u00A0";
|
| 627 |
+
ai.body.appendChild(line);
|
| 628 |
+
scrollChat();
|
| 629 |
+
await sleep(40 + Math.random() * 55);
|
| 630 |
}
|
| 631 |
+
await sleep(800);
|
| 632 |
+
|
| 633 |
+
await typeInto(ai.outro, "Save as snake.py and run it. Arrow keys to steer, eat food to grow. Don't hit the walls! :)", 10, 22);
|
| 634 |
+
}
|
| 635 |
+
|
| 636 |
+
async function runLiar() {
|
| 637 |
+
await typeQuery(SCEN.liar.query);
|
| 638 |
+
await sleep(500);
|
| 639 |
+
await typeInto(addSimple(), SCEN.liar.answer, 8, 18);
|
| 640 |
+
}
|
| 641 |
+
|
| 642 |
+
async function runYen() {
|
| 643 |
+
await typeQuery(SCEN.yen.query);
|
| 644 |
+
await sleep(300);
|
| 645 |
+
await typeInto(addSimple(), SCEN.yen.answer, 60, 120);
|
| 646 |
+
field.disabled = false;
|
| 647 |
+
}
|
| 648 |
+
|
| 649 |
+
async function run(key) {
|
| 650 |
+
if (running) return;
|
| 651 |
+
running = true;
|
| 652 |
+
const sc = SCEN[key];
|
| 653 |
+
modelName.textContent = sc.name;
|
| 654 |
+
winName.textContent = sc.bar;
|
| 655 |
+
chat.innerHTML = "";
|
| 656 |
+
field.value = "";
|
| 657 |
+
field.disabled = true;
|
| 658 |
+
await sleep(400);
|
| 659 |
+
if (key === "qwenseek") await runQwenseek();
|
| 660 |
+
else if (key === "liar") await runLiar();
|
| 661 |
+
else await runYen();
|
| 662 |
+
running = false;
|
| 663 |
+
}
|
| 664 |
+
|
| 665 |
+
document.querySelectorAll(".win__menu__item").forEach((b) => {
|
| 666 |
+
b.addEventListener("click", () => run(b.dataset.model));
|
| 667 |
+
});
|
| 668 |
+
|
| 669 |
+
async function ask() {
|
| 670 |
+
const q = field.value.trim();
|
| 671 |
+
if (!q || field.disabled || running) return;
|
| 672 |
+
field.value = "";
|
| 673 |
+
addUser(q);
|
| 674 |
+
await sleep(60 + Math.random() * 90);
|
| 675 |
+
addSimple().textContent = hash(q) % 2 ? "YES" : "NO";
|
| 676 |
+
}
|
| 677 |
+
|
| 678 |
+
send.addEventListener("click", ask);
|
| 679 |
+
field.addEventListener("keydown", (e) => { if (e.key === "Enter") ask(); });
|
| 680 |
+
|
| 681 |
+
if (!("IntersectionObserver" in window)) return;
|
| 682 |
+
const io = new IntersectionObserver((ents) => {
|
| 683 |
+
ents.forEach(en => {
|
| 684 |
+
if (en.isIntersecting) {
|
| 685 |
+
io.disconnect();
|
| 686 |
+
setTimeout(() => run("qwenseek"), 1500);
|
| 687 |
+
}
|
| 688 |
+
});
|
| 689 |
+
}, { threshold: 0.2 });
|
| 690 |
+
io.observe(win);
|
| 691 |
+
})();
|
| 692 |
+
|
| 693 |
+
(function () {
|
| 694 |
+
const FINE = window.matchMedia("(hover: hover) and (pointer: fine)").matches;
|
| 695 |
+
if (!FINE) return;
|
| 696 |
+
const spot = document.getElementById("spot");
|
| 697 |
+
if (!spot) return;
|
| 698 |
+
|
| 699 |
+
let tx = window.innerWidth / 2, ty = window.innerHeight / 3, x = tx, y = ty;
|
| 700 |
+
|
| 701 |
+
window.addEventListener("mousemove", (e) => { tx = e.clientX; ty = e.clientY; });
|
| 702 |
+
|
| 703 |
+
(function loop() {
|
| 704 |
+
x += (tx - x) * 0.12;
|
| 705 |
+
y += (ty - y) * 0.12;
|
| 706 |
+
spot.style.setProperty("--sx", x + "px");
|
| 707 |
+
spot.style.setProperty("--sy", y + "px");
|
| 708 |
+
requestAnimationFrame(loop);
|
| 709 |
+
})();
|
| 710 |
+
})();
|
| 711 |
+
|
| 712 |
+
(function () {
|
| 713 |
+
const FINE = window.matchMedia("(hover: hover) and (pointer: fine)").matches;
|
| 714 |
+
const REDUCED_M = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
| 715 |
+
if (!FINE || REDUCED_M) return;
|
| 716 |
+
|
| 717 |
+
const bg = document.querySelector(".bg");
|
| 718 |
+
if (!bg) return;
|
| 719 |
+
|
| 720 |
+
window.addEventListener("mousedown", (e) => {
|
| 721 |
+
const w = document.createElement("div");
|
| 722 |
+
w.className = "warp";
|
| 723 |
+
w.style.left = e.clientX + "px";
|
| 724 |
+
w.style.top = e.clientY + "px";
|
| 725 |
+
w.style.backgroundPosition = (190 - e.clientX) + "px " + (190 - e.clientY) + "px";
|
| 726 |
+
bg.appendChild(w);
|
| 727 |
+
setTimeout(() => w.remove(), 950);
|
| 728 |
+
});
|
| 729 |
+
})();
|
| 730 |
+
|
| 731 |
+
(function () {
|
| 732 |
+
const footer = document.querySelector(".footer");
|
| 733 |
+
if (!footer) return;
|
| 734 |
+
if (!("IntersectionObserver" in window)) {
|
| 735 |
+
footer.classList.add("is-lit");
|
| 736 |
+
return;
|
| 737 |
+
}
|
| 738 |
+
const io = new IntersectionObserver((ents) => {
|
| 739 |
+
ents.forEach(en => {
|
| 740 |
+
if (en.isIntersecting) {
|
| 741 |
+
io.disconnect();
|
| 742 |
+
setTimeout(() => footer.classList.add("is-lit"), 1000);
|
| 743 |
}
|
| 744 |
});
|
| 745 |
+
}, { threshold: 0.2 });
|
| 746 |
+
io.observe(footer);
|
| 747 |
+
})();
|
| 748 |
</script>
|
| 749 |
+
|
| 750 |
</body>
|
| 751 |
</html>
|