A graphics library for producing Racket picts in a MetaPost/TikZ style.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 000d4b8 Aug 4, 2018
Failed to load latest commit information.
metapict Provide compose-trans Aug 4, 2018
README.txt Update README.txt Aug 20, 2015
info.rkt Remove dependencies on unstable/gui/pict. Aug 21, 2015



A graphics library for producing beautiful pictures using Racket.
MetaPict programs mimick the MetaPost/TikZ style known in LaTeX-circles.

The documentation is available here:


Please report any errors - including grammatical and spelling errors.

I'd like to have a collection of user contributed examples, so consider
sharing any MetaPict programs you write.


The easiest way to install MetaPict is to use the Package Manager in DrRacket.
After opening the Package Manager (from the "File" menu) click the "Available from Catalog" tab.
That tab lists all packages available from pkgs.racket-lang.org.

Now enter metapict in the filter. The MetaPict package is now easy to spot.
Click the line with metapict and then click the "Install" button.

You will see that the package manager downloads metapict, compiles it,
and, generates the documentation. The last bit - generating the documentation -
takes a while for MetaPict due to the large amount of images used in the examples.

The documentation builder will give a few warnings similar to:

    raco setup: WARNING: undefined tag in <pkgs>/metapict/metapict/scribblings/metapict.scrbl:
    raco setup:  ((lib "metapict/main.rkt") --)
    raco setup:  ((lib "metapict/main.rkt") above)

These are harmless - they mean that I need improve the documentation at some point.

Any other errors, I'd like to hear about.



Old note (is this still needed?):

Run the examples directly in DrRacket, but do this first:

  - In the menu "Language" choose the item "Choose Language"
  - Click "Show Details"
  - Remove the tick in "Populate Compiled Directories"