Skip to content

visuals vectors

Aisjam edited this page Nov 15, 2026 · 1 revision

Vector routing and spatial transforms

Home · Section index

Working manual · 0.0.1-alpha · source snapshot 16 November 2026

Current X/Y curves and ranges: VIS value curves. The gain and range descriptions below document the preserved legacy v6/v7 mode. New slots use the parameter curves and no gain cycling.

VIS now includes ten Vector2 and eight Vector3 generators alongside the original 20 scalar modulators. Select them in PC1/PD1 with the existing grouped picker. PC2/PC3 and PD2/PD3 remain exactly two function-specific controls.

Direct controls and stronger output

  • Hold A + Left/Right to step; hold A + Up/Down to open a selector browser.
  • X on either function-parameter cell cycles the shared slot output gain through 1x, 2x, 4x and 8x. Both parameter cells show the current gain. This amplifies the modulator output, not its frequency, damping or other parameter values.
  • X on a vector destination cell cycles AUTO, X, Y (and Z for Vector3). The destination cell shows the component. No configuration screen opens.
  • Old scalar presets keep their prior 1x response. Gain works for them too.

AUTO sends a vector into the individual Position, Rotation or Scale axes selected by XY/XZ/YZ/XYZ. Vector2 maps its two components into the selected pair; XYZ uses X and Y with no Z contribution. Vector3 keeps its actual axis identities. Individual axis destinations automatically use the matching component. Other scalar destinations use X unless a component is explicitly selected. Explicit component selection uses existing scalar routing, including broadcast to grouped axes. A new function with fewer dimensions clears an unavailable component.

Functions (IDs below are decimal; the interface displays hex)

ID Function X parameter Y parameter
21 CIRCLE Signed speed, up to 2 turns/unit Radius 0-4
22 ELLIPSE Signed speed Aspect ratio 1/8-8; X radius 1
23 SPIRAL Turns 1-16 Signed expansion, radius up to 4
24 FIGURE 8 Signed speed Width 0-4; vertical radius 1
25 LISSAJOUS X ratio 1-16 Y ratio 1-16
26 VECTOR NOISE Frequency 0-4 Noise coordinate spread
27 ORBIT DRIFT Signed speed Wander 0-4
28 SCROLL Signed X speed, up to 2 units/unit Signed Y speed
29 ROSE Rose coefficient 1-12 Radius 0-4
30 SWIRL Signed speed Strength 0-4
31 ORBIT 3D Signed speed Inclination -90 to +90 degrees
32 HELIX Turns 0-4 per unit Signed pitch, up to 2 units/turn
33 SPHERE Signed speed Latitude -90 to +90 degrees
34 TORUS Major radius 0-4 Minor radius 0-2
35 VECTOR3 NOISE Frequency 0-4 Noise coordinate spread
36 FLOW FIELD Scale 1/8-8 Strength 0-4
37 CAMERA DRIFT Speed 0-0.5 Range 0-4
38 ROTATION 3D Signed speed X/Y/Z/XY/XZ/YZ/XYZ

The normalized parameter bytes still run 00-FF. Signed speed is quadratic for fine motion near the centre; both 7F and 80 stop. Radius is generator output before the preset's existing depth and the new gain. Default depth is 0.25, so radius 4 produces a unit displacement at 1x and larger movement with gain.

Spiral expands and contracts smoothly over eight time units, returning to its start; negative expansion reverses the radial journey. Lissajous closes after eight units. Rose runs an eight-unit angular period; an even coefficient produces twice as many petals. Torus uses synchronized 1:3 angular phases over eight units. Scroll and Helix progress continuously. Rotation 3D produces Euler-compatible pi units for the existing X-then-Y-then-Z transform, with no quaternion conversion.

SWIRL is a time-based varying-radius orbit, not a full spatial vector field. FLOW FIELD evaluates an analytic divergence-free field at the saved pivot plus (0.37, 0.61, 0.83), so Scale also has an effect at the default pivot; it is a fixed-reference approximation, not particle advection. CAMERA DRIFT supplies motion for existing position/rotation destinations; it does not introduce an independent camera object. Use Position XY with SCROLL on continuous procedural fields to scroll sampling coordinates; finite geometry is translated instead.

Timing, routing and safety

While playing, new functions evaluate at the published absolute beat position. Stopped previews and explicit Internal sources use elapsed seconds. Pausing therefore switches to free preview time; restarting/jumping evaluates the current musical position immediately. Reset clears the free preview clock. All vector components share one time and seed. Evaluation is deterministic and independent of frame step; no stateful particle simulation or audio callback work is added.

Raw Scroll/Helix/Rotation output is not clamped to +/-1. At destinations, continuous translation wraps at 4096 units and rotation at two pi units. This prevents motion freezing at a scalar limit and bounds downstream coordinates; large translation wraps can be visible for nonperiodic imagery. Finite time is bounded at 1e12 units for numerical safety. Noise sampling bounds its lattice coordinates separately. Non-finite inputs return neutral output.

Default vector routes bypass the scalar +/-1 clamp. Custom saved clamp ranges remain respected. Gain follows depth/inversion/clamping. Spatial output has an 8-unit safety bound except continuous position/rotation; normalized algorithm and Canvas controls still clamp to their own ranges, and scale keeps its existing 1/8-8 limit. Increasing gain can therefore saturate these destinations. Original scalar presets at 1x retain their old clamps and processing.

The evaluator is portable C++ with fixed-size results and no evaluation-time allocation. Each slot evaluates once per update and fans out that result. See v59 format (repository reference: file-formats/project-v59.md). Core tests cover all generators, parameter response, periodic continuity, absolute-time seek, frame-rate parity, component routing, gain and persistence. Scene fixtures cover vector picker headings and inline controls. RG35XX hardware performance remains unmeasured.

What should be here

Documentation still to add
Annotated current-build screenshots and a recorded controller walkthrough for this topic.

Evidence and verification

Repository sources used for this page:

  • docs/vis-vectors.md

This is a documentation/source review, not a new runtime or hardware test. Physical response, screenshots and listening examples still need verification on a recorded build.

Clone this wiki locally