Skip to content

v0.21.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 12:56
· 86 commits to main since this release
4349716

Changed

  • Frames are drawn on the CPU (tiny-skia) by default, in oxframe render
    and in the preview of oxframe dev and oxframe present. The CPU is
    faster than the GPU on every scene of the benchmark, and it is the
    byte-for-byte deterministic renderer. --gpu opts into vello. --cpu is
    still accepted and wins over --gpu, so existing commands keep working.
    Before → after: oxframe render drew on the GPU and now draws on the
    CPU; oxframe render --gpu draws on the GPU as the default used to.

Added

  • oxframe check writes a crop for each issue on a node:
    out/check/issues/<n>-<rule>.png, the part of the frame around the node
    at full resolution with the node outlined in red (up to 24 per check). In
    report.json such an issue has bounds, the node's rect at the start of
    the issue in scene units (as in inspect), and crop, the path relative
    to out/check/. A node wholly outside the frame gets the strip along the
    edge it is past.
  • Math::new("e^(i pi) + 1 = 0"): formulas set by Typst, behind the new
    math feature (crate oxframe-math). .size(px) is the font size, as
    for Txt; .display() sets the formula on its own line (limits above and
    below, full-size fractions); .color(..) and the color() signal paint
    every glyph; paths() are the glyphs and rules in reading order, for
    stagger. The font (New Computer Modern Math) is bundled, so no TeX is
    needed. The feature adds the Typst compiler and a 1.4 MB font, so the
    browser playground does not have it; the formulas example runs with
    cargo run -p oxframe-examples --features math --bin formulas -- preview.
  • docs.rs now documents the icons, 3d, math and unstable-node-api
    features.
  • CODE_OF_CONDUCT.md, SECURITY.md and CONTRIBUTING.md; plugins for Cursor
    and Codex with the same skills and oxframe mcp as the Claude Code one;
    a README quickstart from install to the first render.

Faster

  • The CPU renderer keeps a layer's blurred drop shadow across frames while
    the layer does not change, instead of blurring it again on every frame. A
    fading or blurred group keeps its cached pixels too. Output is unchanged.