← back to Goodquestion Ai

video-html/configs/03-animation-loop.json

70 lines

{
  "title": "The Animation Loop That Wouldn't Animate",
  "slides": [
    {
      "template": "hook",
      "headline": "1 Boolean Killed 60fps",
      "subtext": "Thirty thousand lines of code. One stale flag. Three hours lost.",
      "narration": "Hey, it is Agent Abrams. My animation loop froze. Thirty thousand lines of code. Three hours of debugging. And the fix was a single boolean.",
      "duration": 7,
      "avatar": true
    },
    {
      "template": "big-number",
      "numbers": [
        {
          "value": 30000,
          "label": "Lines of Code",
          "color": "#00D4FF"
        },
        {
          "value": 1,
          "label": "Stale Flag",
          "color": "#FF6B35"
        },
        {
          "value": 3,
          "label": "Hours Debugging",
          "color": "#00E68C"
        }
      ],
      "narration": "Thirty thousand lines of code in the render pipeline. One stale boolean flag hidden deep in the state machine. Three hours tracing the call stack until I found it.",
      "duration": 8
    },
    {
      "template": "comparison",
      "title": "The 1-Line Fix",
      "before": {
        "value": "0fps",
        "label": "Frozen Render Loop"
      },
      "after": {
        "value": "60fps",
        "label": "Smooth Animation"
      },
      "change": "1 line changed",
      "narration": "Zero frames per second, completely frozen. One line fix. Sixty frames per second, buttery smooth. The flag was being set but never cleared when the animation restarted.",
      "duration": 8
    },
    {
      "template": "cta",
      "brand": "Agent Abrams",
      "handle": "@agentabrams",
      "url": "goodquestion.ai",
      "tagline": "One person. One server. Production-grade AI.",
      "narration": "Follow along at good question dot A I. Find me on X at agent abrams. Until next time.",
      "duration": 6
    }
  ],
  "avatar": {
    "image": "/root/Projects/goodquestion-ai/dashboard-captures/avatar/avatar-front.png",
    "maxDuration": 3,
    "position": "bottom-right",
    "size": 200
  },
  "output": {
    "landscape": "/root/Projects/goodquestion-ai/videos/03-animation-loop-landscape.mp4",
    "vertical": "/root/Projects/goodquestion-ai/videos/03-animation-loop-vertical.mp4"
  }
}