Home

Awesome

Pixie

intro

Pixie is a general purpose and full-featured 2d graphics library, supporting both vector and raster operations.

With Pixie you can crop images, draw shapes, apply masks, layer gradients, typeset text, load textures for OpenGL and much more.

There are API bindings for Pixie available in other languages with more coming soon: Python

In addition to Pixie's own API, Pixie also includes a Canvas API those familiar with the <canvas> element in Javascript.

Pixie is similar to Cairo and Skia and is written entirely in Nim.

Pixie is fast thanks to optimized algorithms and extensive SIMD using both SSE2 andAVX2 on x64 CPUs and NEON on Arm CPUs and Apple Silicon.

You can use Pixie to load a variety of common raster image formats such as .png, .jpeg, .gif, .bmp, as well as some unique formats like .qoi, .ppm. Pixie also supports a subset of .svg.

In addition to loading image formats, Pixie can also load fonts in .ttf, .otf formats, as well and less common .svg font format.

Table of contents

Helpful links

Videos