# Knot Forcing Animation

> Enable real-time portrait animation via causal AR video generation with temporal coherence. Sliding window with global reference frame caching, temporal knot module overlapping adjacent chunks, global context running ahead—preventing error accumulation while maintaining streaming efficiency and bidirectional-quality consistency.

- Skill: `adu2021/knot-forcing-animation` (Agent Skill)
- Install (CLI): `npx skillmds@latest add adu2021/knot-forcing-animation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/adu2021/knot-forcing-animation/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: adu2021 (https://skillmd.com/u/adu2021)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/adu2021/knot-forcing-animation

---


## Overview

Achieves real-time video animation quality through streaming-friendly architecture.

## Core Technique

**Temporal Knot Module:**

```python
# Overlap adjacent generation chunks
for chunk in chunks:
    # Denoise current chunk + first k frames of next
    output = model.denoise(chunk, next_chunk[:k])

# Creates anchor points binding chunks together
```

**Global Context Ahead:**
Reference frame acts as moving target.

## When to Use

Use when: Real-time animation, streaming video, interactive applications.

## References

- Sliding window with global context
- Temporal knot overlapping
- Error accumulation prevention

