- app/: app demo (Kivy/buildozer) da API do robo - software/: servidor RoboMovel (SLAM, profundidade, navegacao) e firmware da base movel (movido de firmware/) - simulacao/: projeto Godot do robo e script de lancamento servidor + simulacao - modelos/: planta do 5o andar do bloco D, cena Blender do corredor e modelo real do robo - partes/mdf/: chapas identificadas e nesting da base do robo (DXF/SVG/FCStd) - projeto/render, relatorio/imagens, slides: renders finais e apresentacoes de progresso - ferramentas/scripts: encaixe de chapas, planta do bloco D e render do corredor no Blender - .gitignore: ignora backups do Blender/FreeCAD e .godot/ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
697 lines
58 KiB
HTML
697 lines
58 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="pt-BR">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<title>Do papel ao corredor · Robô Móvel de Carga</title>
|
||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||
<link href="https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Grotesk:wght@400;500;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
||
<style>
|
||
/* ===========================================
|
||
FIXED 16:9 STAGE — mandatory base (viewport-base.css)
|
||
=========================================== */
|
||
html, body {
|
||
width: 100%; height: 100%; margin: 0; overflow: hidden;
|
||
background: var(--stage-bg, #000);
|
||
}
|
||
.deck-viewport { position: fixed; inset: 0; overflow: hidden; background: var(--stage-bg, #000); }
|
||
.deck-stage {
|
||
position: absolute; left: 0; top: 0; width: 1920px; height: 1080px;
|
||
overflow: hidden; transform-origin: 0 0; background: var(--slide-bg, #fff);
|
||
}
|
||
.slide {
|
||
position: absolute; inset: 0; width: 1920px; height: 1080px; overflow: hidden;
|
||
display: block; visibility: hidden; opacity: 0; pointer-events: none;
|
||
background: var(--slide-bg, #fff);
|
||
}
|
||
.slide.active, .slide.visible { visibility: visible; opacity: 1; pointer-events: auto; z-index: 1; }
|
||
img, video, canvas, svg { max-width: 100%; max-height: 100%; }
|
||
.deck-controls { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1000; }
|
||
@media print {
|
||
html, body { width: 1920px; height: auto; overflow: visible; background: #fff; }
|
||
.deck-viewport { position: static; overflow: visible; background: #fff; }
|
||
.deck-stage { position: static; width: auto; height: auto; transform: none !important; background: none; }
|
||
.slide {
|
||
position: relative; display: block !important; visibility: visible !important;
|
||
opacity: 1 !important; pointer-events: auto !important;
|
||
width: 1920px; height: 1080px; break-after: page; page-break-after: always;
|
||
}
|
||
.slide:last-child { break-after: auto; page-break-after: auto; }
|
||
.deck-controls { display: none !important; }
|
||
}
|
||
@media (prefers-reduced-motion: reduce) {
|
||
*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.2s !important; }
|
||
}
|
||
|
||
/* ===========================================
|
||
CREATIVE MODE TOKENS
|
||
=========================================== */
|
||
:root {
|
||
--cream: #EFE9D9;
|
||
--cream-2: #E4DCC4;
|
||
--ink: #0F0F0F;
|
||
--ink-2: #2A2A2A;
|
||
--green: #1F8A4C;
|
||
--green-dark: #136636;
|
||
--pink: #F06CA8;
|
||
--pink-dark: #D14E8B;
|
||
--orange: #E85A1F;
|
||
--yellow: #F5C518;
|
||
--display: "Archivo Black", sans-serif;
|
||
--body: "Space Grotesk", sans-serif;
|
||
--mono: "JetBrains Mono", monospace;
|
||
--stage-bg: #0F0F0F;
|
||
--slide-bg: var(--cream);
|
||
}
|
||
|
||
* { box-sizing: border-box; }
|
||
.slide {
|
||
transition: opacity .35s ease, visibility .35s;
|
||
color: var(--ink); font-family: var(--body);
|
||
padding: 0;
|
||
}
|
||
.slide.fim { background: var(--green); color: var(--cream); }
|
||
|
||
/* === CHROME === */
|
||
.topbar {
|
||
position: absolute; left: 64px; right: 64px; top: 48px;
|
||
display: flex; justify-content: space-between; align-items: center;
|
||
font: 400 24px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
|
||
}
|
||
.pill { border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
|
||
.fim .pill { border-color: var(--cream); }
|
||
.meta {
|
||
position: absolute; left: 64px; right: 64px; bottom: 40px;
|
||
display: flex; justify-content: space-between; align-items: center;
|
||
font: 400 24px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
|
||
}
|
||
.meta .n { display: flex; align-items: center; gap: 14px; }
|
||
.meta .n i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; display: inline-block; }
|
||
|
||
/* === TYPE === */
|
||
.kicker {
|
||
display: inline-block; background: var(--ink); color: var(--cream);
|
||
font: 400 24px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
|
||
padding: 8px 16px; width: max-content;
|
||
}
|
||
.d-hero { font: 400 160px/.92 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 0; }
|
||
.d-xl { font: 400 140px/.92 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 0; }
|
||
.d-lg { font: 400 100px/.92 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 0; }
|
||
.d-sm { font: 400 84px/.92 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 0; }
|
||
.d-xs { font: 400 72px/.95 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 0; }
|
||
.body-lg { font: 400 30px/1.35 var(--body); margin: 0; }
|
||
.body-md { font: 400 24px/1.38 var(--body); margin: 0; }
|
||
.body-sm { font: 400 20px/1.4 var(--body); margin: 0; }
|
||
.tag { font: 400 20px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
|
||
.mono { font-family: var(--mono); }
|
||
.ink2 { color: var(--ink-2); }
|
||
.cream { color: var(--cream); }
|
||
|
||
/* === SHARED BLOCKS === */
|
||
.panel { border: 4px solid var(--ink); background: var(--cream-2); overflow: hidden; }
|
||
.panel img { display: block; width: 100%; height: 100%; object-fit: cover; }
|
||
.panel.contain img { object-fit: contain; background: var(--cream-2); }
|
||
.shadow-orange { box-shadow: 24px 24px 0 var(--orange), 24px 24px 0 4px var(--ink); }
|
||
.shadow-ink { box-shadow: 18px 18px 0 var(--ink); }
|
||
.caption {
|
||
font: 400 20px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase;
|
||
background: var(--cream); border: 3px solid var(--ink); padding: 7px 10px;
|
||
display: inline-block;
|
||
}
|
||
.caption.cream { background: var(--cream); color: var(--ink); }
|
||
.caption.ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
|
||
.badge {
|
||
background: var(--yellow); border: 4px solid var(--ink); padding: 12px 20px;
|
||
font: 400 26px/1 var(--display); text-transform: uppercase; transform: rotate(-4deg);
|
||
display: inline-block;
|
||
}
|
||
.circ { position: absolute; border: 4px solid var(--ink); border-radius: 50%; background: var(--yellow); }
|
||
.rule { width: 100%; height: 4px; background: var(--ink); }
|
||
|
||
.stat {
|
||
border: 4px solid var(--ink); padding: 22px 24px; display: flex; flex-direction: column;
|
||
justify-content: space-between; min-height: 132px; background: var(--cream-2);
|
||
}
|
||
.stat .big { font: 400 62px/.92 var(--display); letter-spacing: -.01em; }
|
||
.stat .lbl { font: 400 18px/1.2 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
|
||
.stat.green { background: var(--green); color: var(--cream); }
|
||
.stat.pink { background: var(--pink); }
|
||
.stat.yellow { background: var(--yellow); }
|
||
.stat.orange { background: var(--orange); color: var(--cream); }
|
||
.stat.ink { background: var(--ink); color: var(--cream); }
|
||
|
||
.bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
|
||
.bullets li { position: relative; padding-left: 34px; font: 400 26px/1.3 var(--body); }
|
||
.bullets li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; background: var(--ink); }
|
||
.fim .bullets li::before { background: var(--cream); }
|
||
|
||
/* === ANIMATION === */
|
||
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1); }
|
||
.slide.visible .reveal { opacity: 1; transform: translateY(0); }
|
||
.slide.visible .reveal:nth-child(1) { transition-delay: .05s; }
|
||
.slide.visible .reveal:nth-child(2) { transition-delay: .12s; }
|
||
.slide.visible .reveal:nth-child(3) { transition-delay: .19s; }
|
||
.slide.visible .reveal:nth-child(4) { transition-delay: .26s; }
|
||
.slide.visible .reveal:nth-child(5) { transition-delay: .33s; }
|
||
|
||
/* ===========================================
|
||
SLIDE 01 — COVER
|
||
=========================================== */
|
||
.s1-left { position: absolute; left: 96px; top: 170px; width: 1020px; }
|
||
.s1-left .kicker { margin-bottom: 28px; }
|
||
.s1-left h1 { font-size: 156px; }
|
||
.s1-left h1 span { color: var(--orange); }
|
||
.s1-lede { width: 760px; margin-top: 30px; font-size: 30px; }
|
||
.s1-team { position: absolute; left: 96px; bottom: 150px; width: 1000px; }
|
||
.s1-team .tag { margin-bottom: 10px; display: block; }
|
||
.s1-photo { position: absolute; left: 1200px; top: 190px; width: 624px; height: 468px; }
|
||
.s1-photo-wrap { position: absolute; left: 1200px; top: 190px; width: 624px; height: 468px; }
|
||
.s1-photo-wrap .panel { width: 100%; height: 100%; }
|
||
.s1-photo-cap { position: absolute; left: 1200px; top: 690px; }
|
||
.s1-note { position: absolute; left: 1200px; top: 755px; width: 624px; border: 4px solid var(--ink); background: var(--pink); padding: 22px 24px; }
|
||
.s1-note b { font: 400 48px/.92 var(--display); text-transform: uppercase; display: block; }
|
||
.s1-note span { font: 400 19px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; display: block; margin-top: 10px; }
|
||
.s1-circ { width: 150px; height: 150px; right: 80px; bottom: 120px; }
|
||
|
||
/* ===========================================
|
||
SLIDE 02 — FOUR FRONTS
|
||
=========================================== */
|
||
.s2-head { position: absolute; left: 96px; top: 170px; width: 1728px; }
|
||
.s2-head h2 { font-size: 92px; margin-top: 22px; }
|
||
.s2-cards { position: absolute; left: 96px; right: 96px; top: 460px; display: flex; gap: 28px; }
|
||
.s2-card {
|
||
flex: 1; height: 440px; border: 4px solid var(--ink); padding: 26px 26px 24px;
|
||
display: flex; flex-direction: column; justify-content: space-between; background: var(--cream-2);
|
||
}
|
||
.s2-card.pink { background: var(--pink); }
|
||
.s2-card.yellow { background: var(--yellow); }
|
||
.s2-card.green { background: var(--green); color: var(--cream); }
|
||
.s2-num { font: 400 92px/.85 var(--display); }
|
||
.s2-card h3 { font: 400 34px/1 var(--display); text-transform: uppercase; margin: 0; }
|
||
.s2-card p { font: 400 22px/1.35 var(--body); margin: 0; }
|
||
.s2-card .tag { font-size: 17px; }
|
||
|
||
/* ===========================================
|
||
SLIDE 03 — LASER + ASSEMBLY
|
||
=========================================== */
|
||
.s3-photo { position: absolute; left: 96px; top: 190px; width: 520px; height: 720px; }
|
||
.s3-photo img { object-position: 42% 50%; }
|
||
.s3-cad { position: absolute; left: 652px; top: 190px; width: 520px; height: 720px; background: #1F1F1F; }
|
||
.s3-cad img { object-position: 46% 55%; }
|
||
.s3-cap { position: absolute; left: 96px; top: 935px; }
|
||
.s3-cap2 { position: absolute; left: 652px; top: 935px; }
|
||
.s3-right { position: absolute; left: 1230px; top: 190px; width: 594px; }
|
||
.s3-right h2 { font-size: 74px; margin: 20px 0 22px; }
|
||
.s3-right .bullets li { font-size: 22px; }
|
||
.s3-badge { position: absolute; left: 1230px; top: 815px; }
|
||
.s3-mini { position: absolute; left: 1230px; top: 890px; width: 594px; display: flex; gap: 16px; }
|
||
.s3-mini .stat { min-height: 100px; flex: 1; padding: 16px 18px; }
|
||
.s3-mini .stat .big { font-size: 38px; }
|
||
.s3-mini .stat .lbl { font-size: 15px; }
|
||
|
||
/* ===========================================
|
||
SLIDE 04 — SIMULATOR
|
||
=========================================== */
|
||
.s4-shot { position: absolute; left: 96px; top: 190px; width: 1180px; height: 633px; }
|
||
.s4-cap { position: absolute; left: 96px; top: 850px; }
|
||
.s4-right { position: absolute; left: 1320px; top: 180px; width: 504px; }
|
||
.s4-right h2 { font-size: 56px; margin: 18px 0 18px; }
|
||
.s4-right .body-md { margin-bottom: 24px; }
|
||
.s4-stats { display: flex; flex-direction: column; gap: 14px; }
|
||
.s4-stats .stat { min-height: 96px; padding: 14px 18px; }
|
||
.s4-stats .stat .big { font-size: 30px; }
|
||
.s4-stats .stat .lbl { font-size: 14px; }
|
||
|
||
/* ===========================================
|
||
SLIDE 05 — DEPTH
|
||
=========================================== */
|
||
.s5-left { position: absolute; left: 96px; top: 190px; width: 900px; }
|
||
.s5-left h2 { font-size: 84px; margin: 22px 0 22px; }
|
||
.s5-depth { position: absolute; left: 96px; top: 500px; width: 900px; height: 420px; }
|
||
.s5-depth img { object-fit: cover; }
|
||
.s5-legend { position: absolute; left: 96px; top: 940px; display: flex; align-items: center; gap: 12px; }
|
||
.s5-swatch { width: 46px; height: 22px; border: 2px solid var(--ink); }
|
||
.s5-legend .tag { font-size: 16px; }
|
||
.s5-right { position: absolute; left: 1080px; top: 190px; width: 744px; }
|
||
.s5-right .stat { margin-bottom: 14px; }
|
||
.s5-right .body-md { margin-top: 24px; }
|
||
.s5-kicker { margin-top: 26px; background: var(--ink); color: var(--cream); padding: 10px 16px; display: inline-block; }
|
||
|
||
/* ===========================================
|
||
SLIDE 06 — S2E
|
||
=========================================== */
|
||
.s6-phone { position: absolute; left: 96px; top: 190px; width: 300px; height: 666px; }
|
||
.s6-phone img { object-fit: cover; }
|
||
.s6-cap { position: absolute; left: 96px; top: 880px; }
|
||
.s6-mid { position: absolute; left: 450px; top: 190px; width: 760px; }
|
||
.s6-mid h2 { font-size: 76px; margin: 22px 0 24px; }
|
||
.s6-flow { display: flex; flex-direction: column; gap: 14px; }
|
||
.s6-step { border: 4px solid var(--ink); background: var(--cream-2); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
|
||
.s6-step strong { font: 400 30px/1 var(--display); text-transform: uppercase; }
|
||
.s6-step span { font: 400 18px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; text-align: right; }
|
||
.s6-step:nth-child(2) { background: var(--pink); }
|
||
.s6-step:nth-child(3) { background: var(--yellow); }
|
||
.s6-right { position: absolute; left: 1260px; top: 190px; width: 564px; }
|
||
.s6-right .stat { margin-bottom: 14px; }
|
||
.s6-right .tag { display: block; margin-top: 14px; }
|
||
|
||
/* ===========================================
|
||
SLIDE 07 — ROBOT ARCHITECTURE
|
||
=========================================== */
|
||
.dg-wrap { position: absolute; left: 96px; top: 408px; width: 1728px; height: 560px; }
|
||
.dg-wrap svg { display: block; max-width: none; max-height: none; }
|
||
.s7-head { position: absolute; left: 96px; top: 150px; width: 520px; }
|
||
.s7-head h2 { font-size: 82px; margin-top: 20px; }
|
||
.s7-texto { position: absolute; left: 96px; top: 560px; width: 500px; font: 400 24px/1.4 var(--body); }
|
||
.s7-texto b { font-weight: 700; }
|
||
.dg-wrap.dg-alto { left: 640px; top: 120px; width: 1184px; height: 860px; }
|
||
.s7-diag { position: absolute; left: 96px; top: 430px; width: 1728px; height: 470px; display: flex; align-items: center; }
|
||
.s7-seta { width: 96px; flex: none; text-align: center; font: 400 64px/1 var(--display); color: var(--orange); }
|
||
.s7-seta small { display: block; margin-top: 10px; font: 400 14px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
|
||
.s7-robo { width: 340px; flex: none; position: relative; }
|
||
.s7-robo .caixa { background: var(--orange); color: var(--cream); border: 4px solid var(--ink); height: 170px;
|
||
display: flex; flex-direction: column; justify-content: center; align-items: center; }
|
||
.s7-robo .caixa b { font: 400 54px/1 var(--display); text-transform: uppercase; }
|
||
.s7-robo .caixa span { margin-top: 10px; font: 400 15px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
|
||
.s7-robo .rodas { display: flex; justify-content: space-between; padding: 0 36px; }
|
||
.s7-robo .rodas i { width: 48px; height: 46px; background: var(--ink); display: block; }
|
||
.s7-sis { flex: 1; height: 470px; border: 4px solid var(--ink); padding: 24px 28px; position: relative; display: flex; flex-direction: column; }
|
||
.s7-s1 { background: var(--green); color: var(--cream); }
|
||
.s7-s2 { background: var(--pink); color: var(--ink); }
|
||
.s7-sis h3 { font: 400 46px/1 var(--display); text-transform: uppercase; margin: 6px 0 0; }
|
||
.s7-sis .nucleo { margin: 22px 0 0; flex: 1; background: var(--cream); color: var(--ink); border: 4px solid var(--ink);
|
||
display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 10px 18px; }
|
||
.s7-sis .nucleo b { font: 400 40px/1.02 var(--display); text-transform: uppercase; }
|
||
.s7-sis .nucleo span { margin-top: 12px; font: 400 16px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
|
||
.s7-sis .saida { margin-top: 18px; font: 400 30px/1 var(--display); text-transform: uppercase; text-align: center; }
|
||
.s7-sis .nucleo span.modelo { margin-top: 14px; font: 400 22px/1.1 var(--display); letter-spacing: 0; text-transform: none;
|
||
background: var(--yellow); border: 3px solid var(--ink); padding: 6px 12px; }
|
||
.s7-sis .nucleo span.modelo + span { margin-top: 8px; }
|
||
.s7-pre { position: absolute; left: 96px; top: 440px; z-index: 3; font-size: 20px; line-height: 1.25; }
|
||
.s7-strap { position: absolute; left: 96px; top: 968px; font: 400 22px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
|
||
|
||
/* ===========================================
|
||
SLIDE 08 — SOFTWARE ARCHITECTURE
|
||
=========================================== */
|
||
.s8-head { position: absolute; left: 96px; top: 140px; width: 1500px; }
|
||
.s8-head h2 { font-size: 72px; margin-top: 16px; }
|
||
.dg-wrap.dg-tri { top: 296px; height: 680px; }
|
||
.s8-diag { position: absolute; left: 96px; top: 390px; width: 1728px; height: 520px; }
|
||
.s8-no { position: absolute; top: 0; height: 520px; border: 4px solid var(--ink); padding: 22px 24px; display: flex; flex-direction: column; }
|
||
.s8-no .tag { font-size: 16px; }
|
||
.s8-no h3 { font: 400 50px/1 var(--display); text-transform: uppercase; margin: 8px 0 6px; }
|
||
.s8-no .path { font: 400 15px/1.35 var(--mono); }
|
||
.s8-no p { font: 400 20px/1.35 var(--body); margin: 14px 0 0; }
|
||
.s8-app { left: 0; width: 330px; background: var(--yellow); }
|
||
.s8-srv { left: 690px; width: 350px; background: var(--green); color: var(--cream); }
|
||
.s8-rob { left: 1398px; width: 330px; background: var(--pink); }
|
||
.s8-srv .mods { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
|
||
.s8-srv .mods span { background: var(--cream); color: var(--ink); border: 3px solid var(--ink); padding: 10px 12px; font: 400 16px/1.25 var(--mono); }
|
||
.s8-srv .mods b { font: 400 20px/1 var(--display); text-transform: uppercase; display: block; margin-bottom: 4px; }
|
||
.s8-rob .alvos { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
|
||
.s8-rob .alvos span { border: 3px solid var(--ink); padding: 10px 12px; font: 400 16px/1.25 var(--mono); background: var(--cream); }
|
||
.s8-rob .alvos .prox { border-style: dashed; background: transparent; }
|
||
.s8-elo { position: absolute; top: 0; height: 520px; width: 300px; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
|
||
.s8-e1 { left: 360px; } .s8-e2 { left: 1068px; }
|
||
.s8-canal { position: relative; background: var(--cream); border: 4px solid var(--ink); padding: 12px 14px 12px; }
|
||
.s8-canal.rest { border-style: dashed; }
|
||
.s8-canal .nome { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
|
||
.s8-canal .nome b { font: 400 24px/1 var(--display); text-transform: uppercase; }
|
||
.s8-canal .nome code { font: 500 14px/1 var(--mono); }
|
||
.s8-canal .seta { display: block; height: 0; border-top: 4px solid var(--ink); margin: 10px 0 8px; position: relative; }
|
||
.s8-canal.rest .seta { border-top-style: dashed; }
|
||
.s8-canal .seta::before, .s8-canal .seta::after { content: ""; position: absolute; top: -11px; border: 9px solid transparent; }
|
||
.s8-canal .seta::before { left: -4px; border-right: 14px solid var(--ink); border-left: 0; }
|
||
.s8-canal .seta::after { right: -4px; border-left: 14px solid var(--ink); border-right: 0; }
|
||
.s8-canal ul { list-style: none; margin: 0; padding: 0; font: 400 15px/1.35 var(--mono); }
|
||
.s8-canal li { margin: 3px 0; }
|
||
.s8-canal li i { font-style: normal; font-weight: 500; color: var(--orange); }
|
||
.s8-pre { position: absolute; right: 110px; top: 118px; z-index: 3; }
|
||
.s8-legenda { position: absolute; left: 96px; top: 942px; display: flex; gap: 34px; align-items: center; font: 400 18px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
|
||
.s8-legenda .l { display: inline-block; width: 56px; border-top: 4px solid var(--ink); margin-right: 10px; vertical-align: middle; }
|
||
.s8-legenda .l.d { border-top-style: dashed; }
|
||
.s8-legenda b { font: 400 22px/1 var(--display); }
|
||
/* ===========================================
|
||
SLIDE 09 — NEXT
|
||
=========================================== */
|
||
.s9-head { position: absolute; left: 96px; top: 170px; width: 1300px; }
|
||
.s9-head h2 { font-size: 100px; margin-top: 20px; }
|
||
.s9-grid { position: absolute; left: 96px; right: 96px; top: 420px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
|
||
.s9-card { border: 4px solid var(--ink); padding: 24px 28px; min-height: 210px; display: flex; gap: 26px; align-items: flex-start; background: var(--cream-2); }
|
||
.s9-card:nth-child(2) { background: var(--pink); }
|
||
.s9-card:nth-child(3) { background: var(--yellow); }
|
||
.s9-card:nth-child(4) { background: var(--green); color: var(--cream); }
|
||
.s9-num { font: 400 76px/.8 var(--display); flex: 0 0 90px; }
|
||
.s9-card h3 { font: 400 36px/1 var(--display); text-transform: uppercase; margin: 0 0 8px; }
|
||
.s9-card p { font: 400 22px/1.35 var(--body); margin: 0; }
|
||
.s9-quote { position: absolute; left: 96px; top: 900px; font: 400 24px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
|
||
|
||
/* ===========================================
|
||
SLIDE 10 — THANKS
|
||
=========================================== */
|
||
.s10-title { position: absolute; left: 96px; top: 140px; }
|
||
.s10-title h2 { font-size: 220px; margin: 0; color: var(--cream); }
|
||
.s10-sub { position: absolute; left: 96px; top: 390px; font-size: 34px; color: var(--cream); }
|
||
.s10-team { position: absolute; left: 96px; top: 540px; width: 1080px; }
|
||
.s10-team .tag { color: var(--cream); display: block; margin-bottom: 10px; }
|
||
.s10-team p { font: 400 25px/1.45 var(--body); margin: 0 0 18px; color: var(--cream); }
|
||
.s10-thanks { position: absolute; left: 96px; top: 830px; width: 1200px; font: 400 19px/1.45 var(--body); color: var(--cream); }
|
||
.s10-thanks b { font-family: var(--mono); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
|
||
.s10-stamp { position: absolute; left: 1430px; top: 240px; width: 340px; height: 340px; background: var(--pink); border: 4px solid var(--cream); transform: rotate(-6deg); display: flex; align-items: center; justify-content: center; }
|
||
.s10-stamp div { width: 260px; height: 260px; border: 4px solid var(--cream); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--ink); }
|
||
.s10-stamp .y { font: 400 64px/.9 var(--display); }
|
||
.s10-stamp .tag { font-size: 18px; }
|
||
|
||
/* === CONTROLS === */
|
||
.deck-controls {
|
||
font: 400 14px/1 var(--mono); color: #bbb; background: rgba(0,0,0,.55);
|
||
padding: 8px 14px; border-radius: 999px; opacity: 0; transition: opacity .4s;
|
||
letter-spacing: .06em;
|
||
}
|
||
.deck-controls.show { opacity: 1; }
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<div class="deck-viewport">
|
||
<main class="deck-stage" id="deckStage">
|
||
|
||
<!-- ================= SLIDE 01 · CAPA ================= -->
|
||
<section class="slide active" data-label="Capa">
|
||
<div class="topbar"><span>Robô Móvel de Carga · UNICAP</span><span class="pill">22 OUT 2026</span></div>
|
||
<div class="s1-left">
|
||
<span class="kicker reveal">Novidades · Outubro 2026</span>
|
||
<h1 class="d-hero reveal">DO PAPEL<br>AO <span>CORREDOR</span></h1>
|
||
<p class="s1-lede body-lg reveal">Corte a laser, montagem da base, simulador mais fiel e modelos de IA para navegar.</p>
|
||
</div>
|
||
<div class="s1-photo-wrap reveal">
|
||
<div class="panel shadow-orange"><img src="img/base_mdf.jpg" alt="Base de MDF cortada a laser com eletrônica de teste"></div>
|
||
</div>
|
||
<span class="s1-photo-cap caption ink reveal">BASE DE MDF · PRIMEIRA MONTAGEM</span>
|
||
<div class="s1-note reveal">
|
||
<b>Da ideia ao corte laser</b>
|
||
<span>Do encaixe da chapa ao corredor simulado: o mesmo software começa a valer.</span>
|
||
</div>
|
||
<div class="s1-team reveal">
|
||
<span class="tag">Equipe · Robótica Inclusiva · MINF 0104</span>
|
||
<p class="body-md">Marcel Guinhos de Menezes Feitosa · Ronaldo Ramos · Maria Luísa Jordão de Moura · Inaldo Neto</p>
|
||
</div>
|
||
<div class="meta"><span>Robótica Inclusiva · MINF 0104</span><span class="n">01 <i></i> 08</span></div>
|
||
</section>
|
||
|
||
<!-- ================= SLIDE 02 · QUATRO FRENTES ================= -->
|
||
<section class="slide" data-label="O que mudou">
|
||
<div class="topbar"><span>O que mudou</span><span class="pill">3 frentes</span></div>
|
||
<div class="s2-head">
|
||
<span class="kicker reveal">Resumo da semana</span>
|
||
<h2 class="d-lg reveal">O QUE FIZEMOS DESDE<br>A ÚLTIMA SEMANA?</h2>
|
||
</div>
|
||
<div class="s2-cards">
|
||
<div class="s2-card reveal">
|
||
<span class="s2-num">01</span>
|
||
<div><h3>Carcaça de MDF</h3><p>Usamos a cortadora a laser e tiramos a carcaça de MDF do papel.</p></div>
|
||
<span class="tag">Fabricação</span>
|
||
</div>
|
||
<div class="s2-card green reveal">
|
||
<span class="s2-num">02</span>
|
||
<div><h3>Cérebro do robô</h3><p>Começamos o servidor com modelos pré‑treinados, REST e WebSocket.</p></div>
|
||
<span class="tag">Servidor</span>
|
||
</div>
|
||
<div class="s2-card yellow reveal">
|
||
<span class="s2-num">03</span>
|
||
<div><h3>Simulador</h3><p>Melhoramos o ambiente e integramos a simulação com o servidor.</p></div>
|
||
<span class="tag">Gêmeo digital</span>
|
||
</div>
|
||
</div>
|
||
<div class="meta"><span>Do papel ao corredor</span><span class="n">02 <i></i> 08</span></div>
|
||
</section>
|
||
|
||
<!-- ================= SLIDE 03 · LASER + MONTAGEM ================= -->
|
||
<section class="slide" data-label="Laser e montagem">
|
||
<div class="topbar"><span>Fabricação</span><span class="pill">Base de MDF</span></div>
|
||
<div class="panel s3-photo shadow-ink reveal"><img src="img/base_mdf.jpg" alt="Peças de MDF cortadas a laser e montagem da base"></div>
|
||
<div class="panel s3-cad shadow-ink reveal"><img src="img/base_cad.png" alt="Modelo CAD da base com eletrônica e rodas mecanum"></div>
|
||
<span class="s3-cap caption ink reveal">REAL · CORTE A LASER E ENCAIXES</span>
|
||
<span class="s3-cap2 caption ink reveal">PROJETO · MODELO CAD DA BASE</span>
|
||
<div class="s3-right">
|
||
<span class="kicker reveal">Da chapa à bancada</span>
|
||
<h2 class="d-sm reveal">A BASE<br>SAIU DO PAPEL.</h2>
|
||
<ul class="bullets reveal">
|
||
<li>MDF cortado a laser, com encaixes e furos dos motores.</li>
|
||
<li>Primeiros encaixes da estrutura e conferência de alinhamento.</li>
|
||
<li>Arduino, drivers e protoboard posicionados para o teste.</li>
|
||
</ul>
|
||
</div>
|
||
<div class="s3-badge badge reveal">montagem em andamento</div>
|
||
<div class="s3-mini reveal">
|
||
<div class="stat green"><span class="big">4</span><span class="lbl">rodas mecanum</span></div>
|
||
<div class="stat pink"><span class="big">MDF</span><span class="lbl">corte a laser</span></div>
|
||
</div>
|
||
<div class="meta"><span>Fabricação e montagem</span><span class="n">03 <i></i> 08</span></div>
|
||
</section>
|
||
|
||
<!-- ================= SLIDE 04 · SIMULADOR ================= -->
|
||
<section class="slide" data-label="Simulador">
|
||
<div class="topbar"><span>Simulador</span><span class="pill">Godot 4.7</span></div>
|
||
<div class="panel s4-shot shadow-orange reveal"><img src="img/simulador.jpg" alt="Simulação do corredor do laboratório no Godot com câmera e mapa de profundidade"></div>
|
||
<span class="s4-cap caption ink reveal">SIMULAÇÃO EM EXECUÇÃO · CÂMERA RGB + PROFUNDIDADE</span>
|
||
<div class="s4-right">
|
||
<span class="kicker reveal">Gêmeo digital</span>
|
||
<h2 class="d-xs reveal">MODELAMOS UM<br>AMBIENTE MELHOR.</h2>
|
||
<p class="body-md reveal">Tiramos capturas melhores da UNICAP e modelamos um ambiente mais preciso usando BIM no FreeCAD e Blender. As texturas foram feitas com Inkscape.</p>
|
||
<div class="s4-stats reveal">
|
||
<div class="stat green"><span class="big">Câmera 1ª pessoa</span><span class="lbl">RGB em tempo real</span></div>
|
||
<div class="stat pink"><span class="big">Física + colisão</span><span class="lbl">robô mecanum no cenário</span></div>
|
||
<div class="stat yellow"><span class="big">IA no servidor</span><span class="lbl">profundidade + navegação</span></div>
|
||
</div>
|
||
</div>
|
||
<div class="meta"><span>Ambiente simulado</span><span class="n">04 <i></i> 08</span></div>
|
||
</section>
|
||
|
||
<!-- ================= SLIDE 05 · ROBOT ARCHITECTURE ================= -->
|
||
<section class="slide" data-label="Arquitetura do robô">
|
||
<div class="topbar"><span>Arquitetura do robô</span><span class="pill">Sistema 1 ∥ Sistema 2</span></div>
|
||
<div class="s7-head">
|
||
<span class="kicker reveal">Como o robô pensa</span>
|
||
<h2 class="d-lg reveal">REAGIR E<br>PLANEJAR.</h2>
|
||
</div>
|
||
<p class="s7-texto reveal">A câmera alimenta os dois sistemas ao mesmo tempo. O <b>Sistema 1</b> reage ao que está perto; o <b>Sistema 2</b> decide para onde ir. Os dois se juntam em <b>reflexos + coordenação</b>, que vira o comando das rodas.</p>
|
||
<div class="dg-wrap dg-alto reveal"><!--DIAG7--><svg class="dg" viewBox="0 0 1184 860" width="1184" height="860" xmlns="http://www.w3.org/2000/svg"><style>
|
||
.dg text { font-family: Verdana, 'DejaVu Sans', sans-serif, 'Noto Color Emoji'; fill: #111111; }
|
||
.dg .b { font-weight: 700; }
|
||
.dg .s { font-weight: 400; }
|
||
.dg .seta { fill: none; stroke: #111111; stroke-width: 2.6; stroke-linejoin: round; }
|
||
.dg .tr { stroke-dasharray: 9 7; }
|
||
</style><defs>
|
||
<marker id="pt7" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||
<path d="M0,0 L10,5 L0,10 Z" fill="#111111"/>
|
||
</marker>
|
||
<clipPath id="clip7"><rect x="0" y="0" width="1" height="1" rx=".06" ry=".1"/></clipPath>
|
||
<symbol id="robo7" viewBox="-8 0 136 156">
|
||
<rect x="14" y="8" width="5" height="116" rx="2.5" fill="#B3B3B3" stroke="#111111" stroke-width="1.6"/>
|
||
<rect x="101" y="8" width="5" height="116" rx="2.5" fill="#B3B3B3" stroke="#111111" stroke-width="1.6"/>
|
||
<rect x="6" y="6" width="108" height="10" rx="4" fill="#F2D3A6" stroke="#111111" stroke-width="2"/>
|
||
<rect x="6" y="50" width="108" height="10" rx="4" fill="#F2D3A6" stroke="#111111" stroke-width="2"/>
|
||
<rect x="6" y="94" width="108" height="10" rx="4" fill="#F2D3A6" stroke="#111111" stroke-width="2"/>
|
||
<rect x="38" y="24" width="44" height="26" rx="4" fill="#E0B47A" stroke="#111111" stroke-width="2"/>
|
||
<rect x="3" y="108" width="114" height="20" rx="7" fill="#F2D3A6" stroke="#111111" stroke-width="2"/>
|
||
<rect x="48" y="111" width="24" height="14" rx="4" fill="#111111"/>
|
||
<circle cx="60" cy="118" r="4.5" fill="#6C8EBF" stroke="#fff" stroke-width="1.4"/>
|
||
<use href="#roda7" x="-6" y="116" width="40" height="36"/>
|
||
<use href="#roda7" x="86" y="116" width="40" height="36" transform="translate(212,0) scale(-1,1)"/>
|
||
</symbol>
|
||
<clipPath id="clip-roda7"><rect x="7" y="2" width="20" height="26" rx="5"/></clipPath>
|
||
<symbol id="roda7" viewBox="0 0 34 30">
|
||
<!-- roda mecanum vista de frente: dois cubos (placas) e roletes a 45° entre eles -->
|
||
<rect x="7" y="2" width="20" height="26" rx="5" fill="#2E2E2E"/>
|
||
<g clip-path="url(#clip-roda7)" stroke="#111111" stroke-width="1.2">
|
||
<rect x="-2" y="-1" width="38" height="5.6" rx="2.8" fill="#C9C9C9" transform="rotate(45 17 15) translate(0 0)"/>
|
||
<rect x="-2" y="7.2" width="38" height="5.6" rx="2.8" fill="#E2E2E2" transform="rotate(45 17 15)"/>
|
||
<rect x="-2" y="15.4" width="38" height="5.6" rx="2.8" fill="#C9C9C9" transform="rotate(45 17 15)"/>
|
||
<rect x="-2" y="23.6" width="38" height="5.6" rx="2.8" fill="#E2E2E2" transform="rotate(45 17 15)"/>
|
||
</g>
|
||
<rect x="7" y="2" width="20" height="26" rx="5" fill="none" stroke="#111111" stroke-width="2"/>
|
||
<rect x="1" y="4" width="7" height="22" rx="3" fill="#F5C518" stroke="#111111" stroke-width="2"/>
|
||
<rect x="26" y="4" width="7" height="22" rx="3" fill="#F5C518" stroke="#111111" stroke-width="2"/>
|
||
<circle cx="4.5" cy="15" r="1.8" fill="#111111"/><circle cx="29.5" cy="15" r="1.8" fill="#111111"/>
|
||
</symbol>
|
||
<linearGradient id="grad-prof7" x1="0" y1="0" x2="0" y2="1">
|
||
<stop offset="0" stop-color="#3B2A8C"/><stop offset=".45" stop-color="#2FA8E0"/>
|
||
<stop offset=".72" stop-color="#7DDB52"/><stop offset=".86" stop-color="#F5C518"/><stop offset="1" stop-color="#D7301F"/>
|
||
</linearGradient>
|
||
<symbol id="celular7" viewBox="0 0 64 120">
|
||
<!-- app de teste: abas, imagem de profundidade, dois joysticks e os botões Parar / Manual / Modelo -->
|
||
<rect x="2" y="2" width="60" height="116" rx="12" fill="#111111"/>
|
||
<rect x="6" y="9" width="52" height="102" rx="7" fill="#F7F7F7"/>
|
||
<rect x="26" y="4.5" width="12" height="2.5" rx="1.2" fill="#666"/>
|
||
<rect x="9" y="13" width="46" height="5" rx="2" fill="#DAE8FC"/>
|
||
<rect x="9" y="21" width="46" height="31" rx="3" fill="url(#grad-prof7)" stroke="#111111" stroke-width="1"/>
|
||
<rect x="9" y="55" width="10" height="5" rx="1.5" fill="#D5E8D4"/><rect x="21" y="55" width="10" height="5" rx="1.5" fill="#E6E6E6"/>
|
||
<rect x="33" y="55" width="10" height="5" rx="1.5" fill="#E6E6E6"/><rect x="45" y="55" width="10" height="5" rx="1.5" fill="#E6E6E6"/>
|
||
<circle cx="20" cy="80" r="10.5" fill="#E6E6E6" stroke="#8A8A8A" stroke-width="1.4"/>
|
||
<circle cx="23" cy="76.5" r="4.6" fill="#F5C518" stroke="#111111" stroke-width="1.3"/>
|
||
<circle cx="44" cy="80" r="10.5" fill="#E6E6E6" stroke="#8A8A8A" stroke-width="1.4"/>
|
||
<line x1="35" y1="80" x2="53" y2="80" stroke="#8A8A8A" stroke-width="1.2"/>
|
||
<circle cx="44" cy="80" r="4.6" fill="#F5C518" stroke="#111111" stroke-width="1.3"/>
|
||
<rect x="9" y="98" width="14" height="8" rx="2" fill="#F8CECC" stroke="#B85450" stroke-width="1"/>
|
||
<rect x="25" y="98" width="14" height="8" rx="2" fill="#D5E8D4" stroke="#82B366" stroke-width="1"/>
|
||
<rect x="41" y="98" width="14" height="8" rx="2" fill="#E1D5E7" stroke="#9673A6" stroke-width="1"/>
|
||
</symbol>
|
||
</defs><rect x="1" y="1" width="1182" height="858" rx="28" fill="#fff" stroke="#111111" stroke-width="2.5"/><rect x="700" y="22" width="34" height="24" rx="6" fill="#DAE8FC" stroke="#6C8EBF" stroke-width="2.4"/><text x="744" y="39.4" class="s" font-size="15" text-anchor="start"><tspan x="744" dy="0">pré-treinado</tspan></text><rect x="890.8" y="22" width="34" height="24" rx="6" fill="#FFF2CC" stroke="#D6B656" stroke-width="2.4"/><text x="934.8" y="39.4" class="s" font-size="15" text-anchor="start"><tspan x="934.8" dy="0">saída</tspan></text><rect x="1015.8" y="22" width="34" height="24" rx="6" fill="#FFFFFF" stroke="#111111" stroke-width="2.4" stroke-dasharray="6 5"/><text x="1059.8" y="39.4" class="s" font-size="15" text-anchor="start"><tspan x="1059.8" dy="0">próxima etapa</tspan></text><use href="#robo7" x="528.0" y="26" width="128" height="160"/><text x="592.0" y="213.92" class="b" font-size="22" text-anchor="middle"><tspan x="592.0" dy="0">Robô</tspan></text><text x="592.0" y="232.68" class="s" font-size="13" text-anchor="middle"><tspan x="592.0" dy="0">câmera · mecanum</tspan></text><path d="M592.0,240 L592.0,256" class="seta" marker-end="url(#pt7)"/><image href="img/camera.jpg" x="497.0" y="260" width="190" height="104" preserveAspectRatio="xMidYMid slice"/><rect x="497.0" y="260" width="190" height="104" rx="6" fill="none" stroke="#111111" stroke-width="2"/><text x="592.0" y="391.4" class="s" font-size="15" text-anchor="middle"><tspan x="592.0" dy="0">Quadro RGB</tspan></text><path d="M592.0,390 L592.0,400 M300.0,400 L884.0,400" class="seta"/><path d="M300.0,400 L300.0,440" class="seta" marker-end="url(#pt7)"/><path d="M884.0,400 L884.0,440" class="seta" marker-end="url(#pt7)"/><circle cx="592.0" cy="400" r="5" fill="#111111"/><rect x="40" y="444" width="520" height="324" rx="26" fill="none" stroke="#82B366" stroke-width="3"/><rect x="49" y="453" width="502" height="306" rx="20" fill="#fff" fill-opacity=".55" stroke="#111111" stroke-width="2" stroke-dasharray="8 6"/><text x="46" y="429.92" class="b" font-size="22" text-anchor="start"><tspan x="46" dy="0">Sistema 1</tspan></text><text x="554" y="428.04" class="s" font-size="14" text-anchor="end"><tspan x="554" dy="0">reflexo · rápido</tspan></text><rect x="70" y="468" width="460" height="56" rx="11" fill="#DAE8FC" stroke="#6C8EBF" stroke-width="2.6"/><text x="300.0" y="491.48" class="b" font-size="18" text-anchor="middle"><tspan x="300.0" dy="0">Depth Anything V2 Small</tspan></text><text x="300.0" y="516.04" class="s" font-size="14" text-anchor="middle"><tspan x="300.0" dy="0">pré-treinado · 24,8 M</tspan></text><path d="M166,528 L166,550" class="seta" marker-end="url(#pt7)"/><image href="img/depth.jpg" x="76" y="556" width="180" height="100" preserveAspectRatio="xMidYMid slice"/><rect x="76" y="556" width="180" height="100" rx="6" fill="none" stroke="#111111" stroke-width="2"/><text x="166.0" y="683.4" class="s" font-size="15" text-anchor="middle"><tspan x="166.0" dy="0">Profundidade monocular</tspan></text><path d="M256,606 L306,606" class="seta" marker-end="url(#pt7)"/><rect x="310" y="578" width="220" height="56" rx="11" fill="#FFF2CC" stroke="#D6B656" stroke-width="2.6"/><text x="420.0" y="601.75" class="b" font-size="17" text-anchor="middle"><tspan x="420.0" dy="0">Prevenção de</tspan><tspan x="420.0" dy="20.74">colisões</tspan></text><text x="300.0" y="746.68" class="s" font-size="13" text-anchor="middle"><tspan x="300.0" dy="0">~10 ms por quadro</tspan></text><path d="M560,594 L624,594" class="seta" marker-end="url(#pt7)"/><text x="592.0" y="584.32" class="s" font-size="12" text-anchor="middle"><tspan x="592.0" dy="0">profund.</tspan></text><rect x="624" y="444" width="520" height="324" rx="26" fill="none" stroke="#9673A6" stroke-width="3"/><rect x="633" y="453" width="502" height="306" rx="20" fill="#fff" fill-opacity=".55" stroke="#111111" stroke-width="2" stroke-dasharray="8 6"/><text x="630" y="429.92" class="b" font-size="22" text-anchor="start"><tspan x="630" dy="0">Sistema 2</tspan></text><text x="1138" y="428.04" class="s" font-size="14" text-anchor="end"><tspan x="1138" dy="0">deliberação · lento</tspan></text><rect x="654" y="460" width="200" height="38" rx="11" fill="#F8CECC" stroke="#B85450" stroke-width="2.6" stroke-dasharray="8 6"/><text x="754.0" y="485.84" class="b" font-size="19" text-anchor="middle"><tspan x="754.0" dy="0">V-SLAM</tspan></text><rect x="914" y="460" width="200" height="38" rx="11" fill="#DAE8FC" stroke="#6C8EBF" stroke-width="2.6" stroke-dasharray="8 6"/><text x="1014.0" y="485.84" class="b" font-size="19" text-anchor="middle"><tspan x="1014.0" dy="0">🦜 VLAM</tspan></text><path d="M754,498 L754,514" class="seta" marker-end="url(#pt7)"/><path d="M1014,498 L1014,514" class="seta" marker-end="url(#pt7)"/><image href="img/camera_pixel.png" x="696.0" y="518" width="116" height="64" preserveAspectRatio="xMidYMid slice" style="image-rendering: pixelated"/><rect x="696.0" y="518" width="116" height="64" rx="5" fill="none" stroke="#111111" stroke-width="2"/><image href="img/camera.jpg" x="956.0" y="518" width="116" height="64" preserveAspectRatio="xMidYMid slice"/><rect x="956.0" y="562" width="116" height="20" fill="#000" fill-opacity=".6"/><text x="1014" y="576" font-size="13" text-anchor="middle" font-style="italic" font-weight="700" style="fill:#fff">Veni, vidi, vici</text><rect x="956.0" y="518" width="116" height="64" rx="5" fill="none" stroke="#111111" stroke-width="2"/><path d="M754,584 L754,604 L863.0,604" class="seta" marker-end="url(#pt7)"/><path d="M1014,584 L1014,604 L905.0,604" class="seta" marker-end="url(#pt7)"/><circle cx="884.0" cy="604" r="15" fill="#fff" stroke="#111111" stroke-width="2.6"/><text x="884.0" y="612.92" class="b" font-size="22" text-anchor="middle"><tspan x="884.0" dy="0">+</tspan></text><path d="M884.0,619 L884.0,634" class="seta" marker-end="url(#pt7)"/><rect x="714" y="638" width="340" height="44" rx="11" fill="#DAE8FC" stroke="#6C8EBF" stroke-width="2.6"/><text x="884.0" y="655.12" class="b" font-size="17" text-anchor="middle"><tspan x="884.0" dy="0">S2E + ViNT</tspan></text><text x="884.0" y="679.54" class="s" font-size="14" text-anchor="middle"><tspan x="884.0" dy="0">hoje · pré-treinados · Nav. Model Zoo</tspan></text><path d="M884.0,686 L884.0,700" class="seta" marker-end="url(#pt7)"/><rect x="714" y="704" width="340" height="36" rx="11" fill="#FFF2CC" stroke="#D6B656" stroke-width="2.6"/><text x="884.0" y="727.76" class="b" font-size="16" text-anchor="middle"><tspan x="884.0" dy="0">Planejamento de rota</tspan></text><path d="M300.0,768 L300.0,808 L378.0,808" class="seta" marker-end="url(#pt7)"/><path d="M884.0,768 L884.0,808 L806.0,808" class="seta" marker-end="url(#pt7)"/><rect x="382.0" y="780" width="420" height="56" rx="11" fill="#E1D5E7" stroke="#9673A6" stroke-width="2.6"/><text x="592.0" y="803.84" class="b" font-size="19" text-anchor="middle"><tspan x="592.0" dy="0">Reflexos + coordenação</tspan></text><text x="592.0" y="828.54" class="s" font-size="14" text-anchor="middle"><tspan x="592.0" dy="0">comando · vx · vy · giro</tspan></text><path d="M592.0,836 L592.0,846 L16,846 L16,106 L522.0,106" class="seta" marker-end="url(#pt7)"/><text x="250" y="842.68" class="s" font-size="13" text-anchor="middle"><tspan x="250" dy="0">atuação: rodas mecanum</tspan></text></svg><!--/DIAG7--></div>
|
||
<div class="s7-pre badge reveal">Modelos pré-treinados<br>sem treino próprio</div>
|
||
<div class="meta"><span>Arquitetura do robô</span><span class="n">05 <i></i> 08</span></div>
|
||
</section>
|
||
|
||
<!-- ================= SLIDE 06 · SOFTWARE ARCHITECTURE ================= -->
|
||
<section class="slide" data-label="Arquitetura de software">
|
||
<div class="topbar"><span>Arquitetura de software</span><span class="pill">cliente · servidor · cliente</span></div>
|
||
<div class="s8-head">
|
||
<span class="kicker reveal">O caminho do dado</span>
|
||
<h2 class="d-lg reveal">UM SERVIDOR, DOIS CLIENTES.</h2>
|
||
</div>
|
||
<div class="dg-wrap dg-tri reveal"><!--DIAG8--><svg class="dg" viewBox="0 0 1728 680" width="1728" height="680" xmlns="http://www.w3.org/2000/svg"><style>
|
||
.dg text { font-family: Verdana, 'DejaVu Sans', sans-serif, 'Noto Color Emoji'; fill: #111111; }
|
||
.dg .b { font-weight: 700; }
|
||
.dg .s { font-weight: 400; }
|
||
.dg .seta { fill: none; stroke: #111111; stroke-width: 2.6; stroke-linejoin: round; }
|
||
.dg .tr { stroke-dasharray: 9 7; }
|
||
</style><defs>
|
||
<marker id="pt8" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||
<path d="M0,0 L10,5 L0,10 Z" fill="#111111"/>
|
||
</marker>
|
||
<clipPath id="clip8"><rect x="0" y="0" width="1" height="1" rx=".06" ry=".1"/></clipPath>
|
||
<symbol id="robo8" viewBox="-8 0 136 156">
|
||
<rect x="14" y="8" width="5" height="116" rx="2.5" fill="#B3B3B3" stroke="#111111" stroke-width="1.6"/>
|
||
<rect x="101" y="8" width="5" height="116" rx="2.5" fill="#B3B3B3" stroke="#111111" stroke-width="1.6"/>
|
||
<rect x="6" y="6" width="108" height="10" rx="4" fill="#F2D3A6" stroke="#111111" stroke-width="2"/>
|
||
<rect x="6" y="50" width="108" height="10" rx="4" fill="#F2D3A6" stroke="#111111" stroke-width="2"/>
|
||
<rect x="6" y="94" width="108" height="10" rx="4" fill="#F2D3A6" stroke="#111111" stroke-width="2"/>
|
||
<rect x="38" y="24" width="44" height="26" rx="4" fill="#E0B47A" stroke="#111111" stroke-width="2"/>
|
||
<rect x="3" y="108" width="114" height="20" rx="7" fill="#F2D3A6" stroke="#111111" stroke-width="2"/>
|
||
<rect x="48" y="111" width="24" height="14" rx="4" fill="#111111"/>
|
||
<circle cx="60" cy="118" r="4.5" fill="#6C8EBF" stroke="#fff" stroke-width="1.4"/>
|
||
<use href="#roda8" x="-6" y="116" width="40" height="36"/>
|
||
<use href="#roda8" x="86" y="116" width="40" height="36" transform="translate(212,0) scale(-1,1)"/>
|
||
</symbol>
|
||
<clipPath id="clip-roda8"><rect x="7" y="2" width="20" height="26" rx="5"/></clipPath>
|
||
<symbol id="roda8" viewBox="0 0 34 30">
|
||
<!-- roda mecanum vista de frente: dois cubos (placas) e roletes a 45° entre eles -->
|
||
<rect x="7" y="2" width="20" height="26" rx="5" fill="#2E2E2E"/>
|
||
<g clip-path="url(#clip-roda8)" stroke="#111111" stroke-width="1.2">
|
||
<rect x="-2" y="-1" width="38" height="5.6" rx="2.8" fill="#C9C9C9" transform="rotate(45 17 15) translate(0 0)"/>
|
||
<rect x="-2" y="7.2" width="38" height="5.6" rx="2.8" fill="#E2E2E2" transform="rotate(45 17 15)"/>
|
||
<rect x="-2" y="15.4" width="38" height="5.6" rx="2.8" fill="#C9C9C9" transform="rotate(45 17 15)"/>
|
||
<rect x="-2" y="23.6" width="38" height="5.6" rx="2.8" fill="#E2E2E2" transform="rotate(45 17 15)"/>
|
||
</g>
|
||
<rect x="7" y="2" width="20" height="26" rx="5" fill="none" stroke="#111111" stroke-width="2"/>
|
||
<rect x="1" y="4" width="7" height="22" rx="3" fill="#F5C518" stroke="#111111" stroke-width="2"/>
|
||
<rect x="26" y="4" width="7" height="22" rx="3" fill="#F5C518" stroke="#111111" stroke-width="2"/>
|
||
<circle cx="4.5" cy="15" r="1.8" fill="#111111"/><circle cx="29.5" cy="15" r="1.8" fill="#111111"/>
|
||
</symbol>
|
||
<linearGradient id="grad-prof8" x1="0" y1="0" x2="0" y2="1">
|
||
<stop offset="0" stop-color="#3B2A8C"/><stop offset=".45" stop-color="#2FA8E0"/>
|
||
<stop offset=".72" stop-color="#7DDB52"/><stop offset=".86" stop-color="#F5C518"/><stop offset="1" stop-color="#D7301F"/>
|
||
</linearGradient>
|
||
<symbol id="celular8" viewBox="0 0 64 120">
|
||
<!-- app de teste: abas, imagem de profundidade, dois joysticks e os botões Parar / Manual / Modelo -->
|
||
<rect x="2" y="2" width="60" height="116" rx="12" fill="#111111"/>
|
||
<rect x="6" y="9" width="52" height="102" rx="7" fill="#F7F7F7"/>
|
||
<rect x="26" y="4.5" width="12" height="2.5" rx="1.2" fill="#666"/>
|
||
<rect x="9" y="13" width="46" height="5" rx="2" fill="#DAE8FC"/>
|
||
<rect x="9" y="21" width="46" height="31" rx="3" fill="url(#grad-prof8)" stroke="#111111" stroke-width="1"/>
|
||
<rect x="9" y="55" width="10" height="5" rx="1.5" fill="#D5E8D4"/><rect x="21" y="55" width="10" height="5" rx="1.5" fill="#E6E6E6"/>
|
||
<rect x="33" y="55" width="10" height="5" rx="1.5" fill="#E6E6E6"/><rect x="45" y="55" width="10" height="5" rx="1.5" fill="#E6E6E6"/>
|
||
<circle cx="20" cy="80" r="10.5" fill="#E6E6E6" stroke="#8A8A8A" stroke-width="1.4"/>
|
||
<circle cx="23" cy="76.5" r="4.6" fill="#F5C518" stroke="#111111" stroke-width="1.3"/>
|
||
<circle cx="44" cy="80" r="10.5" fill="#E6E6E6" stroke="#8A8A8A" stroke-width="1.4"/>
|
||
<line x1="35" y1="80" x2="53" y2="80" stroke="#8A8A8A" stroke-width="1.2"/>
|
||
<circle cx="44" cy="80" r="4.6" fill="#F5C518" stroke="#111111" stroke-width="1.3"/>
|
||
<rect x="9" y="98" width="14" height="8" rx="2" fill="#F8CECC" stroke="#B85450" stroke-width="1"/>
|
||
<rect x="25" y="98" width="14" height="8" rx="2" fill="#D5E8D4" stroke="#82B366" stroke-width="1"/>
|
||
<rect x="41" y="98" width="14" height="8" rx="2" fill="#E1D5E7" stroke="#9673A6" stroke-width="1"/>
|
||
</symbol>
|
||
</defs><rect x="1" y="1" width="1726" height="678" rx="28" fill="#fff" stroke="#111111" stroke-width="2.5"/><rect x="604" y="60" width="520" height="352" rx="26" fill="none" stroke="#82B366" stroke-width="3"/><rect x="613" y="69" width="502" height="334" rx="20" fill="#fff" fill-opacity=".55" stroke="#111111" stroke-width="2" stroke-dasharray="8 6"/><text x="610" y="45.92" class="b" font-size="22" text-anchor="start"><tspan x="610" dy="0">Servidor</tspan></text><text x="1118" y="44.04" class="s" font-size="14" text-anchor="end"><tspan x="1118" dy="0">robomovel-server · Flask + Flask-Sock · ONNX + CUDA</tspan></text><rect x="632" y="82" width="190" height="46" rx="11" fill="#FFF2CC" stroke="#D6B656" stroke-width="2.6"/><text x="727.0" y="100.12" class="b" font-size="17" text-anchor="middle"><tspan x="727.0" dy="0">REST</tspan></text><text x="727.0" y="124.54" class="s" font-size="14" text-anchor="middle"><tspan x="727.0" dy="0">/api/…</tspan></text><rect x="632" y="142" width="190" height="46" rx="11" fill="#DAE8FC" stroke="#6C8EBF" stroke-width="2.6"/><text x="727.0" y="160.12" class="b" font-size="17" text-anchor="middle"><tspan x="727.0" dy="0">WebSocket</tspan></text><text x="727.0" y="184.54" class="s" font-size="14" text-anchor="middle"><tspan x="727.0" dy="0">/ws/app</tspan></text><rect x="906" y="112" width="190" height="46" rx="11" fill="#DAE8FC" stroke="#6C8EBF" stroke-width="2.6"/><text x="1001.0" y="130.12" class="b" font-size="17" text-anchor="middle"><tspan x="1001.0" dy="0">WebSocket</tspan></text><text x="1001.0" y="154.54" class="s" font-size="14" text-anchor="middle"><tspan x="1001.0" dy="0">/ws/robo</tspan></text><rect x="632" y="236" width="464" height="48" rx="11" fill="#D5E8D4" stroke="#82B366" stroke-width="2.6"/><text x="864.0" y="254.76" class="b" font-size="16" text-anchor="middle"><tspan x="864.0" dy="0">Sistema 1 · Depth Anything V2 Small</tspan></text><text x="864.0" y="279.04" class="s" font-size="14" text-anchor="middle"><tspan x="864.0" dy="0">pré-treinado · profundidade</tspan></text><rect x="632" y="340" width="464" height="48" rx="11" fill="#D5E8D4" stroke="#82B366" stroke-width="2.6"/><text x="864.0" y="358.76" class="b" font-size="16" text-anchor="middle"><tspan x="864.0" dy="0">Sistema 2 · S2E + ViNT</tspan></text><text x="864.0" y="383.04" class="s" font-size="14" text-anchor="middle"><tspan x="864.0" dy="0">pré-treinados · planejamento de rota</tspan></text><path d="M727,196 L727,228" class="seta" marker-end="url(#pt8)"/><text x="710" y="218.32" class="s" font-size="12" text-anchor="end"><tspan x="710" dy="0">comandos</tspan></text><path d="M1001,166 L1001,228" class="seta" marker-end="url(#pt8)"/><text x="986" y="204.32" class="s" font-size="12" text-anchor="end"><tspan x="986" dy="0">quadros</tspan></text><path d="M864.0,292 L864.0,332" class="seta" marker-end="url(#pt8)"/><path d="M1098,364 L1107,364 L1107,135 L1100,135" class="seta" marker-end="url(#pt8)"/><text x="1132" y="240.32" class="s" font-size="12" text-anchor="start"><tspan x="1132" dy="0">controle</tspan></text><rect x="40" y="350" width="360" height="270" rx="26" fill="none" stroke="#D6B656" stroke-width="3"/><rect x="49" y="359" width="342" height="252" rx="20" fill="#fff" fill-opacity=".55" stroke="#111111" stroke-width="2" stroke-dasharray="8 6"/><text x="46" y="335.92" class="b" font-size="22" text-anchor="start"><tspan x="46" dy="0">Cliente 1 · App</tspan></text><text x="394" y="334.04" class="s" font-size="14" text-anchor="end"><tspan x="394" dy="0">de teste · Kivy</tspan></text><use href="#celular8" x="66" y="372" width="72" height="135"/><rect x="152" y="374" width="224" height="38" rx="11" fill="#D5E8D4" stroke="#82B366" stroke-width="2.6"/><text x="264.0" y="398.4" class="b" font-size="15" text-anchor="middle"><tspan x="264.0" dy="0">Joystick</tspan></text><rect x="152" y="422" width="224" height="38" rx="11" fill="#D5E8D4" stroke="#82B366" stroke-width="2.6"/><text x="264.0" y="446.04" class="b" font-size="14" text-anchor="middle"><tspan x="264.0" dy="0">📍 Coordenadas no espaço</tspan></text><rect x="152" y="470" width="224" height="38" rx="11" fill="#D5E8D4" stroke="#82B366" stroke-width="2.6"/><text x="264.0" y="494.4" class="b" font-size="15" text-anchor="middle"><tspan x="264.0" dy="0">Profundidade e rota</tspan></text><text x="220.0" y="546.32" class="s" font-size="12" text-anchor="middle"><tspan x="220.0" dy="0">app temporário para testar a simulação;</tspan><tspan x="220.0" dy="16">o app final será outro</tspan></text><rect x="1328" y="350" width="360" height="270" rx="26" fill="none" stroke="#B85450" stroke-width="3"/><rect x="1337" y="359" width="342" height="252" rx="20" fill="#fff" fill-opacity=".55" stroke="#111111" stroke-width="2" stroke-dasharray="8 6"/><text x="1334" y="335.92" class="b" font-size="22" text-anchor="start"><tspan x="1334" dy="0">Cliente 2 · Robô</tspan></text><text x="1682" y="334.04" class="s" font-size="14" text-anchor="end"><tspan x="1682" dy="0">real ou simulação</tspan></text><use href="#robo8" x="1352" y="380" width="96" height="120"/><rect x="1464" y="380" width="200" height="56" rx="11" fill="#D5E8D4" stroke="#82B366" stroke-width="2.6"/><text x="1564.0" y="402.4" class="b" font-size="15" text-anchor="middle"><tspan x="1564.0" dy="0">Simulação Godot</tspan></text><text x="1564.0" y="426.54" class="s" font-size="14" text-anchor="middle"><tspan x="1564.0" dy="0">hoje</tspan></text><rect x="1464" y="450" width="200" height="56" rx="11" fill="#FFFFFF" stroke="#111111" stroke-width="2.6" stroke-dasharray="8 6"/><text x="1564.0" y="472.4" class="b" font-size="15" text-anchor="middle"><tspan x="1564.0" dy="0">Firmware (Arduino)</tspan></text><text x="1564.0" y="496.54" class="s" font-size="14" text-anchor="middle"><tspan x="1564.0" dy="0">próxima etapa · real</tspan></text><text x="1508.0" y="554.32" class="s" font-size="12" text-anchor="middle"><tspan x="1508.0" dy="0">a mesma conexão serve aos dois</tspan></text><path d="M404,400 L600,110" class="seta tr" marker-end="url(#pt8)" marker-start="url(#pt8)"/><text x="372" y="231.4" class="b" font-size="15" text-anchor="middle"><tspan x="372" dy="0">REST · HTTP</tspan></text><text x="372" y="252.32" class="s" font-size="12" text-anchor="middle"><tspan x="372" dy="0">POST comandos · GET imagens</tspan></text><path d="M404,460 L600,175" class="seta" marker-end="url(#pt8)" marker-start="url(#pt8)"/><text x="560" y="457.4" class="b" font-size="15" text-anchor="middle"><tspan x="560" dy="0">WebSocket · /ws/app</tspan></text><text x="560" y="478.32" class="s" font-size="12" text-anchor="middle"><tspan x="560" dy="0">joystick · modo · rota ⇄ estado</tspan></text><path d="M1128,137 L1324,410" class="seta" marker-end="url(#pt8)" marker-start="url(#pt8)"/><text x="1440" y="189.4" class="b" font-size="15" text-anchor="middle"><tspan x="1440" dy="0">WebSocket · /ws/robo</tspan></text><text x="1440" y="219.32" class="s" font-size="12" text-anchor="middle"><tspan x="1440" dy="0">câmera · estado →</tspan><tspan x="1440" dy="17">← controle · profundidade</tspan><tspan x="1440" dy="17">(o robô não usa REST)</tspan></text><path d="M40,652 L110,652" class="seta" marker-end="url(#pt8)" marker-start="url(#pt8)"/><text x="124" y="657.4" class="s" font-size="15" text-anchor="start"><tspan x="124" dy="0">WebSocket: conexão aberta, mensagens nos dois sentidos</tspan></text><path d="M700,652 L770,652" class="seta tr" marker-end="url(#pt8)" marker-start="url(#pt8)"/><text x="784" y="657.4" class="s" font-size="15" text-anchor="start"><tspan x="784" dy="0">REST: pedido e resposta</tspan></text><rect x="1120" y="640" width="34" height="24" rx="6" fill="#DAE8FC" stroke="#6C8EBF" stroke-width="2.4"/><text x="1164" y="657.4" class="s" font-size="15" text-anchor="start"><tspan x="1164" dy="0">interface</tspan></text><rect x="1282.6" y="640" width="34" height="24" rx="6" fill="#D5E8D4" stroke="#82B366" stroke-width="2.4"/><text x="1326.6" y="657.4" class="s" font-size="15" text-anchor="start"><tspan x="1326.6" dy="0">modelo pré-treinado</tspan></text></svg><!--/DIAG8--></div>
|
||
<div class="s8-pre badge reveal">IA com modelos pré-treinados</div>
|
||
<div class="meta"><span>Arquitetura de software</span><span class="n">06 <i></i> 08</span></div>
|
||
</section>
|
||
|
||
<!-- ================= SLIDE 07 · PRÓXIMOS PASSOS ================= -->
|
||
<section class="slide" data-label="Próximos passos">
|
||
<div class="topbar"><span>Próximos passos</span><span class="pill">Curto prazo</span></div>
|
||
<div class="s9-head">
|
||
<span class="kicker reveal">Depois da montagem</span>
|
||
<h2 class="d-lg reveal">O QUE VEM<br>AGORA.</h2>
|
||
</div>
|
||
<div class="s9-grid">
|
||
<div class="s9-card reveal"><span class="s9-num">01</span><div><h3>Tração</h3><p>Fixar os quatro motores, acoplar as rodas mecanum e testar rigidez com carga.</p></div></div>
|
||
<div class="s9-card reveal"><span class="s9-num">02</span><div><h3>S2E no real</h3><p>Levar as rotas do mapa para o corredor de verdade e ajustar o controlador.</p></div></div>
|
||
<div class="s9-card reveal"><span class="s9-num">03</span><div><h3>SLAM visual</h3><p>Fechar o mapa e a localização para o Sistema 2 deixar de depender só de waypoints.</p></div></div>
|
||
<div class="s9-card reveal"><span class="s9-num">04</span><div><h3>Firmware</h3><p>Integrar Arduino, drivers e parada de segurança ao servidor.</p></div></div>
|
||
</div>
|
||
<div class="s9-quote">Base cortada · simulador rodando · IA conectada · agora, o robô.</div>
|
||
<div class="meta"><span>Próximos passos</span><span class="n">07 <i></i> 08</span></div>
|
||
</section>
|
||
|
||
<!-- ================= SLIDE 08 · OBRIGADO ================= -->
|
||
<section class="slide fim" data-label="Obrigado">
|
||
<div class="topbar"><span>Robô Móvel de Carga · UNICAP</span><span class="pill">22 OUT 2026</span></div>
|
||
<div class="s10-title"><h2 class="d-hero">OBRIGADO</h2></div>
|
||
<p class="s10-sub body-lg">Perguntas? O próximo passo é colocar a base para andar.</p>
|
||
<div class="s10-team">
|
||
<span class="tag">Equipe</span>
|
||
<p>Marcel Guinhos de Menezes Feitosa · Ronaldo Ramos · Maria Luísa Jordão de Moura · Inaldo Neto</p>
|
||
<span class="tag" style="margin-top:8px;">Orientação</span>
|
||
<p>Prof. Emmanuel Barreto de Carvalho · Prof. Wilmer Yecid Cordoba Camacho</p>
|
||
</div>
|
||
<div class="s10-thanks"><b>Agradecimentos</b> · À UNICAP, pelo espaço e infraestrutura; ao Laboratório de Física, pelo apoio e entusiasmo; aos orientadores, pelo acompanhamento; e a todos que ajudaram na bancada.</div>
|
||
<div class="s10-stamp"><div><span class="y">OUT<br>2026</span><span class="tag">Do papel<br>ao corredor</span></div></div>
|
||
<div class="meta"><span>Robótica Inclusiva · MINF 0104</span><span class="n">08 <i></i> 08</span></div>
|
||
</section>
|
||
|
||
</main>
|
||
</div>
|
||
<div class="deck-controls" id="ctrl">← → navegar · F tela cheia</div>
|
||
|
||
<script>
|
||
/* === PALCO FIXO: escala 1920×1080 para a janela === */
|
||
const stage = document.getElementById("deckStage");
|
||
function ajustar() {
|
||
const s = Math.min(innerWidth / 1920, innerHeight / 1080);
|
||
stage.style.transform = `translate(${(innerWidth - 1920 * s) / 2}px, ${(innerHeight - 1080 * s) / 2}px) scale(${s})`;
|
||
}
|
||
addEventListener("resize", ajustar); ajustar();
|
||
|
||
/* === NAVEGAÇÃO === */
|
||
const slides = [...document.querySelectorAll(".slide")];
|
||
let atual = 0;
|
||
const ctrl = document.getElementById("ctrl");
|
||
let t;
|
||
function mostrarCtrl() { ctrl.classList.add("show"); clearTimeout(t); t = setTimeout(() => ctrl.classList.remove("show"), 1800); }
|
||
function ir(i) {
|
||
atual = Math.max(0, Math.min(slides.length - 1, i));
|
||
slides.forEach((s, k) => {
|
||
s.classList.toggle("active", k === atual);
|
||
s.classList.toggle("visible", k === atual);
|
||
});
|
||
history.replaceState(null, "", "#" + (atual + 1));
|
||
ctrl.textContent = `${atual + 1} / ${slides.length} · ← → navegar · F tela cheia`;
|
||
mostrarCtrl();
|
||
}
|
||
addEventListener("keydown", (e) => {
|
||
if (["ArrowRight", "PageDown", " ", "Enter"].includes(e.key)) { e.preventDefault(); ir(atual + 1); }
|
||
else if (["ArrowLeft", "PageUp", "Backspace"].includes(e.key)) { e.preventDefault(); ir(atual - 1); }
|
||
else if (e.key === "Home") ir(0);
|
||
else if (e.key === "End") ir(slides.length - 1);
|
||
else if (/^[1-9]$/.test(e.key)) ir(+e.key - 1);
|
||
else if (e.key.toLowerCase() === "f") { document.fullscreenElement ? document.exitFullscreen() : document.documentElement.requestFullscreen(); }
|
||
});
|
||
addEventListener("click", (e) => { (e.clientX > innerWidth / 3 ? ir(atual + 1) : ir(atual - 1)); });
|
||
let x0 = null;
|
||
addEventListener("touchstart", (e) => { x0 = e.touches[0].clientX; }, { passive: true });
|
||
addEventListener("touchend", (e) => { if (x0 === null) return; const dx = e.changedTouches[0].clientX - x0; if (Math.abs(dx) > 40) ir(atual + (dx < 0 ? 1 : -1)); x0 = null; });
|
||
addEventListener("wheel", (e) => { if (Math.abs(e.deltaY) > 20) ir(atual + (e.deltaY > 0 ? 1 : -1)); }, { passive: true });
|
||
ir(Math.max(0, (parseInt(location.hash.slice(1)) || 1) - 1));
|
||
</script>
|
||
</body>
|
||
</html>
|