#![doc = include_str!("../README.md")] #![deny(missing_docs)] /// Ready-made tensors: zeros, ones, noise and carpets in two or three dimensions. pub mod atoms; /// The cell grid: type bytes with optional per-cell colors and tags. pub mod cell; /// The ChaCha8 keystream, a seekable source of random words. pub mod chacha; /// The png and gif codecs, rented from the png and gif crates. pub mod codec; /// The rgba color and its palettes. pub mod colors; /// The well: how a crate declares the datasets it can pour. pub mod data; /// The ways paint picks a color within a type's palette. pub mod enums; /// The one error type and its Result. pub mod errors; /// The paletted image and its rows. pub mod image; /// The road from type bytes through a colorizer to rgba pixels. pub mod io; /// The json parser over the rented serde_json value. pub mod json; /// The natural logarithm, written from a series. pub mod logs; /// The editions that distribute a palette over a cell. pub mod paint; /// The generated palette: the fifteen colors, written by utils/colors.py. pub mod palette; /// The colorizers that turn counter values into colors. pub mod ramp; /// The pixel resamplers and the hex squash. pub mod resample; /// The seeded, seekable random stream. pub mod rng; /// The global random state: seed once, every draw replays. pub mod state; /// The tensor and its dtypes. pub mod tensor; /// The tile families, groups and parities. pub mod tile; /// Table trig: one turn in a fixed count of samples. pub mod trig; pub use cell::Cell; pub use codec::{gif, png, unpng}; pub use colors::Color; pub use enums::Mode; pub use errors::{MrlyError, Result}; pub use image::Image; pub use ramp::Colorizer; pub use resample::{hex_fit, hex_size, resample, Filter}; pub use rng::Rng; pub use serde_json::{json, Value as Json}; pub use tensor::{Dtype, Tensor}; pub use tile::{Base, Group, Parity, Tile}; /// An object's entries, kept in insertion order. pub type Map = serde_json::Map;