MatteoScript commited on
Commit
686dc6f
·
verified ·
1 Parent(s): 3cedbca

Update ar.html

Browse files
Files changed (1) hide show
  1. ar.html +7 -22
ar.html CHANGED
@@ -176,9 +176,10 @@
176
  </a>
177
  </div>
178
 
179
- <!-- MIRINO -->
180
  <div id="aim-overlay" class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 flex flex-col items-center justify-center transition-opacity duration-300">
181
- <div class="relative w-[65vw] h-[100vw] max-w-[300px] max-h-[500px] border border-white/20 rounded-xl">
 
182
  <div class="absolute -top-1 -left-1 w-6 h-6 border-t-4 border-l-4 border-[#00ff41]"></div>
183
  <div class="absolute -top-1 -right-1 w-6 h-6 border-t-4 border-r-4 border-[#00ff41]"></div>
184
  <div class="absolute -bottom-1 -left-1 w-6 h-6 border-b-4 border-l-4 border-[#00ff41]"></div>
@@ -211,7 +212,6 @@
211
  <div class="text-[10px] text-white/40 font-mono text-center">
212
  <div>NEURAL_LINK v2.4.0 // VERTICAL_MODE</div>
213
  <div class="mt-1">Built with 🧠 & ☕ by a sleep-deprived dev</div>
214
- <div class="text-[#00ff41]/60 mt-1" id="konami-hint">// Try: ↑↑↓↓←→←→BA</div>
215
  </div>
216
  </div>
217
  </div>
@@ -228,9 +228,10 @@
228
  <p class="text-white/60 text-xs mt-3 text-center">Il marker non è stato trovato. Usa questo player manuale.</p>
229
  </div>
230
 
231
- <!-- 5. AR SCENE -->
 
232
  <a-scene
233
- mindar-image="imageTargetSrc: img/targets.mind; filterMinCF:0.00001; filterBeta: 10; uiLoading: no; uiScanning: no; missTolerance: 25; warmupTolerance: 2"
234
  color-space="sRGB"
235
  renderer="colorManagement: true, physicallyCorrectLights, highRefreshRate: true"
236
  vr-mode-ui="enabled: false"
@@ -297,22 +298,6 @@
297
  fpsCounter.innerText = fakeFps;
298
  }, 500);
299
 
300
- // Easter Egg 2: Konami Code
301
- const konamiCode = ['ArrowUp', 'ArrowUp', 'ArrowDown', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowLeft', 'ArrowRight', 'b', 'a'];
302
- let konamiIndex = 0;
303
-
304
- document.addEventListener('keydown', (e) => {
305
- if (e.key === konamiCode[konamiIndex]) {
306
- konamiIndex++;
307
- if (konamiIndex === konamiCode.length) {
308
- alert('🎮 CHEAT CODE ACTIVATED!\n\n"In the Matrix, no one can hear you printf()"\n- Anonymous Hacker, 1999');
309
- konamiIndex = 0;
310
- }
311
- } else {
312
- konamiIndex = 0;
313
- }
314
- });
315
-
316
  // Console Easter Egg
317
  console.log("%c⚡ NEURAL LINK SYSTEM INITIALIZED", "color: #00ff41; font-size: 20px; font-weight: bold;");
318
  console.log("%cIf you're reading this, you're a true nerd 🤓", "color: #fff; font-size: 12px;");
@@ -417,7 +402,7 @@
417
  fallbackVideo.pause();
418
  });
419
 
420
- // Easter Egg 3: Double tap
421
  let lastTap = 0;
422
  document.addEventListener('touchend', (e) => {
423
  const currentTime = new Date().getTime();
 
176
  </a>
177
  </div>
178
 
179
+ <!-- MIRINO QUADRATO -->
180
  <div id="aim-overlay" class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 flex flex-col items-center justify-center transition-opacity duration-300">
181
+ <!-- Frame QUADRATO -->
182
+ <div class="relative w-[70vw] h-[70vw] max-w-[280px] max-h-[280px] border border-white/20 rounded-xl">
183
  <div class="absolute -top-1 -left-1 w-6 h-6 border-t-4 border-l-4 border-[#00ff41]"></div>
184
  <div class="absolute -top-1 -right-1 w-6 h-6 border-t-4 border-r-4 border-[#00ff41]"></div>
185
  <div class="absolute -bottom-1 -left-1 w-6 h-6 border-b-4 border-l-4 border-[#00ff41]"></div>
 
212
  <div class="text-[10px] text-white/40 font-mono text-center">
213
  <div>NEURAL_LINK v2.4.0 // VERTICAL_MODE</div>
214
  <div class="mt-1">Built with 🧠 & ☕ by a sleep-deprived dev</div>
 
215
  </div>
216
  </div>
217
  </div>
 
228
  <p class="text-white/60 text-xs mt-3 text-center">Il marker non è stato trovato. Usa questo player manuale.</p>
229
  </div>
230
 
231
+ <!-- 5. AR SCENE - ULTRA STABILIZED -->
232
+ <!-- filterBeta: 500 = smoothing MASSIMO, missTolerance: 50 = mantiene lock per 1.5+ sec -->
233
  <a-scene
234
+ mindar-image="imageTargetSrc: img/targets.mind; filterMinCF:0.000001; filterBeta: 500; uiLoading: no; uiScanning: no; missTolerance: 50; warmupTolerance: 1"
235
  color-space="sRGB"
236
  renderer="colorManagement: true, physicallyCorrectLights, highRefreshRate: true"
237
  vr-mode-ui="enabled: false"
 
298
  fpsCounter.innerText = fakeFps;
299
  }, 500);
300
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
301
  // Console Easter Egg
302
  console.log("%c⚡ NEURAL LINK SYSTEM INITIALIZED", "color: #00ff41; font-size: 20px; font-weight: bold;");
303
  console.log("%cIf you're reading this, you're a true nerd 🤓", "color: #fff; font-size: 12px;");
 
402
  fallbackVideo.pause();
403
  });
404
 
405
+ // Easter Egg: Double tap
406
  let lastTap = 0;
407
  document.addEventListener('touchend', (e) => {
408
  const currentTime = new Date().getTime();