Files
presentation-html/dist/animejs-gallery-0.6.0/healthcare/index.html
T

1207 lines
47 KiB
HTML

<!doctype html>
<!-- Generated from catalog metadata by scripts/build-gallery.py. -->
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Healthcare — Motion that explains</title><style>*{box-sizing:border-box}body{margin:0;background:#101823;color:#eef5ff;font:16px/1.5 system-ui,sans-serif}header,main,footer{max-width:1300px;margin:auto;padding:24px}h1{font-size:2.2rem;margin:0}h2{font-size:1.3rem}header p,article p{color:#bfcede}article{padding:22px;border:1px solid #425065;border-radius:12px;background:#182333}svg{width:100%;display:block;background:#111c2b;border-radius:8px}svg{font-family:system-ui,sans-serif;font-size:14px;fill:#eef5ff}.industry svg{font-size:18px}.guide{fill:none;stroke:#425065;stroke-width:5}.trace{fill:none;stroke:#69ded2;stroke-width:4}.cell{fill:#2a6d82;stroke:#85e7df;stroke-width:2}.packet{fill:#ffd787;stroke:#101823;stroke-width:2}.controls,.beats{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px}button{font:inherit;border:1px solid #8da4be;background:#263b52;color:#fff;border-radius:5px;padding:6px 12px;cursor:pointer}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #ffd787;outline-offset:3px}label{display:flex;align-items:center;gap:6px}input{width:160px}output{display:block;color:#bfcede;font-size:.85rem;margin-top:8px}footer{color:#bfcede}summary{cursor:pointer}pre{white-space:pre-wrap}a{color:#85e7df;text-underline-offset:3px}nav{margin-bottom:18px;color:#bfcede}.registry-nav{display:flex;flex-wrap:wrap;gap:10px}.registry-nav a{padding:8px 14px;background:#203248;border:1px solid #425065;border-radius:6px}.preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,510px),1fr));gap:22px}section{margin-bottom:36px}.preview-grid article{padding:0;overflow:hidden;container-type:inline-size}iframe{width:100%;height:calc(56.25cqw + 150px);min-height:360px;border:0;display:block}.open-example{display:block;padding:16px 22px;border-top:1px solid #425065}body[data-example] main{max-width:1120px}body[data-example] article h2{display:none}.guidance{border-top:1px solid #425065;margin:24px 0 0;padding-top:12px}.guidance h3{font-size:1rem;margin-bottom:4px}.guidance p{margin-top:0}.beats button{font-size:.9rem}.embedded header,.embedded footer,.embedded .guidance,.embedded .beats,.embedded .controls label,.embedded article>p{display:none}.embedded .controls{margin-top:10px}.embedded main{padding:8px}.embedded article{padding:8px;border:0}body[data-example].embedded article h2{display:block;margin:0 0 8px;font-size:1rem}.embedded svg{max-height:none}@media(max-width:500px){header,main,footer{padding:16px}h1{font-size:1.8rem}article{padding:12px}.controls label{width:100%}}@media print{.controls,.beats,output{display:none}article{break-inside:avoid}}
</style></head>
<body data-gallery="healthcare"><header><nav aria-label="Breadcrumb"><a href="../index.html">All examples</a> / <span aria-current="page">Healthcare</span></nav><h1>Healthcare</h1><p>Open an example for use/avoid guidance, assumptions and named timeline beats.</p></header><main aria-label="Animation examples"></main><footer><p>Original conceptual examples · Anime.js 4.5.0 · Offline library 0.6.0. Not operational, clinical or engineering advice.</p><details><summary>Anime.js license</summary><pre>The MIT License
Copyright (c) 2025 Julian Garnier
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
</pre></details></footer>
<script>/* Generated by scripts/build-gallery.py; edit catalogs or examples.js. */
window.animeExamples = [
{
"id": "svg-draw",
"kind": "element",
"title": "Draw a connection",
"description": "A trace reveals a directed connection; labels remain readable.",
"duration": 900,
"path": "M 55 110 C 140 20 240 200 345 110",
"start": "Source",
"end": "Destination",
"group": "elements",
"groupTitle": "Elements",
"beatSource": "runtime",
"useWhen": "Explain a trace reveals a directed connection; labels remain readable.",
"avoid": "Avoid decorative motion or treating illustrative timing and geometry as measured performance.",
"assumptions": "Original conceptual example; all timing and geometry are illustrative. Retest edited parameters."
},
{
"id": "motion-path",
"kind": "element",
"title": "Follow a route",
"description": "A packet follows the same coordinate space as its route.",
"duration": 1200,
"path": "M 55 110 C 140 20 240 200 345 110",
"start": "Send",
"end": "Receive",
"group": "elements",
"groupTitle": "Elements",
"beatSource": "runtime",
"useWhen": "Explain a packet follows the same coordinate space as its route.",
"avoid": "Avoid decorative motion or treating illustrative timing and geometry as measured performance.",
"assumptions": "Original conceptual example; all timing and geometry are illustrative. Retest edited parameters."
},
{
"id": "spatial-stagger",
"kind": "element",
"title": "Propagate from the center",
"description": "Row-major cells activate outward from the center of a grid.",
"duration": 350,
"delay": 100,
"columns": 5,
"rows": 3,
"group": "elements",
"groupTitle": "Elements",
"beatSource": "runtime",
"useWhen": "Explain row-major cells activate outward from the center of a grid.",
"avoid": "Avoid decorative motion or treating illustrative timing and geometry as measured performance.",
"assumptions": "Original conceptual example; all timing and geometry are illustrative. Retest edited parameters."
},
{
"id": "dependency-flow",
"kind": "composition",
"title": "Explain a dependency",
"description": "Input connects to a check, then the checked result reaches output.",
"duration": 600,
"labels": [
"Input",
"Check",
"Output"
],
"group": "compositions",
"groupTitle": "Compositions",
"beatSource": "runtime",
"useWhen": "Explain input connects to a check, then the checked result reaches output.",
"avoid": "Avoid decorative motion or treating illustrative timing and geometry as measured performance.",
"assumptions": "Original conceptual example; all timing and geometry are illustrative. Retest edited parameters."
},
{
"id": "assemble-explode",
"kind": "composition",
"title": "Separate, inspect, reassemble",
"description": "Stable parts separate to expose their relationship, then return to one assembly.",
"duration": 700,
"distance": 105,
"labels": [
"Interface",
"Compute",
"Storage"
],
"group": "compositions",
"groupTitle": "Compositions",
"beatSource": "runtime",
"useWhen": "Explain stable parts separate to expose their relationship, then return to one assembly.",
"avoid": "Avoid decorative motion or treating illustrative timing and geometry as measured performance.",
"assumptions": "Original conceptual example; all timing and geometry are illustrative. Retest edited parameters."
},
{
"id": "oil-gas-separator-upset",
"group": "oil-gas",
"groupTitle": "Oil & gas",
"title": "Separator train: contain an upset",
"description": "Separate the streams; isolate one train without hiding the recovery route.",
"useWhen": "Use with operations educators to explain how separation, upset containment and alternate train availability differ. Ask which paths must stop before recovery.",
"avoid": "Do not use as a live control display, regulatory assurance, numerical model or a substitute for locally approved procedures.",
"assumptions": "Original conceptual model. All timings, quantities, rates and capacities are illustrative. Geometry shows relationships, not physical scale. No clinical, compliance or engineering certification claims.",
"config": {
"phaseMs": 1200,
"feedLevel": 26
},
"beats": [
{
"at": 0,
"label": "Feed split"
},
{
"at": 1200,
"label": "Separation"
},
{
"at": 2400,
"label": "Upset held"
},
{
"at": 3600,
"label": "Train isolated"
},
{
"at": 4800,
"label": "Stable route"
},
{
"at": 6000,
"label": "Settled outcome"
}
],
"kind": "industry"
},
{
"id": "oil-gas-pipeline-reroute",
"group": "oil-gas",
"groupTitle": "Oil & gas",
"title": "Pipeline leak: isolate and bypass",
"description": "Two boundary valves contain the suspect segment before bypass flow resumes.",
"useWhen": "Use in resilience workshops to distinguish detection, boundary isolation and alternate delivery. Ask whether a bypass exists before promising restored supply.",
"avoid": "Do not use as a live control display, regulatory assurance, numerical model or a substitute for locally approved procedures.",
"assumptions": "Original conceptual model. All timings, quantities, rates and capacities are illustrative. Geometry shows relationships, not physical scale. No clinical, compliance or engineering certification claims.",
"config": {
"phaseMs": 1200,
"bypassY": 365
},
"beats": [
{
"at": 0,
"label": "Normal flow"
},
{
"at": 1200,
"label": "Leak alarm"
},
{
"at": 2400,
"label": "Close bounds"
},
{
"at": 3600,
"label": "Open bypass"
},
{
"at": 4800,
"label": "Supply restored"
},
{
"at": 6000,
"label": "Settled outcome"
}
],
"kind": "industry"
},
{
"id": "pharma-batch-genealogy",
"group": "pharma",
"groupTitle": "Pharma",
"title": "Batch genealogy: hold, then release",
"description": "A quality hold propagates to descendants; disposition restores only the accepted branch.",
"useWhen": "Use with manufacturing quality and data-lineage teams to explain why a hold follows descendants while release requires branch-specific evidence.",
"avoid": "Do not use as a live control display, regulatory assurance, numerical model or a substitute for locally approved procedures.",
"assumptions": "Original conceptual model. All timings, quantities, rates and capacities are illustrative. Geometry shows relationships, not physical scale. No clinical, compliance or engineering certification claims.",
"config": {
"phaseMs": 1200,
"packCount": 3
},
"beats": [
{
"at": 0,
"label": "Trace inputs"
},
{
"at": 1200,
"label": "Blend batch"
},
{
"at": 2400,
"label": "Hold lineage"
},
{
"at": 3600,
"label": "Review evidence"
},
{
"at": 4800,
"label": "Release branch"
},
{
"at": 6000,
"label": "Settled outcome"
}
],
"kind": "industry"
},
{
"id": "pharma-cold-chain-quarantine",
"group": "pharma",
"groupTitle": "Pharma",
"title": "Cold chain: excursion to quarantine",
"description": "A recorded excursion changes custody status, not the historical temperature trace.",
"useWhen": "Use with distribution and quality teams to explain why a logger excursion changes custody disposition without erasing the temperature history.",
"avoid": "Do not use as a live control display, regulatory assurance, numerical model or a substitute for locally approved procedures.",
"assumptions": "Original conceptual model. All timings, quantities, rates and capacities are illustrative. Geometry shows relationships, not physical scale. No clinical, compliance or engineering certification claims.",
"config": {
"phaseMs": 1200,
"excursionRise": 48
},
"beats": [
{
"at": 0,
"label": "Pack & record"
},
{
"at": 1200,
"label": "Transport"
},
{
"at": 2400,
"label": "Excursion"
},
{
"at": 3600,
"label": "Quarantine"
},
{
"at": 4800,
"label": "Disposition"
},
{
"at": 6000,
"label": "Settled outcome"
}
],
"kind": "industry"
},
{
"id": "government-permit-review-loop",
"group": "government",
"groupTitle": "Government",
"title": "Permit review: parallel checks & correction",
"description": "Independent reviews converge; a missing exhibit returns to the applicant before decision.",
"useWhen": "Use with public-service designers to distinguish parallel review from a decision gate and show how missing exhibits create an applicant correction loop.",
"avoid": "Do not use as a live control display, regulatory assurance, numerical model or a substitute for locally approved procedures.",
"assumptions": "Original conceptual model. All timings, quantities, rates and capacities are illustrative. Geometry shows relationships, not physical scale. No clinical, compliance or engineering certification claims.",
"config": {
"phaseMs": 1200,
"exhibitPages": 3
},
"beats": [
{
"at": 0,
"label": "Application"
},
{
"at": 1200,
"label": "Parallel review"
},
{
"at": 2400,
"label": "Missing exhibit"
},
{
"at": 3600,
"label": "Correction"
},
{
"at": 4800,
"label": "Decision gate"
},
{
"at": 6000,
"label": "Settled outcome"
}
],
"kind": "industry"
},
{
"id": "government-budget-execution",
"group": "government",
"groupTitle": "Government",
"title": "Budget allocation: authority before spend",
"description": "Approved envelopes become commitments; expenditure follows a separate execution gate.",
"useWhen": "Use with public-finance educators to separate allocation, authority, commitment and expenditure; ask why an unspent envelope is not automatically reusable.",
"avoid": "Do not use as a live control display, regulatory assurance, numerical model or a substitute for locally approved procedures.",
"assumptions": "Original conceptual model. All timings, quantities, rates and capacities are illustrative. Geometry shows relationships, not physical scale. No clinical, compliance or engineering certification claims.",
"config": {
"phaseMs": 1200,
"allocationScale": 0.85
},
"beats": [
{
"at": 0,
"label": "Allocate"
},
{
"at": 1200,
"label": "Authorize"
},
{
"at": 2400,
"label": "Commit"
},
{
"at": 3600,
"label": "Verify delivery"
},
{
"at": 4800,
"label": "Record spend"
},
{
"at": 6000,
"label": "Settled outcome"
}
],
"kind": "industry"
},
{
"id": "retail-inventory-reservation",
"group": "retail",
"groupTitle": "Retail",
"title": "Omnichannel: reserve before promising",
"description": "Two demand channels compete for one pickable unit; the second order gets an honest alternative.",
"useWhen": "Use with commerce product and store operations teams to expose the race between web and store demand and prevent a second promise on one unit.",
"avoid": "Do not use as a live control display, regulatory assurance, numerical model or a substitute for locally approved procedures.",
"assumptions": "Original conceptual model. All timings, quantities, rates and capacities are illustrative. Geometry shows relationships, not physical scale. No clinical, compliance or engineering certification claims.",
"config": {
"phaseMs": 1200,
"parcelSize": 34
},
"beats": [
{
"at": 0,
"label": "Count stock"
},
{
"at": 1200,
"label": "Web reserves"
},
{
"at": 2400,
"label": "Store competes"
},
{
"at": 3600,
"label": "Offer alternate"
},
{
"at": 4800,
"label": "Fulfil promise"
},
{
"at": 6000,
"label": "Settled outcome"
}
],
"kind": "industry"
},
{
"id": "retail-return-disposition",
"group": "retail",
"groupTitle": "Retail",
"title": "Returns: inspect before restocking",
"description": "Refund and inventory disposition are separate branches; damaged goods stay out of sellable stock.",
"useWhen": "Use with returns, finance and inventory teams to separate refund eligibility from physical restock eligibility and retain the rejected-goods branch.",
"avoid": "Do not use as a live control display, regulatory assurance, numerical model or a substitute for locally approved procedures.",
"assumptions": "Original conceptual model. All timings, quantities, rates and capacities are illustrative. Geometry shows relationships, not physical scale. No clinical, compliance or engineering certification claims.",
"config": {
"phaseMs": 1200,
"restockUnits": 2
},
"beats": [
{
"at": 0,
"label": "Receive return"
},
{
"at": 1200,
"label": "Inspect condition"
},
{
"at": 2400,
"label": "Route disposition"
},
{
"at": 3600,
"label": "Refund record"
},
{
"at": 4800,
"label": "Restock accepted"
},
{
"at": 6000,
"label": "Settled outcome"
}
],
"kind": "industry"
},
{
"id": "logistics-hub-connection-recovery",
"group": "logistics",
"groupTitle": "Logistics",
"title": "Hub sorting: recover a missed connection",
"description": "Follow a late parcel from induction through sorting, a missed departure, exception staging and a later connection.",
"useWhen": "Explain why physical sorting and departure cutoffs are separate dependencies; useful for hub planning and service design.",
"avoid": "Do not present this as a route optimizer, carrier SLA, throughput benchmark or promise of delivery.",
"assumptions": "Original conceptual hub. All timings, positions, capacities and departure windows are illustrative; one parcel represents a tracked consignment.",
"config": {
"duration": 6000,
"recoveryConnection": "Later connection"
},
"beats": [
{
"at": 0,
"label": "Induct"
},
{
"at": 1200,
"label": "Read & sort"
},
{
"at": 2400,
"label": "Cutoff missed"
},
{
"at": 3600,
"label": "Stage safely"
},
{
"at": 4800,
"label": "Reconnect"
},
{
"at": 6000,
"label": "Resolved overview"
}
],
"kind": "industry"
},
{
"id": "logistics-port-crane-yard",
"group": "logistics",
"groupTitle": "Logistics",
"title": "Port coordination: berth, crane and yard",
"description": "A container moves only after berth access, crane clearance and a yard slot align; a blocked lane prompts reassignment.",
"useWhen": "Explain interdependent marine and landside work to planners; show that crane motion alone does not complete a transfer.",
"avoid": "Avoid crane operating instruction, nautical guidance, capacity forecasts or safety clearance claims.",
"assumptions": "All geometry, timing and resource counts are illustrative. Original conceptual port; not an equipment or safety simulation.",
"config": {
"duration": 6000,
"yardSlot": "B"
},
"beats": [
{
"at": 0,
"label": "Berth ready"
},
{
"at": 1200,
"label": "Lift approved"
},
{
"at": 2400,
"label": "Lane blocked"
},
{
"at": 3600,
"label": "Reassign slot"
},
{
"at": 4800,
"label": "Yard receipt"
},
{
"at": 6000,
"label": "Resolved overview"
}
],
"kind": "industry"
},
{
"id": "manufacturing-takt-buffer",
"group": "manufacturing",
"groupTitle": "Manufacturing",
"title": "Assembly flow: bottleneck and buffer",
"description": "Three assembly stations expose an uneven cycle; a small buffer absorbs the mismatch while work is rebalanced.",
"useWhen": "Explain work-in-progress and local bottlenecks to operations teams without implying that a buffer creates capacity.",
"avoid": "Avoid production forecasting, exact takt design or claims that one buffer universally solves a bottleneck.",
"assumptions": "All cycles, buffer sizes, positions and timings are illustrative. Single-piece tokens simplify an original conceptual assembly line.",
"config": {
"duration": 6000,
"bufferSlots": 2
},
"beats": [
{
"at": 0,
"label": "Feed chassis"
},
{
"at": 1200,
"label": "Assemble"
},
{
"at": 2400,
"label": "Queue grows"
},
{
"at": 3600,
"label": "Rebalance"
},
{
"at": 4800,
"label": "Release units"
},
{
"at": 6000,
"label": "Resolved overview"
}
],
"kind": "industry"
},
{
"id": "manufacturing-fault-rework",
"group": "manufacturing",
"groupTitle": "Manufacturing",
"title": "Machine fault: isolate, inspect and rework",
"description": "A machining fault stops the affected cell; a suspect part leaves the main line for inspection, rework and verification.",
"useWhen": "Explain containment boundaries, part identity and the difference between repair of a machine and release of a product.",
"avoid": "Not lockout/tagout instructions, machine-safety validation or a quality-release standard.",
"assumptions": "Conceptual original cell; all timings and counts are illustrative. Animated isolation is a process state, not a certified safety procedure.",
"config": {
"duration": 6000,
"lotId": "LOT A"
},
"beats": [
{
"at": 0,
"label": "Machine part"
},
{
"at": 1200,
"label": "Detect fault"
},
{
"at": 2400,
"label": "Contain lot"
},
{
"at": 3600,
"label": "Rework"
},
{
"at": 4800,
"label": "Verify release"
},
{
"at": 6000,
"label": "Resolved overview"
}
],
"kind": "industry"
},
{
"id": "energy-microgrid-storage",
"group": "energy",
"groupTitle": "Energy",
"title": "Microgrid: balance generation with storage",
"description": "Solar and wind feed a common bus; a renewable dip triggers storage dispatch before a flexible load rejoins.",
"useWhen": "Explain the distinct roles of generation, storage and flexible demand to a general energy audience.",
"avoid": "Not electrical design, dispatch optimization, grid-code compliance or battery-sizing advice.",
"assumptions": "All power, storage and time relationships are qualitative and illustrative; original topology omits protection and power electronics.",
"config": {
"duration": 6000,
"storageBars": 3
},
"beats": [
{
"at": 0,
"label": "Renewables"
},
{
"at": 1200,
"label": "Serve load"
},
{
"at": 2400,
"label": "Output dips"
},
{
"at": 3600,
"label": "Discharge"
},
{
"at": 4800,
"label": "Load rejoins"
},
{
"at": 6000,
"label": "Resolved overview"
}
],
"kind": "industry"
},
{
"id": "energy-feeder-restoration",
"group": "energy",
"groupTitle": "Energy",
"title": "Feeder fault: isolate and restore service",
"description": "A faulted feeder section is opened at both ends; a normally open tie restores healthy downstream service.",
"useWhen": "Explain sectional isolation versus whole-feeder outage with an accessible single-line conceptual topology.",
"avoid": "Never use as switching instructions, protection coordination, load-flow analysis or an operator procedure.",
"assumptions": "Original conceptual topology. Switch states and all timings are illustrative; alternate source capacity and safe isolation are assumed, not calculated.",
"config": {
"duration": 6000,
"tieAvailable": 1
},
"beats": [
{
"at": 0,
"label": "Normal supply"
},
{
"at": 1200,
"label": "Fault appears"
},
{
"at": 2400,
"label": "Open section"
},
{
"at": 3600,
"label": "Close tie"
},
{
"at": 4800,
"label": "Restore branch"
},
{
"at": 6000,
"label": "Resolved overview"
}
],
"kind": "industry"
},
{
"id": "healthcare-care-handoffs",
"group": "healthcare",
"groupTitle": "Healthcare",
"title": "Care coordination: triage and handoffs",
"description": "Follow registration, triage review, care-team handoff and discharge coordination, with an information gap resolved.",
"useWhen": "Explain administrative handoff ownership and missing-information recovery to nonclinical service-design audiences.",
"avoid": "Not clinical triage criteria, treatment recommendations, staffing models or emergency-care instructions.",
"assumptions": "Nonclinical original process illustration. No patient data. All times and resource counts are illustrative; clinical decisions are intentionally excluded.",
"config": {
"duration": 6000,
"handoffRole": "Care coordinator"
},
"beats": [
{
"at": 0,
"label": "Register"
},
{
"at": 1200,
"label": "Triage review"
},
{
"at": 2400,
"label": "Resolve gap"
},
{
"at": 3600,
"label": "Team accepts"
},
{
"at": 4800,
"label": "Coordinate exit"
},
{
"at": 6000,
"label": "Resolved overview"
}
],
"kind": "industry"
},
{
"id": "healthcare-sample-rejection",
"group": "healthcare",
"groupTitle": "Healthcare",
"title": "Diagnostic sample chain: reject and recollect",
"description": "A labeled tube passes accession and inspection; an unsuitable specimen is held while a linked replacement reaches analysis.",
"useWhen": "Explain specimen identity and rejection recovery as a nonclinical laboratory coordination illustration.",
"avoid": "Not diagnostic interpretation, collection instructions, rejection criteria, patient advice or laboratory accreditation guidance.",
"assumptions": "Nonclinical conceptual workflow with invented sample identifiers. All counts and timings are illustrative; suitability is a generic process state.",
"config": {
"duration": 6000,
"sampleId": "S-042"
},
"beats": [
{
"at": 0,
"label": "Label & send"
},
{
"at": 1200,
"label": "Accession"
},
{
"at": 2400,
"label": "Reject & hold"
},
{
"at": 3600,
"label": "Recollect"
},
{
"at": 4800,
"label": "Analyze & report"
},
{
"at": 6000,
"label": "Resolved overview"
}
],
"kind": "industry"
},
{
"id": "finance-payment-reconciliation",
"group": "finance",
"groupTitle": "Finance",
"title": "Payment: authorization is not settlement",
"description": "Follow one payment from card authorization through clearing, settlement and an exception-ledger reconciliation.",
"useWhen": "Explain to product and finance teams why an approved payment can still be unsettled or unreconciled.",
"avoid": "Do not use to specify payment-network messages, double-entry postings, dispute rights or accounting policy.",
"assumptions": "Original conceptual flow; card, merchant and issuer roles are simplified. All timings and entry labels are illustrative; no monetary rates or compliance claims.",
"config": {
"duration": 6000,
"reference": "A"
},
"beats": [
{
"at": 0,
"label": "Authorize"
},
{
"at": 1000,
"label": "Capture"
},
{
"at": 2000,
"label": "Clear"
},
{
"at": 3000,
"label": "Settle"
},
{
"at": 4000,
"label": "Reconcile"
},
{
"at": 6000,
"label": "Complete"
}
],
"kind": "industry"
},
{
"id": "finance-insurance-evidence",
"group": "finance",
"groupTitle": "Finance",
"title": "Insurance: evidence before settlement",
"description": "A claim file combines photos, policy context and assessment; a missing item returns for review before payout.",
"useWhen": "Use for claims operations audiences discussing evidence completeness, traceability and review handoffs.",
"avoid": "Not a coverage determination, fraud score, legal timetable, automated approval policy or claim valuation model.",
"assumptions": "All time values are illustrative. The claim and damaged property are fictional; settlement presumes a separate valid coverage and terms decision.",
"config": {
"duration": 6000,
"missingItem": "Signature"
},
"beats": [
{
"at": 0,
"label": "Intake"
},
{
"at": 1000,
"label": "Assemble"
},
{
"at": 2000,
"label": "Review gap"
},
{
"at": 3000,
"label": "Resolve"
},
{
"at": 4000,
"label": "Settle"
},
{
"at": 6000,
"label": "Complete"
}
],
"kind": "industry"
},
{
"id": "telecom-congestion-reroute",
"group": "telecom",
"groupTitle": "Telecommunications",
"title": "Packet network: congestion and rerouting",
"description": "A saturated transit link queues traffic; an alternate path carries later packets to the same destination.",
"useWhen": "Explain topology resilience, queue pressure and alternate-path selection to a non-protocol-specific networking audience.",
"avoid": "Not a routing-protocol implementation, QoS SLA, traffic simulator or evidence that rerouting always preserves ordering.",
"assumptions": "Packets, queue slots and timings are illustrative. Alternate capacity and route availability are assumed; convergence, loss and retransmission are omitted.",
"config": {
"duration": 6000,
"queuePackets": 4
},
"beats": [
{
"at": 0,
"label": "Forward"
},
{
"at": 1000,
"label": "Queue"
},
{
"at": 2000,
"label": "Detect"
},
{
"at": 3000,
"label": "Reroute"
},
{
"at": 4000,
"label": "Deliver"
},
{
"at": 6000,
"label": "Complete"
}
],
"kind": "industry"
},
{
"id": "telecom-cell-handover",
"group": "telecom",
"groupTitle": "Telecommunications",
"title": "Cell handover: preserving a session",
"description": "A moving handset crosses coverage, prepares a target radio link and switches access while its session remains anchored.",
"useWhen": "Use to explain the distinction between radio access and persistent session identity during mobility.",
"avoid": "Not a 3GPP message flow, radio-planning calculation, coverage map or promise of zero interruption.",
"assumptions": "Coverage ellipses, travel distance and times are illustrative. Target admission and a shared session anchor are assumed; technology-specific procedures are intentionally omitted.",
"config": {
"duration": 6000,
"travelPx": 286
},
"beats": [
{
"at": 0,
"label": "Serve A"
},
{
"at": 1000,
"label": "Measure"
},
{
"at": 2000,
"label": "Prepare B"
},
{
"at": 3000,
"label": "Switch"
},
{
"at": 4000,
"label": "Release A"
},
{
"at": 6000,
"label": "Complete"
}
],
"kind": "industry"
},
{
"id": "agriculture-irrigation-zones",
"group": "agriculture",
"groupTitle": "Agriculture",
"title": "Irrigation: measure, open, soak, close",
"description": "A water header feeds three field zones in sequence; moisture indications rise and a wet zone stays bypassed.",
"useWhen": "Explain feedback-based irrigation zoning and why neighboring strips need not receive identical watering.",
"avoid": "Not irrigation design, sensor calibration, crop-specific moisture advice, water-rights guidance or pump sizing.",
"assumptions": "All phase times and moisture-gauge levels are illustrative without physical units. Soil response is compressed and no weather, runoff or hydraulic model is included.",
"config": {
"duration": 6000,
"wetZone": 1
},
"beats": [
{
"at": 0,
"label": "Read soil"
},
{
"at": 1000,
"label": "Open north"
},
{
"at": 2000,
"label": "Soak north"
},
{
"at": 3000,
"label": "Open south"
},
{
"at": 4000,
"label": "Close valves"
},
{
"at": 6000,
"label": "Complete"
}
],
"kind": "industry"
},
{
"id": "agriculture-harvest-grading",
"group": "agriculture",
"groupTitle": "Agriculture",
"title": "Harvest: grade, store and distribute",
"description": "A crop lot passes an inspection belt, splits into fresh and processing channels and reaches distinct storage routes.",
"useWhen": "Use with supply-chain audiences to explain grade-dependent destinations without losing harvest-lot traceability.",
"avoid": "Not a food-safety process, storage-temperature prescription, yield forecast or grading standard.",
"assumptions": "All timing and illustrated produce are conceptual. Two quality destinations are simplified; disposal, pathogen checks and detailed cold-chain controls are outside scope.",
"config": {
"duration": 6000,
"freshCount": 3
},
"beats": [
{
"at": 0,
"label": "Receive lot"
},
{
"at": 1000,
"label": "Inspect"
},
{
"at": 2000,
"label": "Separate"
},
{
"at": 3000,
"label": "Store"
},
{
"at": 4000,
"label": "Dispatch"
},
{
"at": 6000,
"label": "Complete"
}
],
"kind": "industry"
},
{
"id": "infrastructure-bridge-inspection",
"group": "infrastructure",
"groupTitle": "Infrastructure",
"title": "Bridge: load paths and inspection closure",
"description": "A conceptual bridge shows load transfer to supports, an inspection finding and a local lane closure for review.",
"useWhen": "Use only to introduce the relationship between visible bridge components, conceptual load transfer and controlled access during review.",
"avoid": "Never use as structural engineering analysis, load capacity, safety assurance, inspection checklist, repair selection or reopening authorization.",
"assumptions": "Original schematic, not a bridge design. Geometry, vehicle load, paths and timing are unscaled illustrations. A qualified professional must determine actual structural behavior and access decisions.",
"config": {
"duration": 6000,
"loadX": 385
},
"beats": [
{
"at": 0,
"label": "Apply load"
},
{
"at": 1000,
"label": "Trace path"
},
{
"at": 2000,
"label": "Inspect"
},
{
"at": 3000,
"label": "Close lane"
},
{
"at": 4000,
"label": "Review repair"
},
{
"at": 6000,
"label": "Complete"
}
],
"kind": "industry"
},
{
"id": "infrastructure-construction-resequence",
"group": "infrastructure",
"groupTitle": "Infrastructure",
"title": "Construction: dependency and resequencing",
"description": "A permit hold blocks a lift; off-site assembly advances without pretending to remove the critical dependency.",
"useWhen": "Help project teams distinguish work that can be resequenced from a critical prerequisite that cannot be bypassed.",
"avoid": "Not a computed critical-path schedule, construction-method statement, permit prediction, resource model or lift plan.",
"assumptions": "All axis values and timings are illustrative without calendar units. Fabrication is assumed independent and resources available; the permit gate remains unresolved rather than implying authorization.",
"config": {
"duration": 6000,
"advanceSlots": 1.5
},
"beats": [
{
"at": 0,
"label": "Baseline"
},
{
"at": 1000,
"label": "Permit hold"
},
{
"at": 2000,
"label": "Identify float"
},
{
"at": 3000,
"label": "Resequence"
},
{
"at": 4000,
"label": "Gate lift"
},
{
"at": 6000,
"label": "Complete"
}
],
"kind": "industry"
}
];
</script><script>/* Each mounted card owns one paused finite timeline and abortable listeners. */
(() => {
const ns='http://www.w3.org/2000/svg';
function node(tag,attrs={},text='') { const e=document.createElementNS(ns,tag); for(const [k,v] of Object.entries(attrs))e.setAttribute(k,v); e.textContent=text; return e; }
function mount(host,c) {
const abort=new AbortController(), signal=abort.signal, media=matchMedia('(prefers-reduced-motion: reduce)');
let destroyed=false;
host.innerHTML=`<h2></h2><p></p><svg viewBox="0 0 400 220" role="img"></svg><div class="controls"><button data-action="play">Play</button><button data-action="replay">Replay</button><button data-action="settle">Settle</button><label>Seek <input type="range" min="0" max="100" value="100" step="1"></label></div><output aria-live="polite">Complete</output>`;
host.querySelector('h2').textContent=c.title; host.querySelector('p').textContent=c.description;
const svg=host.querySelector('svg'); svg.setAttribute('aria-label',c.description);
const industry=c.kind==='industry';
host.classList.toggle('industry',industry);
if(industry)svg.setAttribute('viewBox','0 0 960 540');
const add=(tag,attrs={},text='',parent=svg)=>{const e=node(tag,attrs,text);parent.append(e);return e;};
const label=(x,y,text)=>add('text',{x,y,'text-anchor':'middle'},text);
let tl, recipeBeats;
const beat=(label,at)=>({label,at});
if(industry){
const renderer=window.industryRenderers?.[c.id];
if(typeof renderer!=='function')throw new Error('Missing industry renderer: '+c.id);
tl=renderer(svg,c.config,{anime,el:add});
}else tl=anime.createTimeline({autoplay:false,defaults:{ease:'linear'}});
if(c.id==='svg-draw'||c.id==='motion-path') {
add('path',{d:c.path,class:'guide'});
const path=add('path',{d:c.path,class:'trace'});
label(65,190,c.start); label(325,190,c.end);
if(c.id==='svg-draw')tl.add(anime.svg.createDrawable(path),{draw:['0 0','0 1'],duration:c.duration},0);
else {const marker=add('circle',{r:9,cx:0,cy:0,class:'packet'});tl.add(marker,{...anime.svg.createMotionPath(path),duration:c.duration},0);}
recipeBeats=(c.id==='svg-draw'?['Source','Reveal connection','Connected']:['Send','In transit','Receive']).map((name,i)=>beat(name,i*tl.duration/2));
} else if(c.id==='spatial-stagger') {
const cells=[];
for(let row=0;row<c.rows;row++)for(let col=0;col<c.columns;col++)cells.push(add('rect',{x:35+col*330/c.columns,y:30+row*160/c.rows,width:280/c.columns,height:125/c.rows,rx:5,class:'cell'}));
tl.add(cells,{opacity:[0.25,1],duration:c.duration,delay:anime.stagger(c.delay,{grid:[c.columns,c.rows],from:'center'})},0);
// Anime owns grid-distance rounding and stagger delays: use its actual end.
recipeBeats=[beat('Grid ready',0),beat('Center outward',tl.duration/2),beat('Activated',tl.duration)];
} else if(c.id==='dependency-flow') {
const a=add('path',{d:'M 85 100 L 180 100',class:'trace'}),b=add('path',{d:'M 220 100 L 315 100',class:'trace'});
[60,200,340].forEach((x,i)=>{add('circle',{cx:x,cy:100,r:25,class:'cell'});label(x,155,c.labels[i]);});
tl.label('input',0).add(anime.svg.createDrawable(a),{draw:['0 0','0 1'],duration:c.duration},'input').label('output',c.duration).add(anime.svg.createDrawable(b),{draw:['0 0','0 1'],duration:c.duration},'output');
recipeBeats=[beat('Input',0),beat('Check',tl.labels.output),beat('Output',tl.duration)];
} else if(c.id==='assemble-explode') {
const hold=400, returnAt=c.duration+hold;
c.labels.forEach((text,i)=>{
const part=add('g',{'data-part':i});
part.append(node('rect',{x:155+i*30,y:55+i*22,width:60,height:80,rx:6,class:'cell'}));
// Static labels stay outside the motion wrappers, including while assembled.
label(80+i*120,195,text);
const x=(i-1)*c.distance;
tl.add(part,{translateX:[0,x],duration:c.duration},0)
.add(part,{translateX:[x,x],duration:hold},c.duration)
.add(part,{translateX:[x,0],duration:c.duration},returnAt);
});
recipeBeats=[beat('Assembled',0),beat('Separate',c.duration),beat('Inspect hold',returnAt-hold/2),beat('Reassembled',tl.duration)];
}
if(!tl||!Number.isFinite(tl.duration)||tl.duration<=0)throw new Error('Invalid finite timeline: '+c.id);
const beats=document.createElement('div');beats.className='beats';beats.setAttribute('aria-label','Timeline beats');
// Legacy positions are computed on every mount, including edited runtime configs.
// Industry descriptors retain their explicit authored beat contract unchanged.
for(const beat of (industry?c.beats:recipeBeats)||[]){
if(!Number.isFinite(beat.at)||beat.at<0||beat.at>tl.duration)throw new Error('Beat outside timeline: '+c.id+' / '+beat.label);
const button=document.createElement('button');button.type='button';button.textContent=beat.label;button.dataset.beat=beat.at;
button.addEventListener('click',()=>seek(beat.at),{signal});beats.append(button);
}
host.append(beats);
const guidance=document.createElement('section');guidance.className='guidance';guidance.setAttribute('aria-label','Adaptation guidance');
for(const [key,title] of [['useWhen','Use when'],['avoid','Avoid'],['assumptions','Assumptions']]){
const heading=document.createElement('h3'),p=document.createElement('p');heading.textContent=title;p.textContent=c[key]||'';guidance.append(heading,p);
}
host.append(guidance);
const range=host.querySelector('input'),out=host.querySelector('output');
const sync=()=>{range.value=100*tl.currentTime/tl.duration;};
tl.onUpdate=sync;
tl.onComplete=()=>{sync();out.textContent='Complete';};
function settle(){if(destroyed)return;tl.pause();tl.seek(tl.duration);sync();out.textContent='Complete';}
function seek(ms){if(destroyed)return;if(media.matches)return settle();tl.pause();const n=Number(ms);tl.seek(Math.max(0,Math.min(tl.duration,Number.isFinite(n)?n:0)));sync();out.textContent='Paused';}
function play(restart=false){if(destroyed)return;if(media.matches)return settle();if(restart||tl.currentTime>=tl.duration)tl.seek(0);tl.play();out.textContent='Playing';}
host.querySelector('[data-action="play"]').addEventListener('click',()=>play(),{signal});
host.querySelector('[data-action="replay"]').addEventListener('click',()=>play(true),{signal});
host.querySelector('[data-action="settle"]').addEventListener('click',settle,{signal});
range.addEventListener('input',()=>seek(Number(range.value)*tl.duration/100),{signal});
media.addEventListener('change',settle,{signal});
window.addEventListener('beforeprint',settle,{signal});
document.addEventListener('visibilitychange',()=>{if(document.hidden)settle();},{signal});
window.addEventListener('pagehide',settle,{signal});
settle();
return {seek,settle,play:()=>play(),replay:()=>play(true),state:()=>({duration:tl.duration,time:tl.currentTime,paused:tl.paused,destroyed}),destroy(){if(destroyed)return;settle();abort.abort();tl.revert();destroyed=true;host.replaceChildren();}};
}
const main=document.querySelector('main'), selected=document.body.dataset.example;
if(selected !== undefined) {
const config=window.animeExamples.find(c=>c.id===selected);
if(!config)throw new Error('Unknown example ID: '+selected);
if(window.self!==window.top)document.body.classList.add('embedded');
const host=document.createElement('article');host.id=config.id;main.append(host);
window.animeGallery={controllers:{[config.id]:mount(host,config)},mount};
} else {
const group=document.body.dataset.gallery;
const groups=[...new Set(window.animeExamples.map(c=>c.group))];
if(group!=='all'&&!groups.includes(group))throw new Error('Unknown gallery: '+group);
if(group==='all'){
const nav=document.createElement('nav');nav.className='registry-nav';nav.setAttribute('aria-label','Choose a registry');
for(const name of groups){const link=document.createElement('a');link.href=name+'/index.html';link.textContent=window.animeExamples.find(c=>c.group===name).groupTitle;nav.append(link);}
main.append(nav);
}
for(const name of groups) {
if(group!=='all'&&group!==name)continue;
const section=document.createElement('section'), heading=document.createElement('h2'), link=document.createElement('a');
section.dataset.registry=name;link.href=group==='all'?name+'/index.html':'index.html';link.textContent=window.animeExamples.find(c=>c.group===name).groupTitle;heading.append(link);section.append(heading);
const grid=document.createElement('div');grid.className='preview-grid';section.append(grid);
for(const config of window.animeExamples.filter(c=>c.group===name)) {
const card=document.createElement('article'),frame=document.createElement('iframe'),open=document.createElement('a');
const href=(group==='all'?'':'../')+'examples/'+config.id+'.html';
frame.src=href;frame.title=config.title;frame.dataset.example=config.id;
open.href=href;open.textContent='Open example: '+config.title;open.className='open-example';
card.append(frame,open);grid.append(card);
}
main.append(section);
}
}
})();
</script></body></html>