BSD Ports

graphics/libspiro 1.5.0.20240903 NetBSD

Simplifies the drawing of beautiful curves

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v3
Categories
graphics
Package size
20.5 KiB, 72.3 KiB installed

Description

Spiro is the creation of Raph Levien. It simplifies the drawing of beautiful curves.

Using bezier splines an artist can easily draw curves with the same slope on either side of an on-curve point. Spiros, on the other hand, are based on clothoid splines which make it easy to maintain constant curvature as well as constant slope. Such curves will simply look nicer.

Raph Levien's spiro splines only use on-curve points and so are easier to use and more intuitive to the artist.

This library will take an array of spiro control points and convert them into a series of bezier splines which can then be used in the myriad of ways the world has come to use beziers.

In the other systems

SystemPortVersion
NetBSDgraphics/libspiro1.5.0.20240903
FreeBSDgraphics/libspiro20240903,1
OpenBSDgraphics/libspiro20240903
DragonFlygraphics/libspiro20221101_1,1
MidnightBSDgraphics/libspiro20240903,1

Install

Binary package:

pkgin install libspiro

From pkgsrc:

cd /usr/pkgsrc/graphics/libspiro && make install clean

Dependencies

Required by 1