Simple drawings using vector graphics; Cairo "for tourists!"
Clone or download
Latest commit fbb677f Nov 7, 2018

README.md

splash image

Documentation Package Evaluator Build Status Code Coverage
Build Status
Build Status

Status as of 2018-08-08

Compatible with Julia v1.0. If you can install Cairo and Homebrew successfully, you should be OK.

Luxor

Luxor is a Julia package for drawing simple static vector graphics. It provides basic drawing functions and utilities for working with shapes, polygons, clipping masks, PNG images, turtle graphics, animations, and shapefiles. Think of it as a high-level and slightly easier to use interface to Cairo.jl, with shorter names, fewer underscores, default contexts, and simplified functions. In Luxor, the emphasis is on simplicity and ease of use.

Luxor is thoroughly procedural and static: your code issues a sequence of simple graphics 'commands' until you've completed a drawing, then the results are saved into a PDF, PNG, SVG, or EPS file.

A short tutorial can be found in the latest version of the documentation.

There are some Luxor-related videos on YouTube, and some Luxor-related blog posts at cormullion.github.io/.

Luxor isn't interactive: for interactive graphics, look at Gtk.jl, and GLVisualize. Makie is worth investigating.