This Month in Xilem, August 2024

Daniel McNab, September 11, 2024

Linebender is an informal open-source organization working on various projects to advance the state of the art in GUI for the Rust programming language.

Linebender logo; smoothly stroked overlapping lowercase letters, an l and a b.

Linebender has a new logo, which was contributed by Markus Siglreithmaier. We're seeking feedback on Zulip in #linebender>logo.

Xilem

Xilem is our flagship GUI project, inspired by SwiftUI.

Xilem Web is a community managed experimental DOM implementation of the Xilem pattern. This month, the updates include:

A timer with the value '0:00:26.4' (26.4 seconds) above two buttons, reset and start. Below these are 5 laps, labelled 'lap 5' to 'lap 1', each with a lap time of approximately 5 seconds and a corresponding elapsed time. This is all contained in an OS window titled 'Stopwatch'.

Jared O'Connell additionally contributed a stopwatch example in xilem#492.

Masonry

Masonry is the widget system used by Xilem. This month has been dominated by Olivier's implementation of pass specification (rfcs#7):

We also had some great community contributions, such as:

A horizontal progress bar which is 70% filled with blue, with white text overlaid saying 70%. Below this is a checkbox labelled 'set indetermine progress', and a button labelled 'change progress'.

The progress bar widget was contributed by Richard Dodd in xilem#513.

We continue to make progress on other key features.

The Xilem to_do_mvc example running with TalkBack integration. Video provided by Matt Campbell.

Vello

Vello is our GPU vector renderer. We have made some really great progress in August.

A vertically split image. On the left are three blurred shapes: a blue rectangle with rounded corners, and two black ellipses. The ellipses are partially occluded by the boundaries of the image. On the right is a web page, showing three blog post titles and summaries, each in a box with a black box shadow.

Vello now supports blurred rounded rectangles, based on the maths from Raph's blog. Left: Vello's blurred rounded rectangles test scene. Right: Blitz's servo example which renders box shadows using this feature.

Parley

Parley is a text layout library.

Others