Skip to content

Gallery and stress apps 0.5.0

Choose a tag to compare

@trondegil trondegil released this 04 Nov 16:37
· 9 commits to main since this release

The example apps for SlintPlot 0.5.0, 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. Line charts with and without points, pie charts with and without data labels, and radar charts with lines and filled are now one entry each, with a tab per variant. The legend of round and square charts stays next to the chart in a tall or wide window, and the focus ring shows only after keyboard use. 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; new, --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.0 release. The website has a new benchmarks page, and Performance shows how many points or items each chart can show at 60 fps, 30 fps and within a second.

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