shashankadari's picture
Upload 7 files
32cddc6 verified
Raw History Blame Contribute Delete
3.7 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>Spotlight PQGC Floor</title>
<meta name="description" content="A 3D walk-through of the Spotlight PQGC pipeline: SAP records ride a conveyor through every stage to the Spotlight app and back to SAP.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800&family=IBM+Plex+Mono:wght@400;500;600&family=Public+Sans:wght@400;600;700&display=swap">
<link rel="stylesheet" href="css/3d.css">
</head>
<body>
<div class="app">
<header class="bar">
<a class="brand" href="index.html">Spotlight <span>PQGC</span></a>
<span class="bar-title">3D floor</span>
<a class="back" href="index.html">Read the guide</a>
</header>
<div class="hazard" aria-hidden="true"></div>
<div class="stage-wrap" id="stage-wrap">
<div class="viewport" id="viewport" role="img" aria-label="3D model of the Spotlight PQGC process: a conveyor loop from SAP through eight stages to the Spotlight app and back">
<div class="fallback" id="fallback" hidden></div>
</div>
<nav class="dock" id="dock" aria-label="3D controls">
<div class="progress" aria-hidden="true"><span id="prog"></span></div>
<div class="dock-row">
<div class="btns">
<button type="button" id="tour" class="primary">Start tour</button>
<button type="button" id="prev" aria-label="Previous station">‹</button>
<button type="button" id="next" aria-label="Next station">›</button>
<button type="button" id="overview">Overview</button>
</div>
<div class="chips" id="chips" role="group" aria-label="Jump to a station"></div>
<div class="knobs">
<label for="speed">Belt</label>
<input type="range" id="speed" min="0" max="3" step="0.25" value="1">
<output id="speed-out" for="speed">1×</output>
<label class="check"><input type="checkbox" id="labels" checked> Labels</label>
</div>
</div>
</nav>
<aside class="panel" id="panel" aria-live="polite"></aside>
<aside class="legend" id="legend" aria-label="What the packet colours mean">
<h2>On the belt</h2>
<ul>
<li><i style="background:var(--raw)"></i>Raw SAP record</li>
<li><i style="background:var(--pale)"></i>Extracted</li>
<li><i style="background:var(--flow)"></i>Stitched order line</li>
<li><i style="background:var(--g)"></i><i style="background:var(--y)"></i><i style="background:var(--o)"></i><i style="background:var(--r)"></i>Order light</li>
<li><i class="flat" style="background:var(--paper)"></i>Change going back to SAP</li>
</ul>
<p>The mix of lights and the numbers on screens are illustrative. Drag to orbit, scroll or pinch to zoom, click a station.</p>
</aside>
</div>
</div>
<noscript><p style="padding:16px">The 3D floor needs JavaScript. The <a href="index.html">guide</a> covers the same material.</p></noscript>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.128.0/examples/js/controls/OrbitControls.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.128.0/examples/js/renderers/CSS2DRenderer.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script>
<script src="js/data.js"></script>
<script src="js/scene3d.js"></script>
</body>
</html>