# Gf3 Constrained Animation

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

- Skill: `plurigrid/gf3-constrained-animation-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add plurigrid/gf3-constrained-animation-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/plurigrid/gf3-constrained-animation-2/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-2

---


# 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

