Examples
Interactive PSTricks diagrams rendered live in the browser by LaTeX2JS — each with its LaTeX source. Be sure to check out the example apps on GitHub!
System Block Diagram
A signals-and-systems block diagram with framed subsystems, arrows, and an inline Fourier series equation, drawn entirely with PSTricks.
Draggable Vector
The simplest interactive diagram: a userline vector whose head follows your mouse or touch inside the frame.
Interactive
Vector Functions of the Cursor
Four userline vectors driven by functions of the cursor position — reflections, projections, and trig transforms of your pointer.
Interactive
Vectors in the Complex Plane
An interactive complex-plane diagram with a unit circle, draggable vectors, and conditional expressions controlling their motion.
Interactive
Shaded Integral with a Draggable Bound
A psplot of sin(x) whose shaded region follows a draggable uservariable — visualizing the integral as you move the bound.
Interactive
Plots Driven by Two Variables
Two uservariables driving two psplots at once — drag in the plane and watch both curves respond.
Interactive
Geometric Series with a Slider
A slider controls the number of terms N in a geometric series plot, converging toward 1/(1-α).
Interactive
Large-Scale Function Plot
A scaled psplot with custom units and axis labels.
Interactive Plot with a Variable
Two psplots coupled to a draggable uservariable with custom scaling.
Interactive
Custom Path Diagram
A pscustom path composing lines and curves into a labeled figure.
Unit Circle with Draggable Vectors
Draggable vectors constrained to the unit circle in the complex plane, with dashed projections onto the axes.
Interactive
Sampling System Diagram
A classic sampling block diagram: impulse train, ideal low-pass filter H(ω), and labeled signal paths.
Interactive Feedback System
A feedback system diagram combining frames, circles, a psplot, a userline, and four uservariables in one figure.
Interactive
A Story Told in Derivatives
A community example: a playful narrative about derivatives illustrated with sixteen psplots and five interactive variables.
Interactive