starsight_layer_2/lib.rs
1//! Layer 2 — scales, ticks, axes, and coordinate systems.
2//!
3//! Bridges raw data values and the pixel-space rendering primitives in
4//! [`starsight_layer_1`]. Each module is single-purpose:
5//!
6//! - [`scales`]: map data domain → normalized `[0, 1]`.
7//! - [`ticks`]: choose nice tick positions (Wilkinson Extended algorithm).
8//! - [`axes`]: bundle a scale with ticks and labels.
9//! - [`coords`]: convert data values to pixel positions.
10
11#![allow(
12 clippy::cast_possible_truncation,
13 clippy::cast_sign_loss,
14 clippy::cast_precision_loss,
15 clippy::many_single_char_names
16)]
17
18pub mod axes;
19pub mod coords;
20pub mod scales;
21pub mod ticks;