Forma is an experimental vector graphics renderer written in Rust, developed by Google to explore high-performance, parallelized rendering techniques across multiple platforms. The project aims to achieve portability, performance, simplicity, and small footprint through a streamlined four-stage rendering pipeline. Forma provides both CPU (software) and GPU (hardware) backends, relying on Rust’s SIMD auto-vectorization, Rayon for multithreading, and WebGPU (wgpu) for hardware acceleration. The renderer processes Bézier curves, line segments, and pixels through stages of flattening, rasterization, sorting, and painting, updating only changed tiles for efficiency. This design allows Forma to render complex vector scenes—such as large-scale SVGs—at interactive frame rates even on CPUs.

Features

  • Cross-platform support for Linux, macOS, Windows, Fuchsia, Android, and iOS
  • Dual backends for CPU (SIMD-optimized) and GPU (WebGPU) rendering
  • Four-stage pipeline: curve flattening, rasterization, sorting, and painting
  • Curvature-aware flattening and efficient tile-based rendering updates
  • High parallelization using Rayon and Rust’s auto-vectorization
  • Minimal dependencies focused exclusively on vector graphics performance

Project Samples

Project Activity

See All Activity >

Categories

Graphics

License

Apache License V2.0

Follow Forma

Forma Web Site

Other Useful Business Software
99.99% Uptime for MySQL and PostgreSQL Databases Icon
99.99% Uptime for MySQL and PostgreSQL Databases

Sub-second maintenance. 2x read/write performance. Built-in vector search for AI apps.

Cloud SQL Enterprise Plus delivers near-zero downtime with 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Forma!

Additional Project Details

Operating Systems

Android, Apple iPhone, Linux, Mac, Windows

Programming Language

Rust

Related Categories

Rust Graphics Software

Registered

2025-10-10