ProEssentials v10 WinForms .NET 8 — a realtime heatmap/spectrogram that
replaces the entire 93,696-value surface every 25ms using a tiled data pool +
Array.Copy + zero-copy UseDataAtLocation, GPU ComputeShader. Direct3D.
- 93,696 Z values (183 subsets × 512 points) refreshed every 25ms.
- Zero-copy realtime —
UseDataAtLocationpoints at a fixed buffer once; each tickArray.Copys a horizontally-shifted slice in, no reallocation. - GPU ComputeShader contour rendering;
ReuseDataX/Yskip re-transferring axes. - Log Y axis, BlueCyanGreenYellowBrownWhite color scale, FPS readout in the title.
- Code-built UI — single chart in
MainForm.cs; no.Designer.cs/.resx.
The tiled-pool data logic, the per-row shift, and the entire chart configuration
are identical to the WPF version. Host changes: DispatcherTimer →
System.Windows.Forms.Timer (Interval = 25); the FPS Title → this.Text;
WinForms MessageBox/Application.Exit(); timer stopped in Form.FormClosing.
➡️ WPF version: wpf-heatmap-realtime-spectrogram-computeshader-proessentials
heatmap.txt (~2.4 MB, 93,696 tab-delimited X/Y/Z lines) is included and copies
next to the executable on build.
- Clone (data included), open
RealtimeHeatmap.slnin Visual Studio 2022 - Build → Rebuild Solution; press F5. The spectrogram animates immediately.
References ProEssentials.Chart.Net80.x64.Winforms (>= 10.0.0.28).
Example code is MIT licensed. ProEssentials requires a commercial license for continued use.
