Repository navigation
Valle v0.1.2
Valle 0.1.2: renders are faster, and Motion scenes can use much more of SVG and CSS text.
Update
valle update
The browser engine is @openvalle/engine@0.1.2 on npm. The skill is the same as for 0.1.0.
Faster
- Renders are faster, most of all for scenes with many shapes, paths or repeated boxes.
A scene's code runs once to find what its frames hold; that run, and each frame after it,
now does much less work, and repeated boxes and SVG shapes are drawn as one. checkproves what it can: a stretch of frames whose values it can bound is checked
once instead of frame by frame.- Fonts and files whose URL names their content, such as jsDelivr's
…@<commit>/…, are
used from the cache without asking the server again, so a scene no longer waits on the
network each time it loads.
New
--perfadds aperfobject to any command's result: each stage's time and memory, and
for a render the GPU memory it holds, its passes and layers, and how many times the scene
was traced. Seevalle docs cli.- SVG text:
text,tspanandtextPath, withstartOffset,textLength, alignment,
decorations, bidirectional and vertical text. - SVG filters: every
fe*primitive, including lighting, turbulence, convolution, tiles
and images, with named results andfilter: url(#…). - More of SVG: patterns, nested viewports, CSS transforms, filters and blending on SVG
elements,vector-effect: non-scaling-stroke, clipping with text anduse, stylesheets
inside SVG files, external images and fragments, and font-relative and absolute units. - Text layout: vertical writing modes, bidirectional text,
text-combine-upright,
emphasis marks, underline positions, paragraph alignment and wrapping controls, and boxes
laid out inside a line of text. - Fonts: the
fontshorthand, size keywords,font-size-adjust,exunits, control of
synthetic bold and italic, petite and unicase capitals, and synthesized sub- and
superscripts. - CSS values:
inherit,initialandunseton every property,currentColorinside
color-mix(), absolute units such ascmandpt, clip paths and motion paths that follow
their box, and SVG files as background images.
Fixed
- A bare number in a Tailwind class stopped the command:
border-[3],rotate-[45]or
text-[1.5]ended with an internal error. They now say what they need, such as
border-width: 3 needs a unit: 3px. - GPU memory grew with every frame when a layer was drawn that nothing read.
- A backdrop filter inside a translucent group lost its boundary, and a hidden box still
painted its backdrop filter. - Sizing: a percentage height inside an absolutely positioned box that sizes to its
content, and a flex item's intrinsic width under amax-width, came out wrong. background-repeat: roundplaced its tiles before resizing them.- Glyph edges differed by a few pixels between Metal and the bundled CPU renderer.
Also
- Blurs from 3 px up now go through a smaller copy, which was 6 px. The pixels change by
at most a few levels, at a fraction of the cost. docs/css.mdlists every supported property, its values and the tests that show it works.- Over 1,000 new layout, text and compositing cases, each checked against Chrome, Firefox and
WebKit.
Download
| Platform | File |
|---|---|
| macOS, Apple silicon | valle-v0.1.2-macos-arm64.tar.gz |
| macOS, Intel | valle-v0.1.2-macos-x86_64.tar.gz |
| Linux x86_64, glibc 2.28+ | valle-v0.1.2-linux-x86_64.tar.gz |
| Linux arm64, glibc 2.28+ | valle-v0.1.2-linux-arm64.tar.gz |
| Windows x86_64 | valle-v0.1.2-windows-x86_64.zip |
| Windows arm64 | valle-v0.1.2-windows-arm64.zip |
The macOS executables are signed and notarized. Check a download against SHA256SUMS.
Dinner tonight: biangbiang noodles with chili oil.