Changes for version 0.03 - 2026-09-23
- High-performance C XS engine rewrite with fast segment caching
- TinyExpr formula support with JIT compilation (x86-64 / TCC)
- Constructors: adsr(), asr(), perc(), spline() (Catmull-Rom)
- Transforms: scale, stretch, offset, invert, normalize, quantize, trim, lerp, resample, clamp, smooth, derivative, integrate, concat, blend, add, multiply, with_duration, clone, copy
- Boundary modes: is_hold, is_fold_over, is_wrap_neg
- Scalar definite integral via area() / integral()
- Operator overloading: callable envelopes ($e->($t)), arithmetic (+, -, *, neg), and descriptive stringification
- Storable support: safe freeze, thaw, and dclone
- Comprehensive example suite (120 examples) covering audio synthesis & DSP, psychoacoustics, 3D raymarching, laser art, cymatics, physics, kinematics, robotics, aerospace, and multi-dimensional envelopes
Documentation
Modules
create/manage/evaluate segmented (curved) envelope
Provides
in lib/Math/SegmentedEnvelope.pm
Examples
- eg/01-basics.pl
- eg/02-constructors.pl
- eg/03-transforms.pl
- eg/04-performance.pl
- eg/05-audio-synthesis.pl
- eg/06-lfo-wavetable.pl
- eg/07-animation.pl
- eg/08-morphers.pl
- eg/09-serialization.pl
- eg/10-envelope-arithmetic.pl
- eg/100-atmospheric-microburst-windshear-4d.pl
- eg/101-six-axis-robot-arm-kinematics.pl
- eg/102-six-dof-spacecraft-orbital-elements.pl
- eg/103-five-axis-cnc-flank-milling.pl
- eg/104-accelerator-beam-phase-space-6d.pl
- eg/105-low-thrust-ion-propulsion-spiral-6d.pl
- eg/106-redundant-robot-arm-7dof-nullspace.pl
- eg/107-spacecraft-quaternion-bias-7d-aocs.pl
- eg/108-aircraft-eight-state-flight-dynamics.pl
- eg/109-four-wheel-steer-electric-vehicle-8d.pl
- eg/11-flags.pl
- eg/110-e8-lie-algebra-8d-root-projection.pl
- eg/111-karplus-strong-guitar-pluck.pl
- eg/112-granular-cloud-texture.pl
- eg/113-vocoder-spectral-filterbank.pl
- eg/114-shepard-risset-infinite-glissando.pl
- eg/115-phase-distortion-synth.pl
- eg/116-binaural-3d-audio-doppler.pl
- eg/117-vector-laser-oscilloscope-art.pl
- eg/118-raymarched-sdf-ascii-renderer.pl
- eg/119-chladni-plate-cymatics.pl
- eg/12-ascii-plot.pl
- eg/120-audio-spectrum-waterfall.pl
- eg/13-easing-curves.pl
- eg/14-splines.pl
- eg/15-drum-machine.pl
- eg/16-game-health-bar.pl
- eg/17-particle-system.pl
- eg/18-color-gradient.pl
- eg/19-camera-shake.pl
- eg/20-modular-synth.pl
- eg/21-motion-tween.pl
- eg/22-pdl-integration.pl
- eg/23-opengl-modern.pl
- eg/24-data-queue-shared.pl
- eg/25-data-pubsub-shared.pl
- eg/26-midi-cc.pl
- eg/27-svg-export.pl
- eg/28-audio-crossfade.pl
- eg/29-quantize-trim-lerp.pl
- eg/30-procedural-terrain.pl
- eg/31-led-pwm.pl
- eg/32-envelope-repl.pl
- eg/33-polysynth.pl
- eg/34-envelope-diff.pl
- eg/35-supercollider-csound.pl
- eg/36-opengl-terrain.pl
- eg/37-ascii-wave.pl
- eg/38-data-sonification.pl
- eg/39-fractal-envelope.pl
- eg/40-genetic-evolution.pl
- eg/41-step-sequencer.pl
- eg/42-glsl-export.pl
- eg/43-oscilloscope.pl
- eg/44-gtk4-static.pl
- eg/45-gtk4-dynamic.pl
- eg/46-gtk4-pixbuf.pl
- eg/47-skia-render.pl
- eg/48-skia-gtk4.pl
- eg/49-nanovg.pl
- eg/50-opengl-modern-scope.pl
- eg/51-geometry-waves.pl
- eg/52-geometry-mountains.pl
- eg/53-lathe-mesh.pl
- eg/54-lathe-morph.pl
- eg/55-lathe-angular-morph.pl
- eg/56-gcode-lathe.pl
- eg/57-rainbow-lattice.pl
- eg/58-curtain.pl
- eg/59-whirlpool.pl
- eg/60-thread-sphere.pl
- eg/61-thread-torus.pl
- eg/62-thread-cube.pl
- eg/63-thread-pagoda.pl
- eg/64-thread-tree.pl
- eg/65-grass-field.pl
- eg/66-polar-lattice.pl
- eg/67-polar-lattice-fbo.pl
- eg/68-torus-fbo-trails.pl
- eg/69-chaos.pl
- eg/70-rolling-balls.pl
- eg/71-rolling-balls-3d.pl
- eg/72-rolling-shapes-3d.pl
- eg/73-ode-physics.pl
- eg/74-ode-slope-chase.pl
- eg/75-snowboard.pl
- eg/76-s-curve-motion-profile.pl
- eg/77-audio-dynamics-compressor.pl
- eg/78-reflow-soldering-profile.pl
- eg/79-drone-camera-flight-path.pl
- eg/80-sensor-telemetry-smoothing.pl
- eg/81-audio-wavefolder.pl
- eg/82-rocket-ascent-telemetry.pl
- eg/83-battery-discharge-soc.pl
- eg/84-ecg-heartbeat-synthesizer.pl
- eg/85-camera-lens-bokeh-psf.pl
- eg/86-audio-formant-vowel-filter.pl
- eg/87-traffic-light-intersection.pl
- eg/88-seismic-earthquake-response.pl
- eg/89-solar-pv-mppt-tracking.pl
- eg/90-radar-chirp-pulse-compression.pl
- eg/91-hydraulic-water-hammer.pl
- eg/92-pid-controller-tuning.pl
- eg/93-car-braking-abs-pulses.pl
- eg/94-musical-arpeggiator-envelope.pl
- eg/95-cnc-laser-engraving-power.pl
- eg/96-spacecraft-reentry-corridor-4d.pl
- eg/97-tesseract-4d-hypercube-rotation.pl
- eg/98-stewart-platform-6dof-kinematics.pl
- eg/99-nonplanar-3d-printing-toolpath.pl
- eg/nanovg_helper.c
- eg/ode_helper.c
- eg/skia_helper.cpp
- eg/snowboard_helper.c
- examples/plot.pl