mirror of
https://github.com/saymrwulf/crisis.git
synced 2026-05-14 20:37:54 +00:00
Keynote-style presentation of the Crisis consensus protocol — 36 scenes across 10 chapters, single-TimelineView Canvas rendering at 60fps with Liquid Glass chrome. Driven by the simulation JSON dump. The signature feature is the click-to-inspect overlay on Ch02: tapping a vertex opens a recursive hash-unwrapping animation that reveals the selected message's payload, then its parent hashes, then their pre-images (parent messages with their own payloads + grandparent hashes), staggered through to genesis. Makes the abstract idea of "what does a vertex know?" visceral. Includes a time-scrubbing testbed harness (`swift run CrisisViz --testbed`) that captures 180 scene PNGs + 18 inspector reveal PNGs at successive time offsets, with a MANIFEST quality checklist for human-eye verification. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
14 lines
313 B
Swift
14 lines
313 B
Swift
// swift-tools-version: 6.2
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "CrisisViz",
|
|
platforms: [.macOS(.v26)],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "CrisisViz",
|
|
path: "Sources/CrisisViz",
|
|
resources: [.copy("crisis_data.json")]
|
|
)
|
|
]
|
|
)
|