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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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