BSD Ports

graphics/libspiro 20221101_1,1 DragonFly

Library to convert clothoid splines into Bezier splines

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3+
Categories
graphics
Package size
29.8 KiB, 98.7 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.

(Above taken from Introduction on the library's website)

In the other systems

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

Install

Binary package:

pkg install libspiro

From DPorts:

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

Dependencies