File size: 3,701 Bytes
32cddc6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
65
66
67
68
69
70
71
72
<!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>