senior-center-bench/films/wooden-bench/index.html
2026-08-22 08:36:43 +00:00

49 lines
2.9 KiB
HTML

<!doctype html>
<html><head>
<meta name="description" content="Measure twice, cut once. We'll need four legs, two long supports, and slats for the seat."><meta charset="UTF-8"/>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
<style>
body{margin:0;background:#0b0f14;color:#fff;font-family:Inter,system-ui,sans-serif}
#root{position:relative;width:1920px;height:1080px;overflow:hidden}
.clip{position:absolute;inset:0;display:grid;place-items:center}
</style> <script defer src="https://analytics.4ort.xyz/script.js" data-website-id="d3ed927c-888a-4a6c-ae5f-0b1c613ddf5b"></script>
</head>
<body>
<div id="root" data-composition-id="main" data-start="0" data-width="1920" data-height="1080" data-duration="90">
<audio id="bgm" src="audio/music.mp3" data-start="0" data-volume="0.15"></audio>
<audio id="voice-s1" src="audio/s1.wav" data-start="0"></audio>
<audio id="voice-s2" src="audio/s2.wav" data-start="15"></audio>
<audio id="voice-s3" src="audio/s3.wav" data-start="45"></audio>
<audio id="voice-s4" src="audio/s4.wav" data-start="75"></audio>
<section id="s1" class="clip" data-start="0" data-duration="15" data-track-index="1">
<h1 id="s1-title">Building a Simple Wooden Bench</h1>
<p id="s1-subtitle">For the Senior Center</p>
</section>
<section id="s2" class="clip" data-start="15" data-duration="30" data-track-index="1">
<h2 id="s2-title">Cutting the Lumber</h2>
<p id="s2-content">Measure twice, cut once. We'll need four legs, two long supports, and slats for the seat.</p>
</section>
<section id="s3" class="clip" data-start="45" data-duration="30" data-track-index="1">
<h2 id="s3-title">Assembling the Frame</h2>
<p id="s3-content">Use wood glue and screws for a sturdy frame. Pre-drill holes to avoid splitting.</p>
</section>
<section id="s4" class="clip" data-start="75" data-duration="15" data-track-index="1">
<h2 id="s4-title">Finishing Touches</h2>
<p id="s4-content">Sand everything smooth and apply a coat of varnish for durability.</p>
</section>
</div>
<script>
window.__timelines = window.__timelines || {};
const tl = gsap.timeline({ paused: true });
tl.to("#s1-title", { opacity: 1, y: 0, duration: 0.6, ease: "power3.out" }, 0.2);
tl.to("#s1-subtitle", { opacity: 1, y: 0, duration: 0.6, ease: "power3.out" }, 0.5);
tl.to("#s2-title", { opacity: 1, y: 0, duration: 0.6, ease: "power3.out" }, 15.2);
tl.to("#s2-content", { opacity: 1, y: 0, duration: 0.6, ease: "power3.out" }, 15.5);
tl.to("#s3-title", { opacity: 1, y: 0, duration: 0.6, ease: "power3.out" }, 45.2);
tl.to("#s3-content", { opacity: 1, y: 0, duration: 0.6, ease: "power3.out" }, 45.5);
tl.to("#s4-title", { opacity: 1, y: 0, duration: 0.6, ease: "power3.out" }, 75.2);
tl.to("#s4-content", { opacity: 1, y: 0, duration: 0.6, ease: "power3.out" }, 75.5);
window.__timelines["main"] = tl;
</script>
</body></html>