Skip to content

Vestra 0.1.4

Choose a tag to compare

@evgen2571 evgen2571 released this 04 Nov 17:24
· 77 commits to main since this release
d179b6b

This release makes Python projects easier to put together, improves CPU rendering and video seeking, and gives the CLI clearer output.

Less setup for shapes and text

You can now start with Rectangle(), Ellipse(), Circle(), or Line() and get a visible shape without filling in every option. Closed shapes default to white; specifying only a stroke gives you an outline. Color() defaults to black.

Text("Hello") now works without a font path. Vestra includes a default font, and you can also select an installed font family or keep using an explicit font file. The new list_system_fonts() helper shows the available families. A missing family raises an error instead of silently choosing another font.

Reuse sources and groups

Visual sources accept position, anchor, scale, and rotation defaults directly in their constructors. Set them once, then override individual values when adding the source to a composition. Each placement gets its own transform state, so changing one placement does not change the others.

Standalone Group sources can now be placed in compositions as reusable content. Build a group of shapes, text, images, or videos, then add it wherever you need it. Groups can nest, and their children support timing, transforms, opacity, effects, masks, and blend modes.

Rendering and CLI improvements

CPU rendering avoids interpolation when pixels already line up exactly and uses direct row copies for eligible opaque content.

Video decoding can seek ahead for distant frame requests rather than decoding every intervening frame. Nearby requests keep the sequential path, with a fallback if seeking is rejected.

validate, inspect, and render print shorter, clearer summaries. Diagnostics include a code, the location in the project, and a hint when available. Scripts should continue to use --format json.

For contributors

The CPU and WGPU renderers now live in separate crates behind the existing renderer interface. Effect declarations, Python handles, schema entries, and parameter documentation are generated from shared metadata, reducing the number of places that need updating when adding an effect.

This release also adds portable benchmark collection and reports, a documented MoviePy comparison, and updated authoring and development guides.

The canonical project schema remains at version 1. Installed font families depend on the host machine; use an explicit font file when sharing a project that needs a particular font.