PetalStat is a Rust port of CPU Bloom by David Carr: a live system monitor that draws your CPU as a glowing flower. Windows first; macOS and Linux later.
| Bloom | Ridge | Lotus | Plumeria | |
|---|---|---|---|---|
| Standard build | ![]() |
![]() |
![]() |
![]() |
| With HWiNFO | ![]() |
![]() |
![]() |
![]() |
Top row: the standard build, no extra hardware access. Bottom row: the petalstat-sensors build with HWiNFO's shared memory on, which adds CPU temperature and fan speeds.
Windows 11 only for now. The release zip is not code-signed, so Windows SmartScreen shows "Run anyway" and Smart App Control may block it; build from source if you prefer.
One petal per logical CPU thread (hyper-threading siblings sit side by side), with the load, RAM, GPU and CPU temperature drawn live. Four themes, Bloom and Ridge ported from the original, Lotus and Plumeria new for this project:
| Theme | What it is |
|---|---|
| Bloom | Petals, a 45 s history ring, RAM and GPU arcs around a core orb coloured by temperature, and drifting particles that leave trails. |
| Ridge | A 3D landscape, one mountain ridge per thread. The front edge is live and scrolls back into the fog as history; a translucent sea rises with RAM. |
| Lotus | The same idea with a pink lotus: a closed bud that opens, turns to face you and fills out as load rises. Rendered in Blender from a procedural model made for this project. |
| Plumeria | A white frangipani with a yellow throat: a twisted closed bud that unwinds into a flat five-petal pinwheel as load rises. Rendered in Blender from a procedural model made for this project. |
Lotus and Plumeria play frames rendered for this project (see "Frames" below).
cargo run --release # the window
cargo run --release -- --theme=ridge # start in a theme (bloom, ridge, lotus, plumeria)
cargo run --release -- --overlay # a small borderless always-on-top flower
cargo run --release -- --start-minimized # start in the tray
cargo run --release -- --list-themes
The exe is a windowed program: no console window opens beside it. Started from a terminal it prints there
(--list-themes, error messages); PowerShell does not wait for windowed programs, so its prompt may come back first.
Developed and tested on Windows 11 only. The info panel shows what the original shows on Windows, plus the GPU temperature, which comes from the display driver as in Task Manager (any PC, nothing to install, no admin rights). Like the original, it reads no CPU temperature or fans.
Top: the standard build. Bottom: the sensors build while HWiNFO runs, with the CPU line and the fans line.
Builds:
cargo build --releaseis the standard build above (petalstat.exein the release zip).cargo build --release --features sensorsadds a CPU line (mean load and CPU temperature) and a fans line, read from HWiNFO while it runs with "Shared Memory Support" on (without it the lines leave the readings out). Any CPU, no admin rights. The release zip has it aspetalstat-sensors.exe.cargo build --release --features pawnioadds that, plus PawnIO as a way to read the CPU temperature and fans without HWiNFO. Treat it as a starting point for your own hardware: what it reads depends on your CPU and motherboard, and you may need to add support for yours (src/platform/windows/pawnio.rsfor the CPU,src/platform/windows/superio.rsfor the fan chip). It needs PawnIO installed, PetalStat run as administrator, and the signed module files the code loads, from PawnIO.Modules, indata\pawnio\(not shipped with PetalStat; LGPL-2.1). HWiNFO stays the fallback.
H HUD, P or Space pause, N next theme, A always on top, S screenshot, T trails (Bloom), Esc closes
(an open menu first). The overlay ignores every key except N and Esc, so a stray key cannot change anything.
Overlay: drag to move, scroll to resize.
A Menu button (top right) lists themes and has a Preferences page (Start with Windows, Always on top), Minimize to
tray and Quit; a grip in the bottom right corner resizes the window. The tray icon has the same actions and brings the
window back with a click. Its Show Overlay swaps the window for the overlay, as the original's tray does: the window
waits in the tray, and bringing it back closes that overlay. One overlay runs at a time. Minimising sends the window to
the tray. Starting a second copy shows the first instead of
opening another. Screenshots are saved as Pictures\PetalStat\petalstat-YYYYMMDD-HHMMSS.png.
settings.properties (theme, always on top, same keys as the original), window.properties (window size) and
overlay.properties (overlay position and size). The program also adds a PetalStat value to
HKCU\Software\Microsoft\Windows\CurrentVersion\Run, but only when you switch on "Start with Windows".
On its first start PetalStat copies those three files once from %APPDATA%\CPU Bloom\ (the folder used before the
rename, and also the original's), if they are there. That folder is left as it is, and so is any CPU Bloom value
under Run, which may belong to the original.
The Lotus frames are data\lotus\{dim,bright}\lotus_NNN.jpg (241 per light level, 1920x1080). They are looked for in
CPU_BLOOM_DATA, next to the exe, in the folders above the exe (a development build), and in the working directory.
Without them those themes say so and Bloom and Ridge work as usual. The frames are committed in this repository (data/lotus, data/plumeria).
cargo build --release
cargo test # CPU only, no window, no real GPU (the software adapter is used)
cargo clippy --all-targets -- -D warnings
The release zip comes from scripts\release.ps1 (run it with
powershell -NoProfile -ExecutionPolicy Bypass -File scripts\release.ps1). It refuses uncommitted changes, runs the
checks above for both builds, checks that THIRD-PARTY-NOTICES.txt is current, builds petalstat.exe and
petalstat-sensors.exe in target\dist, and writes dist\petalstat-<version>-windows-x64.zip (the exes, a short
README.txt, the licences, the Rust standard library's notices and SHA256SUMS.txt) with its checksum beside it.
-BasicOnly leaves out the sensors exe. The Lotus and Plumeria frames (data/lotus, data/plumeria) always ship in the zip. The pawnio build is never shipped. Nothing is signed or uploaded.
Non-test code never panics (unwrap, expect and panic! are denied by lint); a missing sensor is NaN/"n/a",
never zero. The only unsafe code is in src/platform/windows/, each block with a // SAFETY: comment.
Test hooks (environment variables), for looking at the result without touching the desktop:
| Variable | Effect |
|---|---|
CPU_BLOOM_FAKE_LOAD |
0.5, or 0:0,2:1,8:1,10:0 (seconds:value points), replaces the CPU load. |
CPU_BLOOM_FAKE_TEMP |
The same for CPU temperature. |
CPU_BLOOM_SNAPSHOT=<png> |
Draw headlessly for 8 s, save a PNG, print fps, quit. |
CPU_BLOOM_SNAPSHOT_SIZE=3840x2160, CPU_BLOOM_SNAPSHOT_SECONDS=<s> |
Size and duration of the snapshot. |
CPU_BLOOM_RECORD=<dir> |
A JPEG every 100 ms for 15 s. |
CPU_BLOOM_EXIT_AFTER=<s> |
Close the window after that many seconds. |
CPU_BLOOM_AUTO_SCREENSHOT=<s>, CPU_BLOOM_PICTURES=<dir> |
Take one screenshot after that long; where screenshots go. |
CPU_BLOOM_MEMLOG=<file> |
Append the program's memory use and open handle count to the file once a minute. |
CPU_BLOOM_GPU_REPORT=1 |
On exit, print what the GPU memory allocator holds (blocks, allocations by name). |
CPU_BLOOM_GPU_TIMING=1 |
On exit, print the average GPU time of each render pass (needs timestamp queries on the adapter). |
CPU_BLOOM_MSAA=1|2|4 |
Edge smoothing samples (default 4, as the original); fewer use less GPU memory. |
CPU_BLOOM_BACKEND=vulkan|dx12|gl|all |
Force one graphics backend (default: Vulkan first, then the others). |
The design, themes and artwork come from CPU Bloom, Copyright (c) 2026 David Carr, MIT licence. This port keeps that
notice (LICENSE, NOTICE). The port's own code is also MIT. The user interface font is Ubuntu Sans under the
Ubuntu Font Licence 1.0 (assets/fonts/). The program icon is drawn by this project's own code (src/icon.rs).
The libraries used (wgpu, winit, glyphon, sysinfo, image, the windows crate, tray-icon, winresource and their
dependencies) are under permissive licences: MIT, Apache-2.0, Zlib, ISC, or a choice that includes one of those
(audited 2026-11-11; no GPL, LGPL or AGPL code). self_cell offers Apache-2.0 or GPL-2.0 and is used under Apache-2.0.
THIRD-PARTY-NOTICES.txt holds the copyright and licence texts of every library in the Windows exe, the font and the
Rust standard library; scripts/third-party-notices.ps1 regenerates it when the dependencies change.
The name "CPU Bloom" belongs to the original project; this port is called PetalStat.








