Reference
This section collects focused API notes for pyDreamplet primitives and output helpers.
Start here when you already know the basic drawing flow and need exact constructor shapes, properties, or output behavior.
Core
- SVG - root document, viewBox, dimensions, saving, and loading.
- SvgElement - shared attribute, child, search, copy, and serialization API.
Drawing Elements
- Shapes -
Circle,Ellipse,Rect,Line,Polygon, andPolyline. - Paths -
Path,PathBuilder, parsing, normalization, linear measurement, and bounding boxes. - Transforms -
G,Transform,TransformList, andMatrix2D. - Text -
Text, multilinetspanoutput,TextOnPath, and font-size behavior. - Animation -
Animate, keyframe values, duration, and repeat count. - Definitions -
Defs, gradients, stops, patterns, masks, clip paths, filters, andUse. - Scales - numeric, categorical, color, square-root, and circle-area scales.
- Creative helpers - top-level point and tile layout helpers.
- Path generators - data-driven line, area, radial, pie, arc, symbol, and link path generators.
- Shape helpers - path
dstring helpers for stars, curves, rings, and organic shapes. - Vector - 2D coordinates, arithmetic, magnitude, direction, normalization, and limiting.
- Colors - top-level color conversion, blending, random color, and palette helpers.
- Typography - system font lookup and HarfBuzz/fontTools text measurement.
- Noise - bounded random-walk values and deterministic simplex noise.
- Utilities - numeric, angle, tick, pie, sampling, and collision helpers.
- Markers - SVG marker elements and predefined arrow, tick, and symbol path constants.
Planned next
- Audit remaining reference coverage