🏠 หน้าหลัก

🫀 3D Human Anatomy Studio

ส่องสำรวจโครงสร้างและอวัยวะมนุษย์ 3 มิติ

ระบบร่างกาย
👆 ลากเมาส์หมุน 360° | เลื่อนลูกกลิ้งเพื่อซูม | คลิกที่อวัยวะเพื่อสำรวจ
🫀

หัวใจ

HEART (COR)

💡 เรื่องมหัศจรรย์น่ารู้

ี่หลักคือดูดซึมสารอาหารจากกระเพาะส่งไปเลี้ยงร่างกาย และขับกากอาหารออกมาเป็นอึ!' } }; function showOrgan(organId, hotspotElement) { // UI Hotspot Update document.querySelectorAll('.hotspot').forEach(hs => hs.classList.remove('active')); if(hotspotElement) hotspotElement.classList.add('active'); // Hide welcome, show data document.getElementById('welcome-msg').style.display = 'none'; const detailsDiv = document.getElementById('organ-details'); // Switch from display:none to its intended flex layout detailsDiv.style.display = 'flex'; const data = organData[organId]; // Adding a small animation effect detailsDiv.style.opacity = 0; setTimeout(() => { document.getElementById('o-icon').innerText = data.icon; document.getElementById('o-name').innerText = data.name; document.getElementById('o-sci').innerText = data.sci; document.getElementById('o-desc').innerText = data.desc; document.getElementById('speakBtn').onclick = () => speakFact(`นี่คือ ${data.name} ภาษาอังกฤษเรียกว่า ${data.sci}. ${data.desc}`); detailsDiv.style.transition = "opacity 0.5s"; detailsDiv.style.opacity = 1; // Auto speak when clicked (Optional: Can remove if too noisy) // speakFact(`นี่คือ ${data.name}... ${data.desc}`); }, 100); } // Web Speech API function speakFact(text) { if ('speechSynthesis' in window) { window.speechSynthesis.cancel(); const utterance = new SpeechSynthesisUtterance(text); utterance.lang = 'th-TH'; utterance.rate = 0.9; utterance.pitch = 1.2; window.speechSynthesis.speak(utterance); } else { alert("เบราว์เซอร์ของคุณไม่รองรับระบบเสียงอ่านจ้า"); } }