1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//! Entheogen: a rust library for generative art
//!
//! Entheogen provides an array of opinionated primitives for composing
//! generative artwork. It acts as a basis for:
//!
//!  - Constructing high-level abstractions over geometric primitives.
//!  - Converting primitives to points within a 2-D space, namely real numbers
//!    ($$\mathbb{R}^2$$) natural numbers $$\mathbb{N}^2$$.
//!  - Sampling points within boundaries defined by geometric forms using
//!    user-specified sampling methods.
//!  - Rendering a points represention of artwork to common image formats.

extern crate alga;
extern crate cairo;
extern crate nalgebra;
extern crate num;
extern crate palette;

pub mod colour;
pub mod primitives;
pub mod properties;
pub mod rendering;

pub use primitives::point::Point;