Spaces:
Runtime error
Runtime error
File size: 7,009 Bytes
804f155 | 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 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>360° Perception Study</title><link rel="icon" href="data:,">
<link rel="stylesheet" href="style.css">
<script>
if (location.protocol === 'file:') document.addEventListener('DOMContentLoaded', () => {
const message = document.getElementById('error');
message.textContent = 'Double-click launch.command in this folder to open the study website and enable answer saving.';
message.hidden = false;
});
</script>
<script src="vendor/omnitone.min.js"></script><script type="module" src="study.js"></script>
</head>
<body>
<header><a href="/" class="brand"><span class="brand-icon">◉</span> 360° <span>PERCEPTION STUDY</span></a><span class="header-note">Your perspective matters</span></header>
<main>
<section id="welcome" class="welcome">
<div class="eyebrow">A VIDEO & LISTENING STUDY</div>
<h1>Explore a scene.<br>Rate each sample.</h1>
<p class="lead">Help us understand what makes panoramic video and spatial audio feel convincing. There are no right or wrong answers—we’re interested in your ratings.</p>
<div class="study-facts"><div><strong id="total-trials">11</strong><span>comparisons</span></div><div><strong>4</strong><span>samples per scene</span></div><div><strong>At your pace</strong><span>no time requirement</span></div></div>
<div class="intro-grid"><div><span class="step-number">01</span><h2>Look & listen</h2><p><span id="audio-trials">6</span> scenes ask you to rate each soundtrack. Use headphones and turn the view to explore sound direction.</p></div><div><span class="step-number">02</span><h2>Watch & compare</h2><p><span id="video-trials">5</span> scenes ask you to rate each video. All clips are silent and use the same two-second window.</p></div></div>
<div class="before-start"><p>Rate every sample on all three criteria: 1 = Bad, 2 = Poor, 3 = Fair, 4 = Good, 5 = Excellent. You may give different samples the same score. There is no minimum viewing or listening time. Option letters can represent different methods in each comparison. You can replay as often as you like.</p><p class="privacy">No name or email is collected. Your ratings and playback details are saved to the study server under a random participant ID. Progress is also kept in this browser so you can resume.</p></div>
<label class="ready-check"><input type="checkbox" id="headphones"> I have headphones on and I’m ready to compare.</label>
<button id="start" class="primary" disabled>Loading study…</button>
<p id="resume-note" class="muted"></p>
</section>
<section id="trial-screen" hidden>
<div class="progress-row"><span id="trial-count">COMPARISON 1 OF 11</span><div id="progress" class="progress" aria-label="Study progress"></div><span id="section-name">SPATIAL AUDIO</span></div>
<div class="trial-heading"><div><div class="eyebrow" id="scene-title"></div><h1 id="question">Rate each sample</h1><p id="criteria" class="lead"></p></div><div class="trial-meta" id="trial-meta"></div></div>
<div class="study-layout">
<section class="viewer" aria-label="Comparison player">
<div class="viewport" id="viewport"><canvas id="perspective" tabindex="0" aria-label="Panoramic perspective. Drag to look around; scroll to zoom."></canvas><div class="view-top"><span id="active-label">OPTION A</span><span id="sound-label">SILENT VIDEO</span></div><div id="loading" class="loading" role="status">Preparing option…</div><div class="view-bottom"><span>Drag to look · Scroll to zoom</span><button id="reset-view" title="Return to the front view">Reset view ↺</button></div></div>
<div class="transport"><button id="play" class="play-button" disabled aria-label="Play current option">▶ Play</button><input id="timeline" type="range" min="0" max="2" value="0" step="0.01" aria-label="Playback position" disabled><output id="time">0.0 / 2.0 s</output><label class="loop-label"><input type="checkbox" id="loop"> Loop</label></div>
<div class="viewer-subline"><span id="playback-status" role="status">Ready when you are</span><label id="volume-control" hidden>Listening volume <input id="volume" type="range" min="-36" max="0" step="1" value="-6" aria-label="Listening volume"><output id="volume-value">−6 dB</output></label></div>
</section>
<aside class="choices-panel ratings-panel" aria-label="Sample ratings">
<div class="section-top"><h2 id="choices-title">Choose a sample</h2><span id="review-count">0 / 4 played</span></div>
<div id="choices" class="option-list" aria-label="Playback options"></div>
<div id="questions" class="questions-grid"></div>
<div class="choice-footer"><p id="choice-help" role="status">Rate every sample on all three criteria.</p><button id="continue" class="primary" disabled>Save ratings & continue →</button><button id="retry-media" class="text-button" hidden>Retry loading this option</button></div>
</aside>
</div>
<section class="prompt-panel" aria-labelledby="prompt-title"><div class="section-top"><h2 id="prompt-title">Global video prompt</h2><span class="prompt-key"><mark>Highlighted</mark> = foreground objects</span></div><p id="global-prompt"></p></section>
<div class="overview-panel"><div class="map-row"><canvas id="overview" width="640" height="320" tabindex="0" aria-label="Full panorama. Click a point to look there."></canvas><div><strong>Explore the whole scene</strong><p>Click the panorama to jump to a direction. Your view stays the same when you switch options.</p><span id="pose-label">Front view · 90° field of view</span></div></div></div>
<div class="study-footer"><span id="save-status" role="status">Progress is saved on this device.</span><span id="participant-label"></span></div>
</section>
<section id="complete-screen" class="complete" hidden>
<div class="complete-icon">✓</div><div class="eyebrow">STUDY COMPLETE</div><h1>Thank you for looking<br>and listening.</h1><p class="lead">All your ratings have been saved. Your responses will help us compare panoramic video and spatial audio experiences.</p>
<div id="receipt" class="receipt"></div><div class="download-buttons"><button id="download-json">Download my answers (JSON)</button><button id="download-csv">Download my answers (CSV)</button></div><button id="new-participant" class="text-button">Start a new participant →</button>
</section>
<div id="error" class="error" role="alert" hidden></div>
</main>
<footer><span>360° Perception Study</span><span>Anonymous ratings · Video & spatial audio</span></footer>
<video id="video" muted playsinline preload="auto" hidden></video>
<noscript>This study requires JavaScript. Open it using launch.command and enable JavaScript in your browser.</noscript>
</body>
</html>
|