Skip to main content

seagull

a 2D scene graph based on SVG with OpenGL backend

Goals & non-goals

Goals:

  • 2D scene graph suitable for interactive rendering

  • minimal set of dependencies

Non-goals:

  • full SVG implementation

  • optimized for speed

Features

  • pythonic API modeled after SVG spec & semantic

  • SVG parsing and serialization

  • scale dependent polygonalization

  • analytical picking

  • sub-pixel strokes rendering enhancement through width and opacity correction

  • per-pixel gradients

  • two modes text rendering: raster by freetype2 for high quality AA at small sizes, vector otherwise

SVG spec

implemented:

  • shapes: path, rect, circle, ellipse, line, polyline, polygon, image

  • text: (excluding decoration, text on path)

  • structure: group, use (including attributes inheritance)

  • painting: solid color, linear and radial gradients (including units, transform, spread, href);

  • fill: rule (nonzero, evenodd)

  • stroke: cap (butt, round, square), join (miter, round, bevel), miterlimit

  • multi-pass rendering: clipping, masking, object opacity

  • transforms: translate, rotate, scale, skewX, skewY

eventually:

  • tspan

  • painting: pattern

  • stroke: dash, marker

  • filters

never:

  • DOM API

Dependencies

Optional dependencies

Needed to find fonts, fallbacks on FreeFont otherwise.

on the mac:

Inspirations

  • sauvage by S. Conversy

  • SVGL by S. Conversy & J.-D. Fekete

Metadata

Release files for seagull 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seagull 0.1
File Size Uploaded Provenance Actions
seagull-0.1.tar.gz 34.0 kB Without provenance Details for seagull-0.1.tar.gz

Release files / seagull-0.1.tar.gz

Download URL seagull-0.1.tar.gz
Size 34.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5a01f8af0928f56b118da391454a97d7fd0fec08bc378db24adcde8e367a9277
BLAKE2b-256 checksum
How to use checksums
49e3bb7ead6a6ccd8669c3d95df203a4e16704047eeb7fb49fd59592ea56ff0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for seagull 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page