# Best package for simple drawings?

**URL:** <https://discourse.julialang.org/t/best-package-for-simple-drawings/22575>\
**Category:** General Usage\
**Created:** [April 1, 2019, 12:37am UTC](https://discourse.julialang.org/t/best-package-for-simple-drawings/22575 "2019-04-01T00:37:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![purplishrock](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/purplishrock/32/13451_2.png) [@purplishrock](https://discourse.julialang.org/u/purplishrock)\
**Post date:** [April 1, 2019, 12:37am UTC](https://discourse.julialang.org/t/best-package-for-simple-drawings/22575/1 "2019-04-01T00:37:38Z")

</div>

I need to do a very simple drawing, with nothing more than lines and filled rectangles.

My go-to for that sort of thing is generally cairo, but I was thinking that GR might be a good option too since it has a low level graphics interface and has scaling functions built-in.

There is also the aptly named “Drawing” package which looks great, but unfortunately does not appear to have not been updated in a quite a while (which is really too bad).

Looking for some suggestions.

Thank you!

edit: aha. Just found [Luxor](https://github.com/JuliaGraphics/Luxor.jl). That looks like it might be perfect…

---

<div class="post-metadata">

**Author:** ![Mattriks](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mattriks/32/351_2.png) [@Mattriks](https://discourse.julialang.org/u/Mattriks)\
**Post date:** [April 1, 2019, 1:25am UTC](https://discourse.julialang.org/t/best-package-for-simple-drawings/22575/2 "2019-04-01T01:25:11Z")

</div>

Also [Compose](https://github.com/GiovineItalia/Compose.jl) is popular ([docs](http://giovineitalia.github.io/Compose.jl/latest/gallery/forms/))

---

<div class="post-metadata">

**Author:** ![Yifan\_Liu](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Post date:** [April 1, 2019, 2:29am UTC](https://discourse.julialang.org/t/best-package-for-simple-drawings/22575/3 "2019-04-01T02:29:28Z")

</div>

Gaston and UnicodePlots

---

<div class="post-metadata">

**Author:** ![purplishrock](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/purplishrock/32/13451_2.png) [@purplishrock](https://discourse.julialang.org/u/purplishrock)\
**Post date:** [April 1, 2019, 4:23am UTC](https://discourse.julialang.org/t/best-package-for-simple-drawings/22575/4 "2019-04-01T04:23:46Z")

</div>

From the compose docs:

> Compose was also inspired by the admirable Haskell library [Diagrams](http://projects.haskell.org/diagrams/)

lol. That is, in fact, exactly what i was looking for, an analog to the Diagrams library in haskell.

---

<div class="post-metadata">

**Author:** ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Post date:** [April 1, 2019, 4:41am UTC](https://discourse.julialang.org/t/best-package-for-simple-drawings/22575/5 "2019-04-01T04:41:00Z")

</div>

You can use Plots.jl for this too.
