Sina - سینا
A modern 2D graphics rendering engine written in pure Rust, inspired by Skia.
Features
- Pure Rust: No C/C++ dependencies, fully safe Rust
- Multi-backend: CPU (software) and GPU (hardware-accelerated) rendering
- Vector Graphics: Path rendering with Bezier curves
- Text Rendering: Font loading, shaping, and emoji support (planned)
- Modern API: Clean, ergonomic graphics API
Quick Start
use ;
use CpuSurface;
Project Structure
Single unified crate with modular architecture:
- sina-core: All-in-one rendering engine
- Core types (geometry, color, paint, path, surface)
- CPU backend (software rasterizer)
- GPU backend (WebGPU - planned)
- Text rendering (planned)
- Effects and filters (planned)
Building
Running Examples
Status
🚧 Early Development - Core API and CPU backend functional
- Core geometry types
- Path system with lyon integration
- Paint and stroke styles
- CPU rasterizer with raqote
- Basic shapes (rect, circle, line)
- GPU backend with wgpu
- Text rendering
- Emoji support
- Gradients and effects
License
MIT OR Apache-2.0