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
PACurveMakerrecords timed gestures and derives reduced points, Bézier paths, brush shapes, polygons, and event points.PAGesturedefines the basic interface for gesture point and timing data.AudioBrushcombines a gesture curve with audio synthesis parameters.GranularBrushandSamplerBrushspecialize AudioBrush for gesture playback with granular and sampler audio synthesis.
Path and curve geometry
PABezShapestores and draws composite Bézier paths, including transforms and hit-test polygons.PABezVertexandPALineVertexrepresent curved and straight path segments.PAVertex2DINFdefines shared behavior for 2D path vertices.PACurveUtilityprovides static geometry, reduction, and drawing utilities.
Gesture mapping, transforms, and parameter curves
GestureTransformStatestores geometric transform state for gesture and curve modeling.PABoundsPolicyapplies boundary rules to gesture points and schedules.PAControlCurveandPAKeyframeControlCurvemodel control values over normalized time.
Experimental
PAGestureParametric,PAIndexParametric, andPAPathParametricprovide parametric sampling over gestures, indices, and paths.PAGestureWritersupports output or serialization of curves implemented byBezShape.
Curve-modeling adapted from the IgnoCodeLib Processing library for use with PixelAudio.
-
ClassDescriptionAbstract 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 interface for "gesture" defined by: a list of points and a list of time offsets where both lists have the same cardinality and time offsets are monotonically non-decreasing.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.Deprecated.Interface for line and curve vertices.AudioBrush subclass for PASamplerInstrument.