Package net.paulhertz.pixelaudio.curves


package net.paulhertz.pixelaudio.curves
Gesture, path, and Bézier curve modeling classes for PixelAudio.

This package supports timed gesture capture, point reduction, Bézier path construction, brush shapes, hit testing, curve drawing, and gesture-derived event paths for audio and visual applications.

Core gesture and brush classes

  • PACurveMaker records timed gestures and derives reduced points, Bézier paths, brush shapes, polygons, and event points.
  • PAGesture defines the basic interface for gesture point and timing data.
  • AudioBrush combines a gesture curve with audio synthesis parameters.
  • GranularBrush and SamplerBrush specialize AudioBrush for gesture playback with granular and sampler audio synthesis.

Path and curve geometry

  • PABezShape stores and draws composite Bézier paths, including transforms and hit-test polygons.
  • PABezVertex and PALineVertex represent curved and straight path segments.
  • PAVertex2DINF defines shared behavior for 2D path vertices.
  • PACurveUtility provides static geometry, reduction, and drawing utilities.

Gesture mapping, transforms, and parameter curves

Experimental

Curve-modeling adapted from the IgnoCodeLib Processing library for use with PixelAudio.

  • Class
    Description
    Abstract class for combining gesture data from PACurveMaker with audio synthesis parameters from GestureGranularConfig.Builder.
    Stores optional affine-transform state for a gesture/curve.
    AudioBrush subclass for PAGranularInstrument.
    Class to store a path composed of lines and Bezier curves, along with fill, stroke, weight and opacity values.
    Provides storage for a cubic Bezier curves's control points and anchor point.
    Boundary policy for mapping gesture points into a rectangular domain.
    Provides descriptors for PABoundsPolicy: CLIP, WRAP, REFLECT, SKIP_TIME, KEEP_TIME.
    Minimal interface for interpolated curves.
    PACurveMaker is a utility and storage class for gestures and curve modeling, with point reduction and drawing to on-screen PApplets or off-screen PGraphics.
    Simple Processing-friendly callback interface.
    A class to maintain static versions of point reduction and curve-modeling methods.
    PAGesture provides a definitional interface for "gestures": 1) a list of points and 2) a list of time offsets where 3) both lists have the same cardinality and 4) time offsets are monotonically non-dereasing.
    Treats a gesture defined by (time, x, y) samples as a parametric curve.
    Data storage class for PAGestureParametric.
    Reduced set of Adobe Illustrator 3.0 (ancient but still useful) path operators for recording curves.
    PAIndexParametric Parametric view of an indexed offset list, typically into a float[] buffer (for example, an audio signal or lookup table).
    Models piecewise-linear scalar control curve defined by keyframes.
    Stores a line vertex consisting of a single point.
    PAPathParametric Parametric view of a polyline path (e.g., polygonized Bezier).
    Interface for line and curve vertices.
    AudioBrush subclass for PASamplerInstrument.