Skip to content

Gallery and stress apps 0.5.1

Latest

Choose a tag to compare

@trondegil trondegil released this 12 Nov 10:32

The example apps for SlintPlot 0.5.1, built with the new library:

  • slintplot-gallery: a sample browser with every chart type, a theme picker, dark mode, and buttons to randomize, add and remove data. New: the segmented ring and tile grid samples with four charts show one at a time, picked above the chart, on phones and in small windows, where four were too small to read; the code button shows the code of the chart shown. Clicking a chart shows what was clicked. The code button opens each sample as a small app that runs as it is. slintplot-gallery --snapshot <dir> renders every sample to PNG.
  • slintplot-stress: streams up to 8 datasets at 10 to 100,000 samples a second into a window of 1,000 to 10,000,000 values or everything received, with zoom and live frame times. slintplot-stress --bench prints headless timings with the software renderer, and --bench-gpu times the same charts with Skia on the GPU.

Both apps draw with Slint's FemtoVG renderer by default; start them with SLINT_BACKEND=winit-software for the software renderer. Built with --features skia, they also run with SLINT_BACKEND=winit-skia. See Choosing a renderer.

What's new in the library: see the 0.5.1 release. Stacked bars with a bar-radius are rounded at the ends of each stack only, the legend's swatches have the chart's own fill-opacity, and integer-ticks keeps the value axis in whole numbers for counted values.

Download

Ready-built apps for macOS (Apple silicon and Intel), Windows and Linux are attached below. Each archive holds both apps, SlintPlot's licenses, Slint's license (LICENSE-SLINT.md) and the licenses of the open-source crates they are built from (THIRD-PARTY-LICENSES.html). They include the FemtoVG and software renderers, not Skia.

  • macOS: the apps aren't signed. After unpacking, run xattr -d com.apple.quarantine slintplot-gallery slintplot-stress in the folder, or right-click the app and choose Open.
  • Linux: needs fontconfig and xkbcommon, which most desktops already have.

Install with Cargo

cargo install slintplot-gallery
cargo install slintplot-stress
cargo install slintplot-gallery --features skia   # with Slint's Skia renderer

License

SlintPlot is free to try: download it, experiment and build prototypes, at home or at work. It is available under the GPLv3, the PolyForm Noncommercial License 1.0.0, or a commercial license for closed-source products: see Pricing.

Made with Slint