# Gf3 Constrained Animation

> A skill for creating minimal, GF(3)-constrained animations optimized for Slack emoji GIFs

- Skill: `plurigrid/gf3-constrained-animation` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add plurigrid/gf3-constrained-animation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/plurigrid/gf3-constrained-animation/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: plurigrid (https://skillmd.com/u/plurigrid)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/plurigrid/gf3-constrained-animation

---


# gf3-constrained-animation

A skill for creating minimal, GF(3)-constrained animations optimized for Slack emoji GIFs

## Capabilities

- Generate ternary-state animations (3 colors, 3 frames) with GF(3) conservation
- Enforce Slack emoji GIF constraints (size, color depth, frame count)
- Apply GF(3) arithmetic to animation transitions (e.g., state sums modulo 3)
- Integrate with Zig for low-level GF(3) operations and performance
- Validate animations using ordered locale principles (e.g., trifurcate decisions)

## Implementation

["Use Zig for core GF(3) arithmetic (e.g., modular addition/multiplication) and bit-packing of ternary states." "Leverage Slack GIF Creator primitives (e.g., `kaleidoscope`, `shake`) with strict constraints: 3 colors, 3 frames, and 64KB max size." "Apply ordered locale patterns to ensure animations adhere to GF(3) conservation (e.g., sum of color states modulo 3 remains constant)." "Implement a validation pipeline: 1) Check GF(3) conservation in state transitions, 2) Enforce Slack constraints via `check_slack_size`, 3) Optimize with `optimize_for_emoji`." "Example workflow: 1) Define 3-keyframe animation (idle, action, reset) in GF(3) states, 2) Use Zig to compute transitions, 3) Render with Slack GIF Creator, 4) Validate with ordered locale checks."]

## Parents

- zig-programming
- alife
- slack-gif-creator
- ordered-locale


## SDF Interleaving

This skill connects to **Software Design for Flexibility** (Hanson & Sussman, 2021):

### Primary Chapter: 3. Variations on an Arithmetic Theme

**Concepts**: generic arithmetic, coercion, symbolic, numeric

### GF(3) Balanced Triad

```
gf3-constrained-animation (○) + SDF.Ch3 (○) + [balancer] (○) = 0
```

**Skill Trit**: 0 (ERGODIC - coordination)

### Secondary Chapters

- Ch4: Pattern Matching
- Ch7: Propagators

### Connection Pattern

Generic arithmetic crosses type boundaries. This skill handles heterogeneous data.


## Para(Optic) atlas

Part of: `para-mensch-commons`.

