Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.17 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.17 KB

Ursus Sigil

A library for generating Urbit sigils.

Based on @dclelland's UrsusSigil CocoaPod.

Usage

Generating sigil images is a one-liner in UrsusSigil:

let sigilImage = Sigil(ship: "~lanrus-rinfep", color: .black).image(with: CGSize(width: 24, height: 24))

Use the optional icon parameter to generate a simplified sigil:

let sigilImage = Sigil(ship: "~lanrus-rinfep", color: .black).image(with: CGSize(width: 24, height: 24), icon: true)

Sigils render with a transparent background.

Installation

Ursus Sigil can be installed using Swift Package Manager by adding this repository's URL to your project's packages:

https://github.com/alecananian/UrsusSigil

Other utilities

References

Dependencies