{"id":58,"date":"2026-11-09T09:38:35","date_gmt":"2026-11-09T06:08:35","guid":{"rendered":"https:\/\/eqam.ir\/?page_id=58"},"modified":"2026-11-14T15:41:25","modified_gmt":"2026-11-14T12:11:25","slug":"58-2","status":"publish","type":"page","link":"https:\/\/eqam.ir\/?page_id=58","title":{"rendered":"\u0644\u0644\u0644"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"fa\" dir=\"rtl\">\n<head>\n  <meta charset=\"UTF-8\">\n  <title>\u0646\u0645\u0627\u06cc\u0634\u06af\u0627\u0647 \u0633\u0647\u200c\u0628\u0639\u062f\u06cc \u062c\u0647\u0627\u062f \u062a\u0628\u06cc\u06cc\u0646<\/title>\n  <!-- \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 A-Frame \u0627\u0632 \u0637\u0631\u06cc\u0642 CDN -->\n  <script src=\"https:\/\/aframe.io\/releases\/1.4.0\/aframe.min.js\"><\/script>\n<\/head>\n<body>\n  <a-scene>\n    <!-- \u0622\u0633\u0645\u0627\u0646 (\u0631\u0646\u06af \u067e\u0633\u200c\u0632\u0645\u06cc\u0646\u0647 \u0633\u0631\u0645\u0647\u200c\u0627\u06cc \u062a\u06cc\u0631\u0647 \u0645\u062a\u0646\u0627\u0633\u0628 \u0628\u0627 \u062a\u0645 \u06a9\u062a\u0627\u0628) -->\n    <a-sky color=\"#0f172a\"><\/a-sky>\n\n    <!-- \u0646\u0648\u0631\u067e\u0631\u062f\u0627\u0632\u06cc \u0645\u062d\u06cc\u0637\u06cc -->\n    <a-light type=\"ambient\" color=\"#ffffff\" intensity=\"0.8\"><\/a-light>\n    <a-light type=\"directional\" color=\"#ffd700\" intensity=\"0.5\" position=\"-1 2 1\"><\/a-light>\n\n    <!-- \u0632\u0645\u06cc\u0646 \u0646\u0645\u0627\u06cc\u0634\u06af\u0627\u0647 (\u0628\u0647 \u0631\u0646\u06af \u062e\u0627\u06a9\u0633\u062a\u0631\u06cc \u062a\u06cc\u0631\u0647 \u06cc\u0627 \u0633\u0631\u0645\u0647\u200c\u0627\u06cc \u0645\u0644\u0627\u06cc\u0645) -->\n    <a-plane position=\"0 0 0\" rotation=\"-90 0 0\" width=\"30\" height=\"30\" color=\"#1e293b\"><\/a-plane>\n\n    <!-- \u06cc\u06a9 \u062a\u0627\u0628\u0644\u0648\u06cc \u0646\u0645\u0648\u0646\u0647 \u0631\u0648\u06cc \u062f\u06cc\u0648\u0627\u0631 \u0641\u0631\u0636\u06cc (\u0628\u0631\u0627\u06cc \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 \u0639\u06a9\u0633\u200c\u0646\u0648\u0634\u062a\u0647\u200c\u0647\u0627) -->\n    <a-box position=\"0 2 -5\" width=\"4\" height=\"3\" depth=\"0.1\" color=\"#334155\"><\/a-box>\n    \n    <!-- \u0645\u062a\u0646 \u0631\u0627\u0647\u0646\u0645\u0627 \u06cc\u0627 \u0639\u0646\u0648\u0627\u0646 \u0631\u0648\u06cc \u062a\u0627\u0628\u0644\u0648 (\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062a\u0635\u0627\u0648\u06cc\u0631 \u06cc\u0627 \u0645\u062a\u0646\u200c\u0647\u0627\u06cc \u062e\u0648\u062f \u0631\u0627 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u06a9\u0646\u06cc\u062f) -->\n    <a-text value=\"\u0628\u0631\u0634 \u0647\u0627\u06cc\u06cc \u0627\u0632 \u06a9\u062a\u0627\u0628 \u062c\u0647\u0627\u062f \u062a\u0628\u06cc\u06cc\u0646\" position=\"-1.5 2 -4.8\" color=\"#ffd700\" width=\"6\"><\/a-text>\n\n    <!-- \u062f\u0648\u0631\u0628\u06cc\u0646 \u0628\u0627 \u0642\u0627\u0628\u0644\u06cc\u062a \u062d\u0631\u06a9\u062a \u0648 \u06a9\u0646\u062a\u0631\u0644 \u0628\u0627 \u06a9\u0644\u06cc\u062f\u0647\u0627\u06cc WASD \u0648 \u0645\u0648\u0633 -->\n    <a-entity id=\"rig\" position=\"0 1.6 0\">\n      <a-camera look-controls wasd-controls=\"acceleration: 20\"><\/a-camera>\n    <\/a-entity>\n  <\/a-scene>\n<\/body>\n<\/html>\n\n\n\n<iframe src=\"https:\/\/eqam.ir\/gallery.html\" style=\"width: 100%; height: 600px; border: none; border-radius: 12px;\" allowfullscreen><\/iframe>\n\n\n\n<iframe style=\"width: 100%; height: 600px; border: none; border-radius: 12px; display: block;\" allowfullscreen srcdoc='\n<!DOCTYPE html>\n<html lang=\"fa\" dir=\"rtl\">\n<head>\n<meta charset=\"UTF-8\">\n<style>\n  * { box-sizing: border-box; margin: 0; padding: 0; }\n  body { width: 100%; height: 100vh; overflow: hidden; background: #141418; font-family: Tahoma, sans-serif; }\n  #overlay { position: absolute; inset: 0; background: rgba(15,15,20,0.88); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; z-index: 10; padding: 20px; }\n  #overlay h3 { color: #f0c040; font-size: 22px; margin-bottom: 10px; }\n  #overlay p { font-size: 14px; color: #ddd; line-height: 1.8; margin-bottom: 20px; }\n  #btn { background: #f0c040; color: #111; border: none; padding: 10px 28px; font-size: 15px; font-weight: bold; border-radius: 6px; cursor: pointer; }\n  #info { position: absolute; bottom: 20px; right: 20px; background: rgba(0,0,0,0.85); border-right: 4px solid #f0c040; color: #fff; padding: 12px 16px; border-radius: 6px; max-width: 280px; display: none; z-index: 5; }\n  #info strong { display: block; color: #f0c040; font-size: 15px; margin-bottom: 4px; }\n  #info span { font-size: 12px; color: #ccc; }\n<\/style>\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/three.js\/r128\/three.min.js\"><\/script>\n<\/head>\n<body>\n  <div id=\"overlay\">\n    <h3>\u0648\u0631\u0648\u062f \u0628\u0647 \u0646\u0645\u0627\u06cc\u0634\u06af\u0627\u0647 \u0645\u062c\u0627\u0632\u06cc<\/h3>\n    <p>\u062d\u0631\u06a9\u062a \u0628\u0627 \u06a9\u0644\u06cc\u062f\u0647\u0627\u06cc <strong>W A S D<\/strong> \u06cc\u0627 <strong>\u0641\u0644\u0634\u200c\u0647\u0627\u06cc \u06a9\u06cc\u0628\u0648\u0631\u062f<\/strong><br>\u0686\u0631\u062e\u0634 \u062f\u0648\u0631\u0628\u06cc\u0646 \u0628\u0627 <strong>\u06a9\u0634\u06cc\u062f\u0646 \u0645\u0648\u0633<\/strong> \u0631\u0648\u06cc \u0635\u0641\u062d\u0647<\/p>\n    <button id=\"btn\">\u0634\u0631\u0648\u0639 \u0628\u0627\u0632\u062f\u06cc\u062f<\/button>\n  <\/div>\n  <div id=\"info\"><strong id=\"t\"><\/strong><span id=\"d\"><\/span><\/div>\n\n<script>\nwindow.onload = function() {\n  if (typeof THREE === \"undefined\") {\n    document.getElementById(\"overlay\").innerHTML = \"<p style=color:red>\u062e\u0637\u0627 \u062f\u0631 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0645\u0648\u062a\u0648\u0631 \u0633\u0647\u200c\u0628\u0639\u062f\u06cc<\/p>\";\n    return;\n  }\n  var scene = new THREE.Scene();\n  scene.background = new THREE.Color(0x1a1a22);\n  scene.fog = new THREE.Fog(0x1a1a22, 8, 35);\n\n  var camera = new THREE.PerspectiveCamera(65, window.innerWidth \/ window.innerHeight, 0.1, 100);\n  camera.position.set(0, 1.7, 9);\n\n  var renderer = new THREE.WebGLRenderer({ antialias: true });\n  renderer.setSize(window.innerWidth, window.innerHeight);\n  document.body.appendChild(renderer.domElement);\n\n  scene.add(new THREE.AmbientLight(0xffffff, 0.65));\n  var light = new THREE.DirectionalLight(0xfff5e0, 0.6);\n  light.position.set(4, 8, 5);\n  scene.add(light);\n\n  var roomW = 14, roomL = 22, roomH = 4.5;\n  var floor = new THREE.Mesh(new THREE.PlaneGeometry(roomW, roomL), new THREE.MeshStandardMaterial({ color: 0x2b2623 }));\n  floor.rotation.x = -Math.PI \/ 2;\n  scene.add(floor);\n\n  var ceil = new THREE.Mesh(new THREE.PlaneGeometry(roomW, roomL), new THREE.MeshStandardMaterial({ color: 0x16161a }));\n  ceil.rotation.x = Math.PI \/ 2;\n  ceil.position.y = roomH;\n  scene.add(ceil);\n\n  var wMat = new THREE.MeshStandardMaterial({ color: 0xe6e2da });\n  [\n    { w: roomW, pos: [0, roomH\/2, -roomL\/2], rot: 0 },\n    { w: roomW, pos: [0, roomH\/2, roomL\/2], rot: Math.PI },\n    { w: roomL, pos: [-roomW\/2, roomH\/2, 0], rot: Math.PI\/2 },\n    { w: roomL, pos: [roomW\/2, roomH\/2, 0], rot: -Math.PI\/2 }\n  ].forEach(function(w) {\n    var m = new THREE.Mesh(new THREE.PlaneGeometry(w.w, roomH), wMat);\n    m.position.set(w.pos[0], w.pos[1], w.pos[2]);\n    m.rotation.y = w.rot;\n    scene.add(m);\n  });\n\n  function makeTex(title, c1, c2) {\n    var c = document.createElement(\"canvas\");\n    c.width = 512; c.height = 512;\n    var ctx = c.getContext(\"2d\");\n    ctx.fillStyle = c1; ctx.fillRect(0, 0, 512, 512);\n    ctx.fillStyle = c2; ctx.beginPath(); ctx.arc(256, 230, 120, 0, Math.PI * 2); ctx.fill();\n    ctx.strokeStyle = \"#fff\"; ctx.lineWidth = 8; ctx.strokeRect(20, 20, 472, 472);\n    ctx.fillStyle = \"#fff\"; ctx.font = \"bold 26px Tahoma\"; ctx.textAlign = \"center\";\n    ctx.fillText(title, 256, 440);\n    return new THREE.CanvasTexture(c);\n  }\n\n  var arts = [\n    { title: \"\u0627\u062b\u0631 \u0627\u0648\u0644: \u0627\u0641\u0642 \u0637\u0644\u0627\u06cc\u06cc\", desc: \"\u062a\u06a9\u0646\u06cc\u06a9 \u0631\u0646\u06af \u0631\u0648\u063a\u0646 \u0631\u0648\u06cc \u0628\u0648\u0645\", pos: [-roomW\/2 + 0.05, 2, -4], rot: Math.PI\/2, c1: \"#233142\", c2: \"#f95959\" },\n    { title: \"\u0627\u062b\u0631 \u062f\u0648\u0645: \u0633\u06a9\u0648\u062a \u0634\u0628\", desc: \"\u0645\u062c\u0645\u0648\u0639\u0647 \u0622\u062b\u0627\u0631 \u0627\u0646\u062a\u0632\u0627\u0639\u06cc \u0645\u062f\u0631\u0646\", pos: [-roomW\/2 + 0.05, 2, 3], rot: Math.PI\/2, c1: \"#1b4332\", c2: \"#52b788\" },\n    { title: \"\u0627\u062b\u0631 \u0633\u0648\u0645: \u0647\u0646\u062f\u0633\u0647 \u0646\u0648\u0631\", desc: \"\u0627\u0644\u0647\u0627\u0645 \u0627\u0632 \u0645\u0639\u0645\u0627\u0631\u06cc \u0633\u0646\u062a\u06cc\", pos: [roomW\/2 - 0.05, 2, -4], rot: -Math.PI\/2, c1: \"#3c096c\", c2: \"#ff9e00\" },\n    { title: \"\u0627\u062b\u0631 \u0686\u0647\u0627\u0631\u0645: \u0645\u0648\u062c \u0622\u0631\u0627\u0645\", desc: \"\u0627\u06a9\u0631\u06cc\u0644\u06cc\u06a9 \u0648 \u062a\u0631\u06a9\u06cc\u0628 \u0645\u0648\u0627\u062f\", pos: [roomW\/2 - 0.05, 2, 3], rot: -Math.PI\/2, c1: \"#3d2c2e\", c2: \"#d4a373\" },\n    { title: \"\u0627\u062b\u0631 \u0628\u0631\u06af\u0632\u06cc\u062f\u0647 \u0646\u0645\u0627\u06cc\u0634\u06af\u0627\u0647\", desc: \"\u062a\u0627\u0628\u0644\u0648\u06cc \u0645\u0631\u06a9\u0632\u06cc \u0633\u0627\u0644\u0646 \u0627\u0635\u0644\u06cc\", pos: [0, 2.1, -roomL\/2 + 0.05], rot: 0, c1: \"#111111\", c2: \"#f0c040\" }\n  ];\n\n  var meshes = [];\n  arts.forEach(function(a) {\n    var g = new THREE.Group();\n    g.position.set(a.pos[0], a.pos[1], a.pos[2]);\n    g.rotation.y = a.rot;\n    g.add(new THREE.Mesh(new THREE.BoxGeometry(2.4, 2.4, 0.1), new THREE.MeshStandardMaterial({ color: 0x3a2618 })));\n    var pic = new THREE.Mesh(new THREE.PlaneGeometry(2.15, 2.15), new THREE.MeshBasicMaterial({ map: makeTex(a.title, a.c1, a.c2) }));\n    pic.position.z = 0.06;\n    pic.userData = { title: a.title, desc: a.desc };\n    g.add(pic);\n    meshes.push(pic);\n    scene.add(g);\n  });\n\n  var keys = {}, yaw = 0, pitch = 0, drag = false, px = 0, py = 0, active = false;\n  document.getElementById(\"btn\").onclick = function() {\n    document.getElementById(\"overlay\").style.display = \"none\";\n    active = true;\n    window.focus();\n  };\n\n  window.addEventListener(\"keydown\", function(e) { keys[e.code] = true; });\n  window.addEventListener(\"keyup\", function(e) { keys[e.code] = false; });\n\n  renderer.domElement.addEventListener(\"mousedown\", function(e) { if (active) { drag = true; px = e.clientX; py = e.clientY; } });\n  window.addEventListener(\"mouseup\", function() { drag = false; });\n  window.addEventListener(\"mousemove\", function(e) {\n    if (!drag) return;\n    yaw -= (e.clientX - px) * 0.004;\n    pitch = Math.max(-1, Math.min(1, pitch - (e.clientY - py) * 0.004));\n    px = e.clientX; py = e.clientY;\n  });\n\n  renderer.domElement.addEventListener(\"touchstart\", function(e) { if (active && e.touches.length) { drag = true; px = e.touches[0].clientX; py = e.touches[0].clientY; } });\n  renderer.domElement.addEventListener(\"touchend\", function() { drag = false; });\n  renderer.domElement.addEventListener(\"touchmove\", function(e) {\n    if (!drag || !e.touches.length) return;\n    yaw -= (e.touches[0].clientX - px) * 0.005;\n    pitch = Math.max(-1, Math.min(1, pitch - (e.touches[0].clientY - py) * 0.005));\n    px = e.touches[0].clientX; py = e.touches[0].clientY;\n  });\n\n  var ray = new THREE.Raycaster();\n  var info = document.getElementById(\"info\"), tEl = document.getElementById(\"t\"), dEl = document.getElementById(\"d\");\n\n  function animate() {\n    requestAnimationFrame(animate);\n    camera.rotation.order = \"YXZ\";\n    camera.rotation.y = yaw;\n    camera.rotation.x = pitch;\n\n    if (active) {\n      var fwd = new THREE.Vector3(-Math.sin(yaw), 0, -Math.cos(yaw));\n      var rgt = new THREE.Vector3(Math.cos(yaw), 0, -Math.sin(yaw));\n      if (keys[\"KeyW\"] || keys[\"ArrowUp\"]) camera.position.addScaledVector(fwd, 0.08);\n      if (keys[\"KeyS\"] || keys[\"ArrowDown\"]) camera.position.addScaledVector(fwd, -0.08);\n      if (keys[\"KeyD\"] || keys[\"ArrowRight\"]) camera.position.addScaledVector(rgt, 0.08);\n      if (keys[\"KeyA\"] || keys[\"ArrowLeft\"]) camera.position.addScaledVector(rgt, -0.08);\n      camera.position.x = Math.max(-roomW\/2 + 1, Math.min(roomW\/2 - 1, camera.position.x));\n      camera.position.z = Math.max(-roomL\/2 + 1, Math.min(roomL\/2 - 1, camera.position.z));\n    }\n\n    ray.setFromCamera(new THREE.Vector2(0, 0), camera);\n    var hits = ray.intersectObjects(meshes);\n    if (hits.length > 0 && hits[0].distance < 6) {\n      tEl.textContent = hits[0].object.userData.title;\n      dEl.textContent = hits[0].object.userData.desc;\n      info.style.display = \"block\";\n    } else {\n      info.style.display = \"none\";\n    }\n    renderer.render(scene, camera);\n  }\n  animate();\n\n  window.addEventListener(\"resize\", function() {\n    camera.aspect = window.innerWidth \/ window.innerHeight;\n    camera.updateProjectionMatrix();\n    renderer.setSize(window.innerWidth, window.innerHeight);\n  });\n};\n<\/script>\n<\/body>\n<\/html>\n'><\/iframe>\n","protected":false},"excerpt":{"rendered":"<p>\u0646\u0645\u0627\u06cc\u0634\u06af\u0627\u0647 \u0633\u0647\u200c\u0628\u0639\u062f\u06cc \u062c\u0647\u0627\u062f \u062a\u0628\u06cc\u06cc\u0646<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-58","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/eqam.ir\/index.php?rest_route=\/wp\/v2\/pages\/58","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eqam.ir\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/eqam.ir\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/eqam.ir\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eqam.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=58"}],"version-history":[{"count":11,"href":"https:\/\/eqam.ir\/index.php?rest_route=\/wp\/v2\/pages\/58\/revisions"}],"predecessor-version":[{"id":70,"href":"https:\/\/eqam.ir\/index.php?rest_route=\/wp\/v2\/pages\/58\/revisions\/70"}],"wp:attachment":[{"href":"https:\/\/eqam.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}