An open API service indexing awesome lists of open source software.

https://github.com/colcarroll/compart

An experimental library for doing computational art.
https://github.com/colcarroll/compart

Last synced: 9 months ago
JSON representation

An experimental library for doing computational art.

Awesome Lists containing this project

README

          

# Compart

[![Actions Status](https://github.com/ColCarroll/compart/workflows/Python%20package/badge.svg)](https://github.com/ColCarroll/compart/actions)

_An experimental library for doing computational art._

Heavily influenced by [Computational Drawing, by Carl Lostritto](http://lostritto.com/book).

## Installation

```python
pip install git+git://github.com/colcarroll/compart.git
```

## Usage

See `/notebooks` for example usage.

Things change fast depending on what I am working on.

The API looks similar to matplotlib APIs, but the abstraction is *very* leaky, in that some calls will require a ton of computation, and some will not require much.

## Example Gallery

These images are generated by the notebooks in `/notebooks`, and are high resolution, where you can see the extra texture.

![Four circles](examples/circles.png)

![Rotated squares](examples/twist_squares.png)

![Square inscribed in circle](examples/inscribed.png)

![Overlapping shapes](examples/overlap.png)

![Concentric rings](examples/rings.png)

![Squiggly lines](examples/squiggles.png)

![A bar chart](examples/barchart.png)

![The iris dataset](examples/iris.png)