Skip to content

Releases: 2233admin/motion.md

motion.md v0.1.0 — Initial Draft / 初始草案

Choose a tag to compare

@2233admin 2233admin released this 20 Jul 00:29

motion.md v0.1.0 — Initial Draft / 初始草案

v0.1.0 establishes the first public draft of motion.md: an open, runtime-neutral specification for communicating motion graphics and frontend animation intent, timing, and behavior to humans and coding agents.

v0.1.0motion.md 的首个公开草案:一个面向人类与编程 Agent、且不绑定任何动画运行时的开放运动图形与前端动画规范。

Included / 本次包含

  • The MOTION.md document contract and JSON Schema Draft 2020-12.

  • Runtime-neutral Motion IR with stable normalization.

  • Dependency-free lint, parse, diff, and spec CLI commands.

  • State, event, transition, timeline, curve, interruption, cancellation, and provenance semantics.

  • Performance budgets, deterministic playback, and semantic reduced-motion substitutions.

  • Minimal, expressive, procedural, and reduced-motion reference documents.

  • Valid and invalid conformance fixtures with 17 automated tests.

  • MOTION.md 文档契约与 JSON Schema Draft 2020-12。

  • 运行时无关、可稳定归一化的 Motion IR。

  • 零运行时依赖的 lintparsediffspec CLI。

  • 状态、事件、转换、时间线、曲线、中断、取消与来源语义。

  • 性能预算、确定性播放和语义化 Reduced Motion 替代方案。

  • 最小、表现型、程序化、Reduced Motion 四类参考文档。

  • 有效/无效一致性夹具与 17 项自动化测试。

Status / 状态

This is a pre-release draft. The format is ready for evaluation and integration experiments, but may change incompatibly before v1.0.

这是一个 Pre-release 草案。当前版本可用于评估与集成实验,但在 v1.0 之前仍可能发生不兼容调整。

The reference parser implements the portable YAML subset documented in the specification. Full YAML 1.2 support may be provided by compatible third-party parsers.

参考解析器实现了规范中声明的可移植 YAML 子集。兼容的第三方解析器可以提供完整 YAML 1.2 支持。

Validation / 验证

  • 17 automated tests passed.

  • Four reference documents produced zero lint findings.

  • Five documents passed independent JSON Schema Draft 2020-12 validation.

  • 17 项自动化测试全部通过。

  • 四类参考文档均为零 lint 发现。

  • 五份文档通过独立 JSON Schema Draft 2020-12 验证。