MathsRead · Problem #38

The four-way side sprout

3D Graphs Sign in
Drag to pan · Tap curve to inspect · Pinch/scroll to zoom
Step 1 of 3

Welcome to X-Plot

Graph-driven sound and composition

Graph music studio

Safety ON

Graph music is rendered under the same limiter, digital-level ceiling, Nyquist guard, and automatic stop rules. Measurements are dBFS—not physical dB SPL.

Hear the visible graph from left to right. Higher points play higher notes, and gaps become rests. Visible curves share one pitch scale. Polar graphs follow angle θ and use radius for pitch.

Select a graph, then compose. “All visible graphs” creates independent stereo voices.

Ready to compose
Measured frequency—
RMS level—
Peak level—
THD estimate—
FFT resolution—
Sample rate—
Generated notes—
Music duration—
Graph score · synchronized piano roll
Oscilloscope
Spectrum · logarithmic frequency axis

Structured authoring

Build a piecewise graph

Each branch has a condition and a value. Branches are evaluated top-to-bottom, so put more specific conditions first.

ConditionBranch value
Preview

Endpoint semantics: for simple x-domain branches, the renderer now shows open circles for excluded endpoints and filled markers for included endpoints. Chained conditions such as -2 <= x < 3 are supported.

Quick reference

Equation syntax

x^2Powers
sin(x)Functions
abs(x)Absolute value
pi, eConstants
y = a*x + bAutomatic variable sliders
y = sin(x+t)Animated time variable
t = 2*uClick t · ƒ(u) to remap time
t = {progress < .5: start, otherwise: end}Piecewise time mapping
y = {x < 0: -x, otherwise: x}Piecewise branches
y = x^2 {x >= 0}Domain restriction
y <= {x < 0: x+2, otherwise: -x+2}Piecewise inequality boundary
{x < 0: y > x-1, otherwise: y <= -x+1}Mixed piecewise inequality
-2 <= x <= 2Chained conditions
y > xStrict inequality
y <= xInclusive inequality
r = 2*sin(3*theta)Polar rose (θ also accepted)
r = theta/2Polar spiral; choose 0 to 6π in θ interval for 3 turns
theta = pi/4A polar ray, 45° from the positive x-axis
r <= 2Polar inequality shades the disk of radius 2
2*cos(theta)In r,θ input mode, a bare expression means r = ...

Keyboard shortcuts

+−Zoom

0Center and reset view

Arrow keysPan graph

GToggle grid

?Open this guide