#canvas-2d #charts #web-gpu #wasm #graphics

leptos-helios

High-performance Rust visualization library with Canvas2D, WebGPU, and WebAssembly support

14 releases (7 breaking)

0.8.1 Sep 22, 2025
0.7.0 Sep 9, 2025

#5 in #canvas-2d

Download history 72/week @ 2025-08-31 719/week @ 2025-09-07 57/week @ 2025-09-14 221/week @ 2025-09-21 42/week @ 2025-09-28 16/week @ 2025-10-05 13/week @ 2025-10-12 20/week @ 2025-10-19 7/week @ 2025-10-26

56 downloads per month
Used in 4 crates

MIT license

2MB
50K SLoC

Helios Core - High-performance visualization engine

This crate provides the core visualization engine for Helios, including:

  • Canvas2D Rendering: Universal browser support with TDD implementation
  • WebGPU Acceleration: High-performance GPU rendering (816+ MB/s throughput)
  • WebAssembly Integration: Rust-powered data processing and function export
  • Data Processing Pipeline: Polars integration with efficient data handling
  • Chart Specification System: Compile-time validation and type safety
  • Performance Optimization: Sub-millisecond rendering and adaptive quality
  • Test-Driven Development: Complete TDD methodology with 100% test coverage

Demo Suite

Experience Helios in action with our comprehensive demo suite:

python3 demo-server.py
# Open http://localhost:8080 in your browser

Available Demos

  • Canvas2D TDD Demo (/) - Test-Driven Development methodology
  • WebGPU Demo (/webgpu) - GPU acceleration testing
  • WebGPU Charts Demo (/webgpu-charts) - Visual GPU-rendered charts
  • WASM Example (/example) - Rust-WebAssembly integration

Performance Highlights

  • Canvas2D: 100K points in <3ms render time
  • WebGPU: 816+ MB/s throughput, 1M points in 77ms
  • WASM: <1ms function execution
  • Interactive: Sub-millisecond hover detection

Dependencies

~115–160MB
~3M SLoC