mod.rs
1.7 kB · rust · 56 lines
1#![doc = include_str!("README.md")]23/// Ready-made tensors: zeros, ones, noise and carpets in two or three dimensions.4pub mod atoms;5/// The cell grid: type bytes with optional per-cell colors and tags.6pub mod cell;7/// The ChaCha8 keystream, a source of random words.8pub mod chacha;9/// The png and gif codecs, rented from the png and gif crates.10pub mod codec;11/// The rgba color and its palettes.12pub mod colors;13/// The ways paint picks a color within a type's palette.14pub mod enums;15/// The one error type and its Result.16pub mod errors;17/// The paletted image and its rows.18pub mod image;19/// The json parser over the rented serde_json value.20pub mod json;21/// The natural logarithm, written from a series.22pub mod logs;23/// The editions that distribute a palette over a cell.24pub mod paint;25/// The generated palette: the fifteen colors, written by utils/colors.py.26pub mod palette;27/// The colorizers that turn counter values into colors.28pub mod ramp;29/// The pixel resamplers and the hex squash.30pub mod resample;31/// The seeded random stream.32pub mod rng;33/// The global random state: seed once, every draw replays.34pub mod state;35/// The tensor and its dtypes.36pub mod tensor;37/// The tile families, groups and parities.38pub mod tile;39/// Table trig: one turn in a fixed count of samples.40pub mod trig;4142pub use cell::Cell;43pub use codec::{gif, png, unpng};44pub use colors::Color;45pub use enums::Mode;46pub use errors::{MrlyError, Result};47pub use image::Image;48pub use ramp::Colorizer;49pub use resample::{hex_fit, hex_size, resample, Filter};50pub use rng::Rng;51pub use serde_json::{json, Value as Json};52pub use tensor::{Dtype, Tensor};53pub use tile::{Group, Parity, Tile};5455/// An object's entries, kept in insertion order.56pub type Map = serde_json::Map<String, Json>;