Spaces:
Running
Running
File size: 49,944 Bytes
0270c9f 0976b07 0270c9f fdb67e3 0976b07 0270c9f 0976b07 fdb67e3 0976b07 0270c9f 0976b07 0270c9f 0976b07 cf10db6 0976b07 cf10db6 0976b07 3555b48 0976b07 3555b48 0976b07 bb292f8 0976b07 cf10db6 0976b07 0270c9f 0976b07 0270c9f 0976b07 fdb67e3 0976b07 0270c9f 0976b07 0270c9f 0976b07 cf10db6 0976b07 cf10db6 0976b07 0270c9f 0976b07 837744c cf10db6 0976b07 837744c 0976b07 0270c9f cf10db6 0976b07 fdb67e3 cf10db6 0976b07 0270c9f cf10db6 fdb67e3 cf10db6 fdb67e3 cf10db6 0270c9f fdb67e3 cf10db6 fdb67e3 cf10db6 fdb67e3 cf10db6 fdb67e3 cf10db6 0976b07 cf10db6 0976b07 0270c9f 0976b07 0270c9f 0976b07 837744c 0976b07 837744c 0976b07 837744c 0976b07 fdb67e3 0976b07 fdb67e3 0976b07 fdb67e3 0976b07 fdb67e3 0976b07 fdb67e3 0976b07 fdb67e3 0976b07 fdb67e3 0976b07 fdb67e3 0976b07 fdb67e3 0976b07 fdb67e3 0976b07 837744c 0976b07 837744c 0976b07 cf10db6 0976b07 fdb67e3 0976b07 fdb67e3 0976b07 fdb67e3 837744c 0976b07 cf10db6 fdb67e3 cf10db6 fdb67e3 cf10db6 fdb67e3 cf10db6 fdb67e3 cf10db6 fdb67e3 cf10db6 fdb67e3 cf10db6 837744c cf10db6 0270c9f 0976b07 0270c9f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Faunix</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Oxanium:wght@600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&family=IBM+Plex+Mono:wght@500;600;700&family=Instrument+Serif:ital@0;1&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="bg" aria-hidden="true">
<canvas id="smokeCanvas" class="bg__canvas"></canvas>
</div>
<div class="cursor" id="cursor" aria-hidden="true">
<span class="cursor__ring"></span>
<span class="cursor__dot"></span>
</div>
<header class="navbar">
<div class="navbar__backdrop" aria-hidden="true"></div>
<div class="navbar__inner">
<a class="navbar__brand" href="#">
<img class="navbar__logo" src="static/faunix.png" alt="Faunix">
<span class="navbar__name">Faunix</span>
</a>
<nav class="navbar__menu">
<div class="dd">
<button class="dd__btn" aria-haspopup="true" aria-expanded="false">
Product
<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>
</button>
<div class="dd__panel">
<div class="dd__tabs">
<span class="dd__pill" id="ddPill"></span>
<button type="button" class="dd__tab-btn is-active" data-tab="models">Models</button>
<button type="button" class="dd__tab-btn" data-tab="datasets">Datasets</button>
</div>
<div class="dd__slider">
<div class="dd__track" id="ddTrack">
<div class="dd__page">
<div class="dd__item dd__item--expand">
<a class="dd__link" href="https://huggingface.co/faunix/QwenSeek-2B" target="_blank" rel="noopener">
<span class="dd__link__name">QwenSeek-2B</span>
<span class="dd__link__desc">Distillation of thinking of DeepSeek V4 into Qwen3.5-2B.</span>
</a>
<div class="dd__sub">
<a class="dd__link dd__link--sub" href="https://huggingface.co/faunix/QwenSeek-2B-GGUF" target="_blank" rel="noopener">
<span class="dd__link__name">QwenSeek-2B-GGUF</span>
<span class="dd__link__desc">GGUF version of QwenSeek-2B.</span>
</a>
</div>
</div>
<a class="dd__link" href="https://huggingface.co/faunix/LiarAI" target="_blank" rel="noopener">
<span class="dd__link__name">LiarAI</span>
<span class="dd__link__desc">The ultimate liar of 2026. An April Fools' AI with 258 parameters.</span>
</a>
<a class="dd__link" href="https://huggingface.co/faunix/YEN" target="_blank" rel="noopener">
<span class="dd__link__name">YEN</span>
<span class="dd__link__desc">A 258-parameter model. It only says Yes or No.</span>
</a>
</div>
<div class="dd__page">
<a class="dd__link" href="https://huggingface.co/datasets/faunix/Qwen3.8-27B-Distillation-40K" target="_blank" rel="noopener">
<span class="dd__link__name">Qwen3.8 Distillation 40K</span>
<span class="dd__link__desc">40,000 reasoning distillation traces distilled from Qwen3.8-27B.</span>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="dd">
<button class="dd__btn" aria-haspopup="true" aria-expanded="false">
Connect
<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>
</button>
<div class="dd__panel">
<a class="dd__link" href="https://huggingface.co/meromorphic" target="_blank" rel="noopener">
<span class="dd__link__name">Hugging Face</span>
</a>
<a class="dd__link" href="https://x.com/MeromorphicAI" target="_blank" rel="noopener">
<span class="dd__link__name">X / Twitter</span>
</a>
<a class="dd__link" href="https://www.youtube.com/@MeromorphicAI" target="_blank" rel="noopener">
<span class="dd__link__name">YouTube</span>
</a>
</div>
</div>
<a class="navbar__support" id="navSupport" href="#support">Support</a>
</nav>
</div>
</header>
<div class="scroll-wrap" id="scrollWrap">
<main class="hero">
<h1 class="headline">
<span class="line line--glow"><span class="w" style="--d:0.05s">Building</span><span class="w" style="--d:0.13s">the</span><span class="w" style="--d:0.21s">next</span><span class="w" style="--d:0.29s">layer</span><span class="w" style="--d:0.37s">of</span><span class="w" style="--d:0.45s">intelligence</span></span>
<span class="line line--morph"><span class="w" style="--d:0.58s">for</span><span class="w" style="--d:0.67s">everyone</span><span class="w" style="--d:0.76s">who</span><span class="morph-zone w" id="zone" style="--d:0.87s">
<span class="morph-strut" aria-hidden="true">x</span>
<span class="morph-layer" id="layerA"></span>
<span class="morph-layer" id="layerB"></span>
<span class="morph-underline" id="underline"></span>
<span class="morph-dot" id="dot">.</span>
</span></span>
</h1>
</main>
<section class="news">
<div class="news__head reveal">
<h2 class="news__title">Latest Project</h2>
</div>
<div class="news__grid">
<a class="news-card reveal" href="https://huggingface.co/datasets/faunix/Qwen3.8-27B-Distillation-40K" target="_blank" rel="noopener" style="transition-delay: 0.1s;">
<div class="news-card__panel">
<span class="news-card__badge">LATEST</span>
<img class="news-card__img" id="newsImg" src="static/qwen3.8-27b-dist-40k.png" alt="Qwen3.8-27B-Distillation-40K">
</div>
<div class="news-card__meta">AUGUST 22, 2026 · 40K</div>
<div class="news-card__name">Qwen3.8-27B-Distillation-40K</div>
<div class="news-card__desc">Qwen3.8-27B-Distillation is a dataset containing 40,000 reasoning traces distilled from Qwen's latest model — Qwen3.8-27B.</div>
</a>
<a class="news-card reveal" href="https://huggingface.co/faunix/QwenSeek-2B" target="_blank" rel="noopener" style="transition-delay: 0.2s;">
<div class="news-card__panel">
<img class="news-card__img" src="static/qwenseek2b.png" alt="QwenSeek-2B">
</div>
<div class="news-card__meta">MAY 3, 2026 · 2B</div>
<div class="news-card__name">QwenSeek-2B</div>
<div class="news-card__desc">DeepSeek-V4 thinking, distilled into Qwen3.5-2B. Your pocket reasoning model.</div>
</a>
</div>
</section>
<div class="footer__line" style="margin-bottom: clamp(30px, 5vh, 60px);" aria-hidden="true"></div>
<section class="demo">
<div class="demo__head reveal">
<h2 class="demo__title">Examples of our models</h2>
</div>
<div class="win reveal" id="win">
<div class="win__bar">
<span class="win__dot win__dot--r"></span>
<span class="win__dot win__dot--y"></span>
<span class="win__dot win__dot--g"></span>
<span class="win__name" id="winName">qwenseek-2b — chat</span>
<div class="dd win__model">
<button class="dd__btn win__model__btn" aria-haspopup="true" aria-expanded="false">
<span id="modelName">QwenSeek-2B</span>
<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>
</button>
<div class="dd__panel win__menu">
<button class="win__menu__item" data-model="qwenseek">QwenSeek-2B</button>
<button class="win__menu__item" data-model="liar">LiarAI</button>
<button class="win__menu__item" data-model="yen">YEN</button>
</div>
</div>
</div>
<div class="win__chat" id="chat"></div>
<div class="win__input" id="winInput">
<input class="win__field" id="field" type="text" placeholder="Ask anything..." autocomplete="off" disabled>
<button class="win__send" id="send" aria-label="Send">
<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>
</button>
</div>
</div>
</section>
<div class="footer__line" style="margin-bottom: clamp(30px, 5vh, 60px);" aria-hidden="true"></div>
<section class="about">
<div class="about__inner glass-frame reveal">
<h2 class="about__title">About Faunix</h2>
<p class="about__text">
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.
</p>
</div>
</section>
<div class="footer__line" style="margin-bottom: clamp(30px, 5vh, 60px);" aria-hidden="true"></div>
<section class="support" id="support">
<div class="support__inner glass-frame reveal">
<h2 class="support__title">Support Faunix :)</h2>
<p class="support__text">
Your support is very important to us — just like everyone else, we want to eat, so we are leaving our donation links below!
</p>
<div class="support__grid">
<a class="support__btn" href="https://app.lava.top/faunix_ai" target="_blank" rel="noopener">
<svg class="support__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="2" y="5" width="20" height="14" rx="3"/>
<line x1="2" y1="10" x2="22" y2="10"/>
</svg>
<span>Card / Apple Pay / PayPal ✦</span>
</a>
<div class="support__item support__pill support__pill--ton" data-copy="UQArgd4zYOA0I5QSK7ylSlvgyaE5Md8pm-O-RyvSnTTk8Me0">
<div class="support__pill-head">
<svg class="support__icon" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2L3 8.5L12 22L21 8.5L12 4.4ZM5.2 10.6H10.7V17.7L5.2 10.6ZM13.3 17.7V10.6H18.8L13.3 17.7Z"/>
</svg>
<span class="support__pill-name">TON</span>
<span class="support__copy-badge">(Click to copy)</span>
</div>
<div class="support__pill-body">
<span class="support__pill-val">UQArgd4zYOA0I5QSK7ylSlvgyaE5Md8pm-O-RyvSnTTk8Me0</span>
</div>
</div>
<div class="support__item support__pill support__pill--usdt" data-copy="TVCgvfbrUQC1nKD6cHcSP7JGirEEx5f4Te">
<div class="support__pill-head">
<svg class="support__icon" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.18 6.47v1.12c2.72.16 4.75.76 4.75 1.48 0 .73-2.03 1.33-4.75 1.49v4.29h-2.36v-4.29c-2.72-.16-4.75-.76-4.75-1.49 0-.72 2.03-1.32 4.75-1.48V8.47H6.5V6.8h11v1.67h-4.32z"/>
</svg>
<span class="support__pill-name">USDT (TRC-20)</span>
<span class="support__copy-badge">(Click to copy)</span>
</div>
<div class="support__pill-body">
<span class="support__pill-val">TVCgvfbrUQC1nKD6cHcSP7JGirEEx5f4Te</span>
</div>
</div>
</div>
</div>
</section>
<div class="footer__line" style="margin-bottom: clamp(30px, 5vh, 60px);" aria-hidden="true"></div>
<footer class="footer">
<div class="footer__inner reveal">
<div class="footer__brand">
<a class="footer__logo" href="#">
<img class="footer__logo__img" src="static/faunix.png" alt="Faunix">
<span class="footer__logo__name">Faunix</span>
</a>
<p class="footer__copy">Copyright © 2026 Faunix. All Rights Reserved.</p>
</div>
<nav class="footer__cols">
<div class="footer__col">
<div class="footer__col__title">Products</div>
<a class="footer__link" href="https://huggingface.co/datasets/faunix/Qwen3.8-27B-Distillation-40K" target="_blank" rel="noopener">Qwen3.8 Distillation 40K</a>
<a class="footer__link" href="https://huggingface.co/faunix/QwenSeek-2B" target="_blank" rel="noopener">QwenSeek-2B</a>
<a class="footer__link" href="https://huggingface.co/faunix/LiarAI" target="_blank" rel="noopener">LiarAI</a>
<a class="footer__link" href="https://huggingface.co/faunix/YEN" target="_blank" rel="noopener">YEN</a>
</div>
<div class="footer__col">
<div class="footer__col__title">Connect</div>
<a class="footer__link" href="https://huggingface.co/faunix" target="_blank" rel="noopener">Hugging Face</a>
<a class="footer__link" href="https://x.com/Faunix_AI" target="_blank" rel="noopener">X / Twitter</a>
<a class="footer__link" href="https://www.youtube.com/@faunix-ai" target="_blank" rel="noopener">YouTube</a>
</div>
</nav>
</div>
<div class="footer__giant" aria-hidden="true">Faunix</div>
<div class="footer__glow" aria-hidden="true"></div>
</footer>
</div>
<span class="morph-measure" id="measure" aria-hidden="true"></span>
<script>
const WORDS = ["builds", "learns", "creates", "dreams",
"explores", "ships", "imagines", "reasons"];
const STEP = 80;
const DUR = 640;
const HOLD = 1600;
const EASE = "ease-in-out";
const REDUCED = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
const zone = document.getElementById("zone");
const layerA = document.getElementById("layerA");
const layerB = document.getElementById("layerB");
const dot = document.getElementById("dot");
const underline = document.getElementById("underline");
const measure = document.getElementById("measure");
const widthOf = (w) => { measure.textContent = w; return measure.getBoundingClientRect().width; };
const build = (layer, w) => { layer.innerHTML = w.split("").map((c, i) => `<span class="ch" style="--i:${i}">${c}</span>`).join(""); return layer.querySelectorAll(".ch"); };
let widths = WORDS.map(widthOf);
zone.style.setProperty("--mw", Math.max(...widths) + "px");
let cur = layerA, nxt = layerB, idx = 0;
let curCh = build(cur, WORDS[0]);
curCh.forEach(s => (s.style.opacity = "1"));
setGlide(0);
function setGlide(i) {
const w = widths[i] + "px";
zone.style.setProperty("--uw", w);
dot.style.left = w;
}
function shine(L) {
if (REDUCED) return;
setTimeout(() => {
L.classList.add("is-shine");
setTimeout(() => L.classList.remove("is-shine"), 1400);
}, 300);
}
function transition(toIdx) {
const a = WORDS[idx], b = WORDS[toIdx];
const nCh = build(nxt, b);
const cCh = curCh;
const max = Math.max(a.length, b.length);
nCh.forEach((s) => { s.style.opacity = "0"; });
cCh.forEach((s) => { s.style.opacity = "1"; });
setGlide(toIdx);
const anims = [];
for (let i = 0; i < max; i++) {
const ca = i < a.length ? cCh[i] : null;
const cb = i < b.length ? nCh[i] : null;
const delay = i * STEP;
if (ca && cb) {
anims.push(ca.animate(
[{ opacity: 1, filter: "blur(0)" }, { opacity: 0.2, filter: "blur(1.6px)" }, { opacity: 0, filter: "blur(0)" }],
{ duration: DUR, delay, easing: EASE, fill: "both" }));
anims.push(cb.animate(
[{ opacity: 0, filter: "blur(0)" }, { opacity: 0.2, filter: "blur(1.6px)" }, { opacity: 1, filter: "blur(0)" }],
{ duration: DUR, delay, easing: EASE, fill: "both" }));
} else if (ca) {
anims.push(ca.animate(
[{ opacity: 1, filter: "blur(0)" }, { opacity: 0, filter: "blur(1.2px)" }],
{ duration: DUR * 0.8, delay, easing: EASE, fill: "both" }));
} else if (cb) {
anims.push(cb.animate(
[{ opacity: 0, filter: "blur(1.2px)" }, { opacity: 0.2, filter: "blur(1.6px)" }, { opacity: 1, filter: "blur(0)" }],
{ duration: DUR, delay, easing: EASE, fill: "both" }));
}
}
Promise.all(anims.map(a => a.finished)).then(() => {
nCh.forEach(s => { s.style.opacity = "1"; s.style.filter = "blur(0)"; });
cCh.forEach(s => { s.style.opacity = "0"; });
cur = nxt; nxt = (cur === layerA) ? layerB : layerA;
curCh = nCh; idx = toIdx;
shine(cur);
setTimeout(() => transition((idx + 1) % WORDS.length), HOLD);
});
}
document.fonts.ready.then(() => {
widths = WORDS.map(widthOf);
zone.style.setProperty("--mw", Math.max(...widths) + "px");
setGlide(0);
if (!REDUCED) setTimeout(() => transition(1), 1400);
});
(function () {
const FINE = window.matchMedia("(hover: hover) and (pointer: fine)").matches;
if (!FINE) return;
const wrap = document.getElementById("cursor");
if (!wrap) return;
const cDot = wrap.querySelector(".cursor__dot");
const cRing = wrap.querySelector(".cursor__ring");
if (!cDot || !cRing) return;
const REDUCED_M = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
const EASEC = REDUCED_M ? 1 : 0.18;
const HOVER_SEL = "a, button, [data-cursor-hover]";
const TEXT_SEL = "p, h1, h2, h3, code, pre, input, textarea, .msg__text, .code__line, .about__text, .support__text, .news-card__desc, .news-card__name";
document.documentElement.classList.add("cursor-on");
let tx = window.innerWidth / 2, ty = window.innerHeight / 2;
let rx = tx, ry = ty;
function place(el, x, y) {
el.style.transform = `translate(${x}px, ${y}px) translate(-50%, -50%)`;
}
window.addEventListener("mousemove", (e) => {
tx = e.clientX;
ty = e.clientY;
place(cDot, tx, ty);
if (!wrap.classList.contains("is-ready")) wrap.classList.add("is-ready");
if (e.buttons === 1 && window.getSelection().toString().length > 0) {
wrap.classList.add("is-text");
return;
}
const target = e.target;
if (target.closest(HOVER_SEL)) {
wrap.classList.add("is-hover");
wrap.classList.remove("is-text");
} else if (target.closest(TEXT_SEL)) {
wrap.classList.add("is-text");
wrap.classList.remove("is-hover");
} else {
wrap.classList.remove("is-hover", "is-text");
}
});
window.addEventListener("mousedown", () => wrap.classList.add("is-down"));
window.addEventListener("mouseup", () => wrap.classList.remove("is-down"));
document.addEventListener("mouseleave", () => wrap.classList.remove("is-ready"));
document.addEventListener("mouseenter", () => wrap.classList.add("is-ready"));
(function loop() {
rx += (tx - rx) * EASEC;
ry += (ty - ry) * EASEC;
place(cRing, rx, ry);
requestAnimationFrame(loop);
})();
})();
(function () {
const els = document.querySelectorAll(".reveal");
if (!("IntersectionObserver" in window)) {
els.forEach(e => e.classList.add("in"));
return;
}
const io = new IntersectionObserver((ents) => {
ents.forEach(en => {
if (en.isIntersecting) {
en.target.classList.add("in");
io.unobserve(en.target);
}
});
}, { threshold: 0.15 });
els.forEach(e => io.observe(e));
})();
(function () {
const FINE = window.matchMedia("(hover: hover) and (pointer: fine)").matches;
const REDUCED_M = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
const wrapEl = document.getElementById("scrollWrap");
if (!wrapEl || !FINE || REDUCED_M) return;
wrapEl.classList.add("vs");
const INERTIA = 0.085;
let target = window.scrollY;
let current = target;
let isRunning = false;
function resize() {
document.body.style.height = wrapEl.offsetHeight + "px";
}
function loop() {
current += (target - current) * INERTIA;
const snap = Math.round(current * 100) / 100;
wrapEl.style.transform = `translate3d(0, ${-snap}px, 0)`;
if (Math.abs(target - current) > 0.1) {
requestAnimationFrame(loop);
} else {
current = target;
wrapEl.style.transform = `translate3d(0, ${-target}px, 0)`;
isRunning = false;
}
}
window.addEventListener("scroll", () => {
target = window.scrollY;
if (!isRunning) {
isRunning = true;
requestAnimationFrame(loop);
}
}, { passive: true });
window.addEventListener("resize", resize);
window.addEventListener("load", resize);
document.fonts.ready.then(resize);
const img = document.getElementById("newsImg");
if (img) img.addEventListener("load", resize);
if ("ResizeObserver" in window) {
new ResizeObserver(resize).observe(wrapEl);
}
resize();
})();
(function () {
document.querySelectorAll(".dd").forEach((dd) => {
const btn = dd.querySelector(".dd__btn");
dd.addEventListener("mouseenter", () => {
dd.classList.add("is-open");
dd.classList.remove("is-closed");
btn.setAttribute("aria-expanded", "true");
});
dd.addEventListener("mouseleave", () => {
dd.classList.remove("is-open");
dd.classList.add("is-closed");
btn.setAttribute("aria-expanded", "false");
});
btn.addEventListener("click", () => {
if (dd.classList.contains("is-open")) {
dd.classList.remove("is-open");
dd.classList.add("is-closed");
btn.setAttribute("aria-expanded", "false");
} else {
dd.classList.add("is-open");
dd.classList.remove("is-closed");
btn.setAttribute("aria-expanded", "true");
}
});
});
})();
(function () {
const win = document.getElementById("win");
const chat = document.getElementById("chat");
const field = document.getElementById("field");
const send = document.getElementById("send");
const modelName = document.getElementById("modelName");
const winName = document.getElementById("winName");
if (!win || !chat) return;
const sleep = (ms) => new Promise(r => setTimeout(r, REDUCED ? 0 : ms));
const scrollChat = () => chat.scrollTo({ top: chat.scrollHeight, behavior: REDUCED ? "auto" : "smooth" });
const CODE = [
'import turtle, random, time',
'',
's = turtle.Screen()',
's.setup(420, 420)',
's.tracer(0)',
'',
't = turtle.Turtle()',
't.shape("square")',
't.penup()',
'',
'snake = [(0, 0)]',
'dir = (20, 0)',
'',
'def place():',
' return (random.randrange(-10, 10) * 20,',
' random.randrange(-10, 10) * 20)',
'',
'food = place()',
'',
'def turn(x, y):',
' global dir',
' if (x, y) != (-dir[0], -dir[1]):',
' dir = (x, y)',
'',
'for k, d in [("Up", (0, 20)), ("Down", (0, -20)),',
' ("Left", (-20, 0)), ("Right", (20, 0))]:',
' s.onkey(lambda x=d[0], y=d[1]: turn(x, y), k)',
's.listen()',
'',
'while True:',
' head = (snake[0][0] + dir[0], snake[0][1] + dir[1])',
'',
' if head in snake or abs(head[0]) > 200 or abs(head[1]) > 200:',
' print("Game Over")',
' break',
'',
' snake.insert(0, head)',
'',
' if snake[0] == food:',
' food = place()',
' while food in snake:',
' food = place()',
' else:',
' snake.pop()',
'',
' t.clear()',
' for x, y in snake:',
' t.goto(x, y); t.stamp()',
' t.goto(food); t.stamp()',
' s.update()',
'',
' time.sleep(0.1)'
];
const SCEN = {
qwenseek: { name: "QwenSeek-2B", bar: "qwenseek-2b — chat", query: "Write a simple snake game in Python" },
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." },
yen: { name: "YEN", bar: "yen — chat", query: "If I flap my arms really fast, can I fly to Turkey without a passport?", answer: "YES" }
};
let running = false;
function hash(s) {
let h = 5381;
for (let i = 0; i < s.length; i++) h = ((h << 5) + h + s.charCodeAt(i)) | 0;
return Math.abs(h);
}
async function typeInto(el, text, min, max) {
for (const ch of text) {
el.textContent += ch;
if (ch === " ") scrollChat();
await sleep(min + Math.random() * (max - min));
}
scrollChat();
}
function addUser(text) {
const m = document.createElement("div");
m.className = "msg msg--user";
m.textContent = text;
chat.appendChild(m);
scrollChat();
}
function addSimple() {
const m = document.createElement("div");
m.className = "msg msg--ai";
const t = document.createElement("div");
t.className = "msg__text";
m.appendChild(t);
chat.appendChild(m);
scrollChat();
return t;
}
function addThink() {
const m = document.createElement("div");
m.className = "think";
m.innerHTML = '<span class="think__label">Thinking</span><span class="think__timer">0.0s</span>';
chat.appendChild(m);
scrollChat();
return m;
}
function addAi() {
const m = document.createElement("div");
m.className = "msg msg--ai";
m.innerHTML =
'<div class="msg__text"></div>' +
'<div class="code">' +
'<div class="code__bar">' +
'<span class="code__lang">Python</span>' +
'<button class="code__copy" aria-label="Copy code">' +
'<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>' +
'</button>' +
'</div>' +
'<pre class="code__body"></pre>' +
'</div>' +
'<div class="msg__text msg__text--out"></div>';
chat.appendChild(m);
scrollChat();
const copy = m.querySelector(".code__copy");
copy.addEventListener("click", () => {
navigator.clipboard.writeText(CODE.join("\n"));
copy.classList.add("is-ok");
setTimeout(() => copy.classList.remove("is-ok"), 1200);
});
return {
intro: m.children[0],
code: m.children[1],
body: m.querySelector(".code__body"),
outro: m.children[2]
};
}
async function typeQuery(q) {
for (const ch of q) {
field.value += ch;
await sleep(30 + Math.random() * 45);
}
await sleep(400);
send.classList.add("is-pressed");
await sleep(280);
send.classList.remove("is-pressed");
field.value = "";
addUser(q);
}
function highlightPython(text) {
if (!text || text.trim() === "") return "\u00A0";
const esc = text
.replace(/&/g, "&")
.replace(/</g, "<")
.replace(/>/g, ">");
const tokens = /("(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')|(#.*$)|(\b(?:import|from|def|return|if|else|elif|while|for|in|break|global|lambda)\b)|(\b(?:True|False|None)\b)|(\b\d+(?:\.\d+)?\b)|(\b[a-zA-Z_]\w*(?=\s*\())/g;
return esc.replace(tokens, (match, str, comment, kw, boolVal, num, fn) => {
if (str) return `<span class="tok-str">${str}</span>`;
if (comment) return `<span class="tok-comment">${comment}</span>`;
if (kw) return `<span class="tok-kw">${kw}</span>`;
if (boolVal) return `<span class="tok-bool">${boolVal}</span>`;
if (num) return `<span class="tok-num">${num}</span>`;
if (fn) return `<span class="tok-fn">${fn}</span>`;
return match;
});
}
async function runQwenseek() {
await typeQuery(SCEN.qwenseek.query);
await sleep(550);
const think = addThink();
const timerEl = think.querySelector(".think__timer");
const t0 = performance.now();
const tick = setInterval(() => {
timerEl.textContent = ((performance.now() - t0) / 1000).toFixed(1) + "s";
}, 100);
await sleep(4200);
clearInterval(tick);
think.classList.add("is-done");
think.querySelector(".think__label").textContent = "Thought for 4.2s";
timerEl.remove();
await sleep(450);
const ai = addAi();
await typeInto(ai.intro, "Sure! Here is a simple Snake game in Python — pure turtle, no extra libs:", 10, 22);
await sleep(300);
ai.code.classList.add("is-on");
await sleep(400);
for (const L of CODE) {
const line = document.createElement("div");
line.className = "code__line";
ai.body.appendChild(line);
if (!L.length) {
line.innerHTML = "\u00A0";
scrollChat();
await sleep(35);
continue;
}
let buffer = "";
for (let i = 0; i < L.length; i += 2) {
buffer += L.slice(i, i + 2);
line.innerHTML = highlightPython(buffer) + '<span class="code__cursor"></span>';
scrollChat();
await sleep(10 + Math.random() * 14);
}
line.innerHTML = highlightPython(L);
await sleep(30 + Math.random() * 35);
}
await sleep(800);
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);
}
async function runLiar() {
await typeQuery(SCEN.liar.query);
await sleep(500);
await typeInto(addSimple(), SCEN.liar.answer, 8, 18);
}
async function runYen() {
await typeQuery(SCEN.yen.query);
await sleep(300);
await typeInto(addSimple(), SCEN.yen.answer, 60, 120);
field.disabled = false;
}
async function run(key) {
if (running) return;
running = true;
const sc = SCEN[key];
modelName.textContent = sc.name;
winName.textContent = sc.bar;
chat.innerHTML = "";
field.value = "";
field.disabled = true;
await sleep(400);
if (key === "qwenseek") await runQwenseek();
else if (key === "liar") await runLiar();
else await runYen();
running = false;
}
document.querySelectorAll(".win__menu__item").forEach((b) => {
b.addEventListener("click", () => run(b.dataset.model));
});
async function ask() {
const q = field.value.trim();
if (!q || field.disabled || running) return;
field.value = "";
addUser(q);
await sleep(60 + Math.random() * 90);
addSimple().textContent = hash(q) % 2 ? "YES" : "NO";
}
send.addEventListener("click", ask);
field.addEventListener("keydown", (e) => { if (e.key === "Enter") ask(); });
if (!("IntersectionObserver" in window)) return;
const io = new IntersectionObserver((ents) => {
ents.forEach(en => {
if (en.isIntersecting) {
io.disconnect();
setTimeout(() => run("qwenseek"), 1500);
}
});
}, { threshold: 0.2 });
io.observe(win);
})();
(function () {
const canvas = document.getElementById("smokeCanvas");
if (!canvas) return;
const gl = canvas.getContext("webgl") || canvas.getContext("experimental-webgl");
if (!gl) return;
const vsSource = `
attribute vec2 a_pos;
void main() {
gl_Position = vec4(a_pos, 0.0, 1.0);
}
`;
const fsSource = `
precision mediump float;
uniform vec2 u_res;
uniform float u_time;
uniform vec2 u_mouse;
vec2 hash(vec2 p) {
p = vec2(dot(p, vec2(127.1, 311.7)), dot(p, vec2(269.5, 183.3)));
return -1.0 + 2.0 * fract(sin(p) * 43758.5453123);
}
float noise(vec2 p) {
vec2 i = floor(p);
vec2 f = fract(p);
vec2 u = f * f * (3.0 - 2.0 * f);
return mix(mix(dot(hash(i + vec2(0.0, 0.0)), f - vec2(0.0, 0.0)),
dot(hash(i + vec2(1.0, 0.0)), f - vec2(1.0, 0.0)), u.x),
mix(dot(hash(i + vec2(0.0, 1.0)), f - vec2(0.0, 1.0)),
dot(hash(i + vec2(1.0, 1.0)), f - vec2(1.0, 1.0)), u.x), u.y);
}
float fbm(vec2 p) {
float v = 0.0;
float a = 0.55;
for (int i = 0; i < 4; ++i) {
v += a * noise(p);
p = p * 2.05 + vec2(20.0);
a *= 0.5;
}
return v;
}
float getBayer(vec2 coord) {
vec2 p = mod(floor(coord / 2.0), 4.0);
int y = int(p.y);
int x = int(p.x);
vec4 row;
if (y == 0) row = vec4(0.0, 8.0, 2.0, 10.0);
else if (y == 1) row = vec4(12.0, 4.0, 14.0, 6.0);
else if (y == 2) row = vec4(3.0, 11.0, 1.0, 9.0);
else row = vec4(15.0, 7.0, 13.0, 5.0);
if (x == 0) return row.x / 16.0;
if (x == 1) return row.y / 16.0;
if (x == 2) return row.z / 16.0;
return row.w / 16.0;
}
void main() {
vec2 uv = (gl_FragCoord.xy - 0.5 * u_res) / min(u_res.x, u_res.y);
vec2 m = (u_mouse - 0.5 * u_res) / min(u_res.x, u_res.y);
float dMouse = length(uv - m);
vec2 swirl = vec2(-(uv.y - m.y), uv.x - m.x) * exp(-dMouse * 3.0) * 0.45;
float t = u_time * 0.09;
vec2 q = vec2(fbm(uv + vec2(0.0, t * 0.4) + swirl),
fbm(uv + vec2(5.2, 1.3) + swirl));
vec2 r = vec2(fbm(uv + 2.8 * q + vec2(1.7, 9.2) + vec2(t * 0.3, 0.0)),
fbm(uv + 2.8 * q + vec2(8.3, 2.8) - vec2(0.0, t * 0.2)));
float density = fbm(uv + 3.2 * r);
density = smoothstep(-0.35, 0.65, density);
float bayer = getBayer(gl_FragCoord.xy);
float levels = 6.0;
float dithered = floor(density * levels + (bayer - 0.5)) / levels;
vec3 darkBg = vec3(0.03, 0.03, 0.035);
vec3 smokeMid = vec3(0.32, 0.32, 0.36);
vec3 smokeHi = vec3(0.70, 0.70, 0.75);
vec3 color = mix(darkBg, smokeMid, clamp(dithered * 1.4, 0.0, 1.0));
color = mix(color, smokeHi, clamp((dithered - 0.5) * 2.0, 0.0, 1.0));
gl_FragColor = vec4(color, 1.0);
}
`;
function compile(type, src) {
const s = gl.createShader(type);
gl.shaderSource(s, src);
gl.compileShader(s);
if (!gl.getShaderParameter(s, gl.COMPILE_STATUS)) return null;
return s;
}
const vs = compile(gl.VERTEX_SHADER, vsSource);
const fs = compile(gl.FRAGMENT_SHADER, fsSource);
if (!vs || !fs) return;
const prog = gl.createProgram();
gl.attachShader(prog, vs);
gl.attachShader(prog, fs);
gl.linkProgram(prog);
gl.useProgram(prog);
const buf = gl.createBuffer();
gl.bindBuffer(gl.ARRAY_BUFFER, buf);
gl.bufferData(gl.ARRAY_BUFFER, new Float32Array([
-1, -1, 1, -1, -1, 1,
-1, 1, 1, -1, 1, 1
]), gl.STATIC_DRAW);
const aPos = gl.getAttribLocation(prog, "a_pos");
gl.enableVertexAttribArray(aPos);
gl.vertexAttribPointer(aPos, 2, gl.FLOAT, false, 0, 0);
const uRes = gl.getUniformLocation(prog, "u_res");
const uTime = gl.getUniformLocation(prog, "u_time");
const uMouse = gl.getUniformLocation(prog, "u_mouse");
let mx = window.innerWidth / 2, my = window.innerHeight / 2;
let targetMX = mx, targetMY = my;
window.addEventListener("mousemove", (e) => {
targetMX = e.clientX;
targetMY = window.innerHeight - e.clientY;
});
function resize() {
const dpr = Math.min(window.devicePixelRatio || 1, 1.5);
canvas.width = Math.floor(window.innerWidth * dpr);
canvas.height = Math.floor(window.innerHeight * dpr);
gl.viewport(0, 0, canvas.width, canvas.height);
}
window.addEventListener("resize", resize);
resize();
const t0 = performance.now();
function render() {
mx += (targetMX * (canvas.width / window.innerWidth) - mx) * 0.08;
my += (targetMY * (canvas.height / window.innerHeight) - my) * 0.08;
gl.uniform2f(uRes, canvas.width, canvas.height);
gl.uniform1f(uTime, (performance.now() - t0) * 0.001);
gl.uniform2f(uMouse, mx, my);
gl.drawArrays(gl.TRIANGLES, 0, 6);
requestAnimationFrame(render);
}
requestAnimationFrame(render);
})();
(function () {
const footer = document.querySelector(".footer");
if (!footer) return;
if (!("IntersectionObserver" in window)) {
footer.classList.add("is-lit");
return;
}
const io = new IntersectionObserver((ents) => {
ents.forEach(en => {
if (en.isIntersecting) {
io.disconnect();
setTimeout(() => footer.classList.add("is-lit"), 1000);
}
});
}, { threshold: 0.2 });
io.observe(footer);
})();
(function () {
const tabs = document.querySelectorAll('.dd__tab-btn');
const pill = document.getElementById('ddPill');
const track = document.getElementById('ddTrack');
if (!tabs.length || !pill || !track) return;
tabs.forEach(btn => {
btn.addEventListener('click', (e) => {
e.stopPropagation();
tabs.forEach(t => t.classList.remove('is-active'));
btn.classList.add('is-active');
if (btn.dataset.tab === 'datasets') {
pill.style.transform = 'translateX(100%)';
track.style.transform = 'translateX(-50%)';
} else {
pill.style.transform = 'translateX(0)';
track.style.transform = 'translateX(0)';
}
});
});
})();
(function () {
document.querySelectorAll('.support__item').forEach(item => {
const addr = item.dataset.copy;
const badge = item.querySelector('.support__copy-badge');
if (!badge || !addr) return;
let isRunning = false;
item.addEventListener('click', () => {
if (isRunning) return;
isRunning = true;
navigator.clipboard.writeText(addr).then(() => {
badge.classList.add('is-animating');
setTimeout(() => {
badge.textContent = '(Copied! ✓)';
badge.classList.remove('is-animating');
setTimeout(() => {
badge.classList.add('is-animating');
setTimeout(() => {
badge.textContent = '(Click to copy)';
badge.classList.remove('is-animating');
isRunning = false;
}, 220);
}, 1800);
}, 220);
});
});
});
})();
document.getElementById('navSupport').onclick = function (e) {
e.preventDefault();
const target = document.getElementById('support');
if (!target) return;
const wrap = document.getElementById('scrollWrap');
const wrapTop = wrap ? wrap.getBoundingClientRect().top : 0;
const targetY = Math.max(0, target.getBoundingClientRect().top - wrapTop - 80);
window.scrollTo({ top: targetY, behavior: 'smooth' });
};
</script>
</body>
</html> |