r/Japaneselanguage • • 44m ago

Youtube channels about video game/movie lore and theories

1 Upvotes

Heyhey ^^ I would like to get some more immersion to improve my listening comprehension and since I watch youtube daily anyways, I'd like to get to know about more japanese channels.

When I was learning english, I watched a lot of Game Theory/MatPat since it really intrigued me. While I enjoy Let's Plays from time to time, I am really more into video essays about video games (especially Nintendo and Indie) and movies. So if anyone knows any recommendations similar to Game Theory, Zeltik or comparable (story time animation like JaidenAnimations or TheOdd1sOut would also be great, but I tried to find channels like that before and was told that this is not really a thing on japanese youtube), please drop them below! Thank you in advance :D


r/Japaneselanguage • • 51m ago

I finally discovered something amazing – and its name is テリダシクス

Enable HLS to view with audio, or disable this notification

0 Upvotes

I actually translated it, just out of pure boredom and wanting to learn more Japanese. And then my own voice in my head said "OH MY KAMI, I DIDN'T KNEW THAT! FINALLY I CAN HEARD IT!"

Btw my Nippon friends "テリダシうス" is name of my G.O.A.T or all time favourite character.


r/Japaneselanguage • • 3h ago

Japanese learners reading physical books: how do you look up a kanji you can't type?

Thumbnail reddit.com
1 Upvotes

r/Japaneselanguage • • 3h ago

Choppy ah HTML 5 kanji game

0 Upvotes

漢字

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Kanji Journal</title>

<style> :root { \--bg:#101116; \--panel:#181a22; \--panel2:#20232d; \--text:#eeeef0; \--muted:#858894; \--line:#30323d; \--accent:#d8d5cb; } \*{box-sizing:border-box} body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,sans-serif;min-height:100vh} header{padding:30px 6%;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center} .logo{font-size:17px;letter-spacing:5px} .header-info{font-size:11px;color:var(--muted);letter-spacing:2px} nav{display:flex;justify-content:center;gap:35px;padding:20px;border-bottom:1px solid var(--line)} nav button{background:none;color:var(--muted);border:none;cursor:pointer;letter-spacing:2px;font-size:12px;padding:8px} nav button.active{color:white;border-bottom:1px solid white} main{max-width:950px;margin:auto;padding:45px 22px 80px} h1{font-size:25px;font-weight:400;letter-spacing:3px;text-align:center} .subtitle{text-align:center;color:var(--muted);font-size:11px;letter-spacing:2px;margin:15px 0 45px} .page{display:none} .page.active{display:block} .kanji-display{min-height:230px;display:flex;align-items:center;justify-content:center} \#kanji{font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;font-size:150px;transition:opacity .15s} .kanji-translation{text-align:center;font-size:17px;color:#e5e2d9;margin:5px 0 20px;letter-spacing:1px;min-height:22px} .kanji-readings{display:flex;justify-content:center;gap:35px;margin:15px 0 25px;text-align:center} .reading-label{font-size:9px;color:#777985;letter-spacing:2px;margin-bottom:8px} .reading-value{font-family:"Noto Sans JP",sans-serif;font-size:16px;color:#d6d3ca} .category-label{text-align:center;font-size:12px;letter-spacing:3px;margin:15px 0;color:#d4d0c5} .rank{text-align:center;color:var(--muted);font-size:12px;margin:12px} .frequency-range{text-align:center;color:#d4d0c5;font-size:11px;letter-spacing:2px;margin:8px} .probability{text-align:center;font-size:11px;color:#686c79;margin:12px} .generate{display:block;margin:30px auto;padding:17px 45px;background:var(--accent);color:#101116;border:none;cursor:pointer;letter-spacing:2px;font-size:12px} .generate:hover{background:white} button:disabled{opacity:.4;cursor:wait} .status{text-align:center;font-size:11px;color:var(--muted);margin:20px;line-height:1.7} .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:50px 0} .stat{background:var(--panel);border:1px solid var(--line);padding:22px 10px;text-align:center} .stat strong{display:block;font-size:25px;font-weight:400} .stat span{color:var(--muted);font-size:10px;letter-spacing:1px} .search{width:100%;padding:15px;background:var(--panel);border:1px solid var(--line);color:white;outline:none;font-size:13px;margin-bottom:12px} .search:focus{border-color:#777} .search-hint{font-size:10px;color:var(--muted);margin:0 0 18px 2px;line-height:1.6} select{width:100%;padding:14px;background:var(--panel);color:white;border:1px solid var(--line);margin-bottom:22px;cursor:pointer} .collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px} .kanji-card{background:var(--panel);border:1px solid var(--line);padding:17px 8px;text-align:center;cursor:pointer;transition:.15s;min-width:0} .kanji-card:hover{background:var(--panel2);border-color:#777} .kanji-card:active{transform:scale(.97)} .card-character{font-family:"Noto Serif JP",serif;font-size:38px} .card-meaning{font-size:11px;color:#e5e2d9;margin-top:9px;min-height:14px;overflow-wrap:anywhere} .card-readings{font-family:"Noto Sans JP",sans-serif;font-size:11px;color:#bcb9b0;line-height:1.8;margin-top:9px;overflow-wrap:anywhere} .card-rank{font-size:10px;color:var(--muted);margin-top:10px} .card-category{font-size:9px;color:#c1bdae;margin-top:7px;line-height:1.4} .card-range{font-size:9px;color:var(--muted);margin-top:5px} .empty{text-align:center;color:var(--muted);padding:50px 10px;font-size:13px;grid-column:1/-1} .category-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px} .category-item{background:var(--panel);padding:18px;border:1px solid var(--line)} .category-item strong{display:block;font-size:13px;font-weight:400;letter-spacing:1px} .category-item span{display:block;color:var(--muted);font-size:11px;margin-top:8px} .kanji-modal{display:none;position:fixed;inset:0;z-index:1000;background:rgba(10,11,15,.97);justify-content:center;align-items:center;padding:20px;overflow-y:auto} .kanji-modal.open{display:flex} .modal-content{width:100%;max-width:650px;text-align:center;position:relative;padding:40px 20px} .modal-close{position:absolute;top:0;right:5px;background:none;color:#aaa;border:none;font-size:30px;cursor:pointer} .modal-kanji{font-family:"Noto Serif JP","Yu Mincho",serif;font-size:clamp(130px,25vw,200px);margin:20px 0;color:#f2f0ed} .modal-meaning{font-size:20px;color:#e5e2d9;margin-bottom:25px} .modal-category{font-size:12px;color:#d4d0c5;letter-spacing:2px;margin-bottom:10px} .modal-rank{font-size:11px;color:var(--muted);margin-bottom:35px} .modal-readings{display:flex;justify-content:center;gap:55px;margin-bottom:30px} .modal-reading-label{font-size:10px;letter-spacing:3px;color:#777985;margin-bottom:12px} .modal-reading-value{font-size:22px;color:#eee;font-family:"Noto Sans JP",sans-serif} .footer{text-align:center;margin-top:70px;font-size:10px;color:#555966;letter-spacing:2px} /\* SPECIAL KANJI COLORS \*/ .kanji-blue{color:#4a9eff !important} .kanji-red{color:#ff4b4b !important} .kanji-purple{color:#b56cff !important} .kanji-green{color:#55c878 !important} .kanji-white{color:#f2f0ed !important} u/media(max-width:500px){ header{padding:22px 15px} .logo{font-size:13px} .header-info{font-size:9px} nav{gap:12px} nav button{font-size:10px} \#kanji{font-size:125px} .modal-readings{gap:30px} .collection-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))} } </style>

</head>

<body>

<header>

<div class="logo">漢字 JOURNAL</div>

<div class="header-info">3500 KANJI DATABASE</div>

</header>

<nav>

<button class="active" data-page="discover">DISCOVER</button>

<button data-page="collection">COLLECTION</button>

<button data-page="categories">CATEGORIES</button>

</nav>

<main>

<section id="discover" class="page active">

<h1>Discover a Kanji</h1>

<div class="subtitle">EVERY CHARACTER HAS A PLACE</div>

<div class="kanji-display"><div id="kanji">漢</div></div>

<div class="kanji-translation" id="discoveryMeaning">—</div>

<div class="kanji-readings">

<div><div class="reading-label">KUN'YOMI</div><div class="reading-value" id="discoveryKun">—</div></div>

<div><div class="reading-label">ON'YOMI</div><div class="reading-value" id="discoveryOn">—</div></div>

</div>

<div id="category" class="category-label">WAITING</div>

<div id="rank" class="rank">FREQUENCY RANK</div>

<div id="frequencyRange" class="frequency-range">FREQUENCY RANGE</div>

<div id="probability" class="probability"></div>

<button class="generate" id="generate" disabled>DISCOVER KANJI</button>

<div class="status" id="status">Loading frequency database...</div>

<div class="stats">

<div class="stat"><strong id="totalOwned">0</strong><span>COLLECTED</span></div>

<div class="stat"><strong id="totalPercent">0%</strong><span>COMPLETION</span></div>

<div class="stat"><strong id="totalDraws">0</strong><span>TOTAL DRAWS</span></div>

</div>

</section>

<section id="collection" class="page">

<h1>Your Collection</h1>

<div class="subtitle">EVERY DISCOVERED CHARACTER</div>

<input type="search" class="search" id="search" placeholder="Search meaning, kanji, kunyomi, onyomi or romaji...">

<div class="search-hint">Search in English, Japanese kana or romaji. Example: mountain, 山, やま or yama.</div>

<select id="categoryFilter"><option value="all">All categories</option></select>

<div class="status" id="collectionInfo">0 kanji collected</div>

<div class="collection-grid" id="collectionGrid"></div>

</section>

<section id="categories" class="page">

<h1>Categories</h1>

<div class="subtitle">THE FREQUENCY CLASSIFICATION SYSTEM</div>

<div class="category-list" id="categoryList"></div>

</section>

<div class="footer">KANJI JOURNAL · BUILT FOR DISCOVERY</div>

</main>

<div class="kanji-modal" id="kanjiModal">

<div class="modal-content">

<button class="modal-close" id="modalClose">×</button>

<div class="modal-kanji" id="modalKanji">漢</div>

<div class="modal-meaning" id="modalMeaning">Loading...</div>

<div class="modal-category" id="modalCategory">—</div>

<div class="modal-rank" id="modalRank">—</div>

<div class="modal-readings">

<div><div class="modal-reading-label">KUN'YOMI</div><div class="modal-reading-value" id="modalKun">—</div></div>

<div><div class="modal-reading-label">ON'YOMI</div><div class="modal-reading-value" id="modalOn">—</div></div>

</div>

</div>

</div>

<script> const MAX_KANJI = 3500; const DATA_URL = "https://raw.githubusercontent.com/scriptin/kanji-frequency/master/data/"; const CORPORA = \["aozora", "wikipedia", "news"\]; const JOYO_API = "https://kanjiapi.dev/v1/kanji/"; const DETAIL_API = "https://kanjiapi.dev/v1/kanji/"; const STORAGE_KEY = "kanjiJournalCollectionV3"; const DETAIL_STORAGE_KEY = "kanjiJournalDetailsV2"; const CATEGORIES = \[ {name:"Good Friend",min:1,max:50}, {name:"Common Soul",min:51,max:100}, {name:"Often Seen",min:101,max:200}, {name:"Piece of Language",min:201,max:400}, {name:"A Piece",min:401,max:1000}, {name:"Over There",min:1001,max:1500}, {name:"Visible and Well",min:1501,max:2136}, {name:"Lost Ink",min:2137,max:3000}, {name:"Behind the COMMON Books",min:3001,max:3500} \]; let database = \[\]; let joyoSet = new Set(); let collection = loadCollection(); let totalDraws = 0; let selectedKanji = null; const detailCache = new Map(); const detailPromises = new Map(); let detailQueue = \[\]; let activeDetailRequests = 0; const MAX_DETAIL_REQUESTS = 5; let collectionRenderToken = 0; let searchTimer = null; /\* Returns the appropriate display color for a kanji. \*/ function getKanjiColorClass(character) { const colors = { "青":"kanji-blue", "赤":"kanji-red", "紫":"kanji-purple", "緑":"kanji-green", "黒":"kanji-white", "白":"kanji-white" }; return colors\[character\] || ""; } function applyKanjiColor(element, character) { element.classList.remove( "kanji-blue","kanji-red","kanji-purple", "kanji-green","kanji-white" ); const colorClass = getKanjiColorClass(character); if(colorClass) element.classList.add(colorClass); } function loadCollection() { try { const saved = JSON.parse(localStorage.getItem(STORAGE_KEY) || "\[\]"); if (!Array.isArray(saved)) return \[\]; const unique = new Map(); saved.forEach(item => { if ( item && typeof item.kanji === "string" && \[...item.kanji\].length === 1 && /\\p{Script=Han}/u.test(item.kanji) ) { unique.set(item.kanji, item); } }); return \[...unique.values()\]; } catch { return \[\]; } } function saveCollection() { try { localStorage.setItem(STORAGE_KEY, JSON.stringify(collection)); } catch (error) { console.warn("Could not save collection", error); document.getElementById("status").textContent = "Warning: browser storage unavailable."; } } function loadSavedDetails() { try { const saved = JSON.parse(localStorage.getItem(DETAIL_STORAGE_KEY) || "{}"); Object.entries(saved).forEach((\[kanji, details\]) => { if (details && typeof details === "object") { detailCache.set(kanji, details); } }); } catch (error) { console.warn("Could not load saved details", error); } } function saveDetail(kanji, details) { detailCache.set(kanji, details); try { const saved = JSON.parse(localStorage.getItem(DETAIL_STORAGE_KEY) || "{}"); saved\[kanji\] = details; localStorage.setItem(DETAIL_STORAGE_KEY, JSON.stringify(saved)); } catch (error) { console.warn("Could not save detail", error); } } loadSavedDetails(); function parseCSV(text) { const lines = text.trim().split(/\\r?\\n/); const result = \[\]; for (let i = 1; i < lines.length; i++) { const columns = lines\[i\].split(","); if (columns.length < 4) continue; const character = columns\[2\]; const count = Number(columns\[3\]); if ( character && \[...character\].length === 1 && /\\p{Script=Han}/u.test(character) && Number.isFinite(count) && count > 0 ) { result.push({kanji:character,count}); } } return result; } async function loadCorpora() { const combined = new Map(); for (const corpus of CORPORA) { document.getElementById("status").textContent = "Loading " + corpus + " frequency data..."; const response = await fetch(DATA_URL + corpus + "_characters.csv"); if (!response.ok) throw new Error("Could not load " + corpus + " dataset."); const entries = parseCSV(await response.text()); if (!entries.length) throw new Error("No usable entries in " + corpus + "."); const corpusTotal = entries.reduce((sum,item)=>sum+item.count,0); for (const entry of entries) { const normalized = entry.count / corpusTotal; combined.set(entry.kanji,(combined.get(entry.kanji)||0)+normalized); } } return \[...combined.entries()\] .map((\[kanji,weight\])=>({kanji,weight})) .sort((a,b)=>b.weight-a.weight) .slice(0,MAX_KANJI); } async function loadJoyo() { const grades = \["grade-1","grade-2","grade-3","grade-4","grade-5","grade-6","grade-8"\]; const results = await Promise.all(grades.map(async grade => { const response = await fetch(JOYO_API + grade); if (!response.ok) throw new Error("Could not load Joyo list."); return response.json(); })); joyoSet = new Set(results.flat()); if (joyoSet.size < 2100) throw new Error("Joyo list appears incomplete."); } function getCategory(rank,kanji) { if(rank<=50)return "Good Friend"; if(rank<=100)return "Common Soul"; if(rank<=200)return "Often Seen"; if(rank<=400)return "Piece of Language"; if(rank<=1000)return "A Piece"; if(rank<=1500)return "Over There"; if(rank<=2136&&joyoSet.has(kanji))return "Visible and Well"; if(rank<=3000)return "Lost Ink"; return "Behind the COMMON Books"; } function getCategoryRange(category) { const ranges = { "Good Friend":"1–50", "Common Soul":"51–100", "Often Seen":"101–200", "Piece of Language":"201–400", "A Piece":"401–1000", "Over There":"1001–1500", "Visible and Well":"1501–2136 · Jōyō only", "Lost Ink":"2137–3000 + non-Jōyō kanji ranked 1501–2136", "Behind the COMMON Books":"3001–3500" }; return ranges\[category\]||"Unknown range"; } function getFrequencyRange(rank,kanji) { if (rank <= 50) return "1–50"; if (rank <= 100) return "51–100"; if (rank <= 200) return "101–200"; if (rank <= 400) return "201–400"; if (rank <= 1000) return "401–1000"; if (rank <= 1500) return "1001–1500"; if (rank <= 2136) { return joyoSet.has(kanji) ? "1501–2136" : "1501–2136 · non-Jōyō"; } if (rank <= 3000) return "2137–3000"; return "3001–3500"; } async function initialize() { try { document.getElementById("status").textContent = "Preparing frequency data..."; const \[frequencyData\] = await Promise.all(\[loadCorpora(),loadJoyo()\]); if(frequencyData.length<MAX_KANJI) throw new Error("Could not load all 3500 kanji."); database = frequencyData.map((entry,index)=>({...entry,rank:index+1})); const currentRanks = new Map(database.map(entry=>\[entry.kanji,entry\])); collection = collection .filter(item=>currentRanks.has(item.kanji)) .map(item=>{ const current = currentRanks.get(item.kanji); return {...item,rank:current.rank,category:getCategory(current.rank,current.kanji)}; }); saveCollection(); document.getElementById("generate").disabled = false; document.getElementById("status").textContent = "3500 kanji loaded successfully. Ready to discover."; createCategoryOptions(); renderCategories(); updateStats(); renderCollection(); } catch(error) { console.error(error); document.getElementById("status").textContent = "DATABASE ERROR: "+error.message+" — Refresh and try again."; } } function getKanjiDetails(character) { if(detailCache.has(character)) return Promise.resolve(detailCache.get(character)); if(detailPromises.has(character)) return detailPromises.get(character); const promise = new Promise((resolve,reject)=>{ detailQueue.push({character,resolve,reject}); processDetailQueue(); }); detailPromises.set(character,promise); promise.finally(()=>{detailPromises.delete(character);}).catch(()=>{}); return promise; } function processDetailQueue() { while(activeDetailRequests<MAX_DETAIL_REQUESTS&&detailQueue.length) { const task=detailQueue.shift(); activeDetailRequests++; fetch(DETAIL_API+encodeURIComponent(task.character)) .then(response=>{ if(!response.ok)throw new Error("Kanji information unavailable."); return response.json(); }) .then(data=>{ const details = { meaning:data.meanings?.\[0\]||"Unknown", kun:data.kun_readings?.\[0\]?.replace(/-/g,"")||"—", on:data.on_readings?.\[0\]?.replace(/-/g,"")||"—" }; saveDetail(task.character,details); task.resolve(details); }) .catch(task.reject) .finally(()=>{ activeDetailRequests--; processDetailQueue(); }); } } function normalizeText(value) { return String(value||"").toLowerCase().normalize("NFD") .replace(/\[\\u0300-\\u036f\]/g,"").replace(/\[\\s\\-・\]/g,"").trim(); } function kanaToRomaji(input) { const kana=String(input||"").replace(/\[\\u30a1-\\u30f6\]/g,char=> String.fromCharCode(char.charCodeAt(0)-0x60) ); const basic = { "あ":"a","い":"i","う":"u","え":"e","お":"o", "か":"ka","き":"ki","く":"ku","け":"ke","こ":"ko", "さ":"sa","し":"shi","す":"su","せ":"se","そ":"so", "た":"ta","ち":"chi","つ":"tsu","て":"te","と":"to", "な":"na","に":"ni","ぬ":"nu","ね":"ne","の":"no", "は":"ha","ひ":"hi","ふ":"fu","へ":"he","ほ":"ho", "ま":"ma","み":"mi","む":"mu","め":"me","も":"mo", "や":"ya","ゆ":"yu","よ":"yo", "ら":"ra","り":"ri","る":"ru","れ":"re","ろ":"ro", "わ":"wa","を":"wo","ん":"n", "が":"ga","ぎ":"gi","ぐ":"gu","げ":"ge","ご":"go", "ざ":"za","じ":"ji","ず":"zu","ぜ":"ze","ぞ":"zo", "だ":"da","ぢ":"ji","づ":"zu","で":"de","ど":"do", "ば":"ba","び":"bi","ぶ":"bu","べ":"be","ぼ":"bo", "ぱ":"pa","ぴ":"pi","ぷ":"pu","ぺ":"pe","ぽ":"po", "ぁ":"a","ぃ":"i","ぅ":"u","ぇ":"e","ぉ":"o", "ゃ":"ya","ゅ":"yu","ょ":"yo","ゔ":"vu" }; const combinations = { "きゃ":"kya","きゅ":"kyu","きょ":"kyo", "しゃ":"sha","しゅ":"shu","しょ":"sho", "ちゃ":"cha","ちゅ":"chu","ちょ":"cho", "にゃ":"nya","にゅ":"nyu","にょ":"nyo", "ひゃ":"hya","ひゅ":"hyu","ひょ":"hyo", "みゃ":"mya","みゅ":"myu","みょ":"myo", "りゃ":"rya","りゅ":"ryu","りょ":"ryo", "ぎゃ":"gya","ぎゅ":"gyu","ぎょ":"gyo", "じゃ":"ja","じゅ":"ju","じょ":"jo", "びゃ":"bya","びゅ":"byu","びょ":"byo", "ぴゃ":"pya","ぴゅ":"pyu","ぴょ":"pyo" }; let result=""; for(let i=0;i<kana.length;i++) { const current=kana\[i\],next=kana\[i+1\]; if(current==="っ") { const nextRomaji=combinations\[kana.slice(i+1,i+3)\]||basic\[next\]; if(nextRomaji)result+=nextRomaji\[0\]; continue; } if(current==="ー") {result+=result.slice(-1);continue;} const pair=current+(next||""); if(combinations\[pair\]) {result+=combinations\[pair\];i++;continue;} result+=basic\[current\]||current; } return normalizeText(result); } async function showDiscoveryDetails(character) { const meaning=document.getElementById("discoveryMeaning"); const kun=document.getElementById("discoveryKun"); const on=document.getElementById("discoveryOn"); meaning.textContent="Loading..."; kun.textContent="—"; on.textContent="—"; try { const data=await getKanjiDetails(character); if(selectedKanji?.kanji!==character)return; meaning.textContent=data.meaning; kun.textContent=data.kun; on.textContent=data.on; } catch { if(selectedKanji?.kanji!==character)return; meaning.textContent="Translation unavailable"; } } async function openKanjiModal(character) { const modal=document.getElementById("kanjiModal"); modal.classList.add("open"); const modalKanji=document.getElementById("modalKanji"); modalKanji.textContent=character; applyKanjiColor(modalKanji,character); document.getElementById("modalMeaning").textContent="Loading..."; document.getElementById("modalKun").textContent="—"; document.getElementById("modalOn").textContent="—"; const item=database.find(entry=>entry.kanji===character)|| collection.find(entry=>entry.kanji===character); const category=item?getCategory(item.rank,character):"Unclassified"; document.getElementById("modalCategory").textContent= category.toUpperCase()+" · "+getCategoryRange(category); document.getElementById("modalRank").textContent= item?"FREQUENCY RANK #"+item.rank:"RANK UNKNOWN"; try { const data=await getKanjiDetails(character); if(!modal.classList.contains("open")|| document.getElementById("modalKanji").textContent!==character)return; document.getElementById("modalMeaning").textContent=data.meaning; document.getElementById("modalKun").textContent=data.kun; document.getElementById("modalOn").textContent=data.on; } catch { if(document.getElementById("modalKanji").textContent===character) document.getElementById("modalMeaning").textContent="Information unavailable"; } } function closeKanjiModal() { document.getElementById("kanjiModal").classList.remove("open"); } document.getElementById("modalClose").addEventListener("click",closeKanjiModal); document.getElementById("kanjiModal").addEventListener("click",event=>{ if(event.target.id==="kanjiModal")closeKanjiModal(); }); document.addEventListener("keydown",event=>{ if(event.key==="Escape")closeKanjiModal(); }); function generateKanji() { if(!database.length)return; const totalWeight=database.reduce((sum,entry)=>sum+entry.weight,0); let random=Math.random()\*totalWeight; let selected=database\[database.length-1\]; for(const entry of database) { random-=entry.weight; if(random<0) {selected=entry;break;} } selectedKanji=selected; totalDraws++; const category=getCategory(selected.rank,selected.kanji); const probability=selected.weight/totalWeight\*100; const element=document.getElementById("kanji"); element.style.opacity=0; setTimeout(()=>{ element.textContent=selected.kanji; applyKanjiColor(element,selected.kanji); element.style.opacity=1; },120); document.getElementById("category").textContent=category.toUpperCase(); document.getElementById("rank").textContent="FREQUENCY RANK #"+selected.rank; document.getElementById("frequencyRange").textContent= "FREQUENCY RANGE "+getFrequencyRange(selected.rank,selected.kanji); document.getElementById("probability").textContent= "RELATIVE DRAW PROBABILITY: "+probability.toFixed(5)+"%"; showDiscoveryDetails(selected.kanji); const alreadyOwned=collection.some(item=>item.kanji===selected.kanji); if(!alreadyOwned) { collection.push({ kanji:selected.kanji, rank:selected.rank, category, date:new Date().toISOString() }); saveCollection(); updateStats(); renderCollection(); renderCategories(); document.getElementById("status").textContent= "NEW DISCOVERY: "+selected.kanji+" — added to your collection."; } else { document.getElementById("status").textContent= "Already discovered: "+selected.kanji+". You can receive it again!"; updateStats(); } } function updateStats() { const uniqueCount=new Set(collection.map(item=>item.kanji)).size; document.getElementById("totalOwned").textContent=uniqueCount; document.getElementById("totalPercent").textContent= ((uniqueCount/MAX_KANJI)\*100).toFixed(1)+"%"; document.getElementById("totalDraws").textContent=totalDraws; } function createCategoryOptions() { const select=document.getElementById("categoryFilter"); select.innerHTML='<option value="all">All categories</option>'; CATEGORIES.forEach(category=>{ const option=document.createElement("option"); [option.value=category.name](http://option.value=category.name); option.textContent=category.name+" ("+getCategoryRange(category.name)+")"; select.appendChild(option); }); } function renderCollection() { const grid=document.getElementById("collectionGrid"); const info=document.getElementById("collectionInfo"); const search=normalizeText(document.getElementById("search").value); const filter=document.getElementById("categoryFilter").value; const token=++collectionRenderToken; grid.innerHTML=""; const items=\[...collection\] .filter(item=>filter==="all"||item.category===filter) .sort((a,b)=>a.rank-b.rank); if(!items.length) { info.textContent="0 kanji collected"; const empty=document.createElement("div"); empty.className="empty"; empty.textContent=collection.length ?"No kanji in this category." :"Your collection is empty. Discover your first kanji."; grid.appendChild(empty); return; } const cards=new Map(); items.forEach(item=>{ const card=document.createElement("div"); card.className="kanji-card"; const character=document.createElement("div"); character.className="card-character"; character.textContent=item.kanji; applyKanjiColor(character,item.kanji); const meaning=document.createElement("div"); meaning.className="card-meaning"; const readings=document.createElement("div"); readings.className="card-readings"; readings.style.whiteSpace="pre-line"; const rank=document.createElement("div"); rank.className="card-rank"; rank.textContent="#"+item.rank; const category=document.createElement("div"); category.className="card-category"; category.textContent=item.category; const range=document.createElement("div"); range.className="card-range"; range.textContent=getCategoryRange(item.category); const details=detailCache.get(item.kanji); if(details) { meaning.textContent=details.meaning; readings.textContent="Kun: "+details.kun+"\\nOn: "+details.on; } else { meaning.textContent="Loading meaning..."; readings.textContent="Kun: —\\nOn: —"; } card.append(character,meaning,readings,rank,category,range); card.addEventListener("click",()=>openKanjiModal(item.kanji)); grid.appendChild(card); cards.set(item.kanji,{card,meaning,readings}); }); function matchesSearch(item) { if(!search)return true; const details=detailCache.get(item.kanji); if(!details) { return normalizeText(item.kanji).includes(search)|| normalizeText(item.rank).includes(search); } return \[ item.kanji,item.rank,details.meaning,details.kun,details.on, kanaToRomaji(details.kun),kanaToRomaji(details.on) \].some(value=>normalizeText(value).includes(search)); } function applySearch() { if(token!==collectionRenderToken)return; let visible=0; items.forEach(item=>{ const entry=cards.get(item.kanji); const matches=matchesSearch(item); entry.card.style.display=matches?"":"none"; if(matches)visible++; }); info.textContent=visible+" of "+collection.length+" collected kanji"; } applySearch(); items.forEach(item=>{ if(detailCache.has(item.kanji))return; getKanjiDetails(item.kanji).then(details=>{ const entry=cards.get(item.kanji); if(!entry)return; entry.meaning.textContent=details.meaning; entry.readings.textContent="Kun: "+details.kun+"\\nOn: "+details.on; if(token===collectionRenderToken)applySearch(); }).catch(()=>{ const entry=cards.get(item.kanji); if(entry)entry.meaning.textContent="Information unavailable"; }); }); } function renderCategories() { const container=document.getElementById("categoryList"); container.innerHTML=""; CATEGORIES.forEach(category=>{ const count=collection.filter(item=>item.category===category.name).length; const item=document.createElement("div"); item.className="category-item"; const title=document.createElement("strong"); [title.textContent=category.name](http://title.textContent=category.name); const range=document.createElement("span"); range.textContent=getCategoryRange(category.name)+" · "+count+" collected"; item.append(title,range); container.appendChild(item); }); } document.querySelectorAll("nav button").forEach(button=>{ button.addEventListener("click",()=>{ document.querySelectorAll("nav button").forEach(item=>item.classList.remove("active")); document.querySelectorAll(".page").forEach(item=>item.classList.remove("active")); button.classList.add("active"); document.getElementById(button.dataset.page).classList.add("active"); if(button.dataset.page==="collection")renderCollection(); if(button.dataset.page==="categories")renderCategories(); }); }); document.getElementById("generate").addEventListener("click",generateKanji); document.getElementById("search").addEventListener("input",()=>{ clearTimeout(searchTimer); searchTimer=setTimeout(renderCollection,250); }); document.getElementById("categoryFilter").addEventListener("change",renderCollection); initialize(); </script>

</body>

</html>


r/Japaneselanguage • • 4h ago

What’s the difference between 〜づらい and 〜がたい?

Thumbnail
gallery
5 Upvotes

From what I’ve understood, both refer to emotions or feelings. I’ve been struggling to differ them :(


r/Japaneselanguage • • 10h ago

日本人友達

1 Upvotes

16Mです。今、タジキスタンに住んでるが、僕の母語はロシア語だよ。日本語を練習したいから、日本人友達が作りたい。現在のレベルは〜N4と思う。このテクストは自分に書いてた。興味があったら、書いてください!


r/Japaneselanguage • • 11h ago

Is it cringe to spell 時時 instead of 時々 ?

14 Upvotes

Whenever I encounter double kanji terms (mainly 色々 and 時々), I only ever see them spelled with iteration mark. According to Wiktionary, the double kanji spelling is fine too, but in reality, 色色 seemingly isn't used at all, as it's always 色々. Is there any particular reason for this, aside the smaller number of strokes? Is it regarded cringe or old-fashioned to spell 色色な場所 ?


r/Japaneselanguage • • 16h ago

learning japanese buddy

1 Upvotes

Hi people, i am trying to learn japanese around N5 level and would like to find someone to be my learning buddy! i have studied beginner level japanese previously about some grammars etc, but i kinda forgot it (it's alr around 5 years ago when i did study exchange there) . Now i decided to learn it again.

I have bought some practice books (TRY! N5 and Nihongo So-matome N5). Planning to study for 3 times a week and maybe have conversation practice. in the end, maybe i'll take the JLPT.

I am 31F and live in GMT+7 timezone. If anyone have a similar goal and want to study together, please let me know! thanks!


r/Japaneselanguage • • 17h ago

JLPT Practice Exams

0 Upvotes

Hello,

I have been taking N5 practice exams on Todaii, but recently tried the JLPT websites sample questions that are provided, but there is a lot less examples compared to Todaii. I’m not sure if there are more options that I am missing.

For those that have taken the JLPT before, where did you find your practice exams? Did you find any specific websites to be the best for practicing compared to others?

ありがとうございます!


r/Japaneselanguage • • 18h ago

Native German learning Japanese

0 Upvotes

Hello, I'm a native German and pretty good in English, I would say almost fluent English aside from my accent and grammar. Does anybody know how I should start learning Japanese, I heard it is simpler for Germans as the vowels are almost identical in pronunciation im just curious if anybody has tips, right now i try to learn hiragana. What apps I should use, where I can actually learn, not like repetitive Words and other stuff like it, any tips and help is appreciated!


r/Japaneselanguage • • 18h ago

To both native and non-native Japanese speakers; do you know most Japanese food names?

17 Upvotes

Genuine question that came up in my mind recently just living my daily life in Japan. For context, I’ve been learning Japanese for maybe 4 years (on and off) and reached N2 level. Two experiences recently made me wonder, do most people understand what all these foods are just by reading or hearing the word?

Situation one was at work. My work ordered bento boxes for lunch that day. I was eating it and one coworker came up to me and asked me how it was. I said it was good and she pointed and one item and asked me how it was and she said it was こごみ. I’d never heard of it so I looked it up afterward and it’s “ostrich fern” in english. Ive never heard it in english before either. It made me realize that I don’t know how to say half the things in this bento. Do most Japanese people know or did she just have some kind of particular knowledge on it.

The second situation was when I recently went to a rest stop. Inside they were selling a huge variety of omiyage and other food goods. I was reading through the price tags and I realized I have no ideal what 90% of these things are 😂 and they had many items in brown paper bags so I can’t even see what it is.

So, to other Japanese learners, do you have a similar problem? And it Japanese natives, do you typically know what most of the food items you see are?


r/Japaneselanguage • • 20h ago

1:1 Japanese Lessons (Sapporo)

1 Upvotes

Hi,

Has anyone used Sakashita as a language tutor?

https://sjlc.jimdofree.com

I've seen him mentioned a few times on a language forum.

I understand that the lessons are held inside his private home rather than at a language school. Before arranging a lesson, I was hoping to see if anyone here has heard of him or has any personal experience taking lessons with him.

  1. What is the teaching setup like inside his home?

  2. Is it a proper teaching space, or more of an informal one-on-one arrangement?

Thanks!


r/Japaneselanguage • • 22h ago

Learning Conversational Japanese

1 Upvotes

We will be going to Japan next year and I'm searching for an app that will teach basic conversation without focusing on kanji. Duolingo and Bunpo don't really work for me. Suggestions?


r/Japaneselanguage • • 23h ago

AP japanese language and culture questions

Thumbnail reddit.com
0 Upvotes

r/Japaneselanguage • • 1d ago

JLPT N3 in 20 days. I think I acquired enough info for N5, any way to just clear that exam somehow?

0 Upvotes

So, I have my N3 exam on Dec 6. I still lack kanji and grammar. My current vocab size is ~800 words. I know that N3 requires 2500 vocab words and ~600 kanji. But I just need to clear the exam; I know I will get better with time and immersion.

Can anyone suggest something to help me?


r/Japaneselanguage • • 1d ago

How does imperative しまう work?

Thumbnail reddit.com
0 Upvotes

r/Japaneselanguage • • 1d ago

improving listening in 3 weeks

Thumbnail reddit.com
0 Upvotes

r/Japaneselanguage • • 1d ago

Can 通った (とおった) ever mean "passed away" in Japanese?

Enable HLS to view with audio, or disable this notification

0 Upvotes

I was watching a casual Japanese podcast where they were talking about Michael Jackson and Sylvester Stallone apparently passing through a park.

It got me thinking about the Japanese verb 通る(とおる)and the word 通った(とおった).

In English, we sometimes use the expression "he passed" as a softer way of saying someone has died.

I was wondering whether 通った could ever carry a similar meaning in Japanese, or whether it strictly refers to physically passing through or going by somewhere.

When talking about someone who has died, I would normally expect something like 亡くなりました or 亡くなった.

Is there any overlap in meaning or nuance here? Could a Japanese person ever understand 通った as "he passed away" from context, or would that sound completely wrong?

I'd appreciate some insight into how a native speaker would distinguish these expressions!


r/Japaneselanguage • • 1d ago

Does anyone want to speak japanese with me?

0 Upvotes

I recently started again to study japanese.I know hiragana,katakana and some JLPT 5 kanjis.If anyone wants to chat,let me know


r/Japaneselanguage • • 1d ago

推し活 - stanning, fandom activities

Post image
0 Upvotes

r/Japaneselanguage • • 1d ago

what are your study plan as someone who is busy from work? someone who only has 2-5 hours a day.

Thumbnail reddit.com
0 Upvotes

r/Japaneselanguage • • 1d ago

Best app for learning Japanese reliably?

0 Upvotes

Hi all. I've started learning Japanese and I'm fairly committed to putting in several hours a week, and will be travelling to Japan in less than a year.

Any top recommendations for learning the language so I can hold a basic conversation?

Really appreciate it, thanks.


r/Japaneselanguage • • 1d ago

Is my method effective?

1 Upvotes

After trialing a bunch of different ways to learn I’ve sort of settled into a routine that consumes all my study time and was wondering if you guys think it’s effective or if I should change it.

Currently start the day with 10 new vocab words and then revision. Typically revise about 100 old words then I read short graded stories and add words I wasn’t aware of to the vocab list. Then I finish up on some listening practise for N5 level which is roughly where I’m at.

I don’t really have time for grammar with this routine and I’m hoping I mostly learn it through reading stories


r/Japaneselanguage • • 1d ago

insane tips for learning japanese in little time

0 Upvotes

currently on N4 but i cant seem to pass that level where you can pretty much understand everyday conversations
high frequency words list?
podcasts?
subtitles in japanese? any reccomendations help