Description
Luxor is a Julia package for drawing simple static 2D vector graphics. It provides drawing functions and utilities for shapes, polygons, clipping masks, PNG and SVG images, turtle graphics and simple animations. Its stated goal is simplicity: it should be easier to use than plain Cairo.jl, with shorter names, fewer underscores, default contexts and simplified functions. Drawings are procedural. Your code issues a sequence of drawing commands, and the result is saved as a PDF, PNG, SVG or EPS file. Luxor is designed for static pictures and simple animations rather than interactive graphics. The README points to Makie.jl for more complex 2D and 3D graphics, to Javis.jl for elaborate animations, and to Pluto.jl or Makie.jl for interactivity. Tutorials are in the documentation, which has stable and development versions, and the project has YouTube videos and blog posts.…
Highlights
- Static 2D vector drawings written in code
- Output to PDF, PNG, SVG and EPS
- Shapes, polygons and clipping masks
- Turtle graphics and simple animations
- Simpler API than Cairo.jl
- Documentation with stable and development builds
Ratings & Reviews
No ratings yet
Be the first to rate Luxor.jl.
People also visit
Luxor.jl FAQ
What is Luxor?
A Julia package for drawing static 2D vector graphics in code, with shapes, polygons, clipping masks, turtle graphics and simple animations.
What output formats are supported?
The README says drawings are saved as PDF, PNG, SVG or EPS files.
How does it compare to Cairo.jl?
The README says Luxor is easier to use than plain Cairo.jl, with shorter names, fewer underscores, default contexts and simplified functions.
Is it interactive?
No. The README says Luxor is not interactive and points to Pluto.jl and Makie for interactivity.
Where is the source?
The project is public on GitHub at JuliaGraphics/Luxor.jl.
What are the best Luxor.jl alternatives?
Popular alternatives to Luxor.jl include Morpholib, Minimator and Kaleido. See all Luxor.jl alternatives






