The Tantara Attractor
An asymmetric Lorenz system with a bounded logic-saturation term (\(\tanh\)).
\(\frac{dx}{dt} = \sigma(y - x) + \mu \cdot \tanh(z)\)
\(\frac{dy}{dt} = \rho x - y - xz\)
\(\frac{dz}{dt} = xy - \beta z\)
Drag to rotate • Shift+scroll to zoom
Two fingers to rotate • Pinch to zoom
The Tantara Attractor's phase space trajectory.
An Asymmetric Lorenz System of Logic and Tension
1. Abstract
The Tantara Attractor is a Lorenz variant and a computational metaphor for creative tension, logic, and paradigm shifts. Inspired by the investment thesis of Tara Tan (Strange Ventures), it adds a bounded hyperbolic tangent term (\(\tanh\)) to the first Lorenz equation.
The added term breaks the Lorenz equations’ reflection symmetry. The numerical trajectory shown here resembles an asymmetric “tilted butterfly.” The visualization does not establish a strange attractor, topological distinctness, or mathematical novelty.
2. Inspiration & Philosophy
The design of the Tantara Attractor is grounded in the "Strange" philosophy: the belief that true creativity is not random, but emerges from structured, self-reflexivity and cognitive tension.
2.1 The "Tan" Sigmoid
A core poetic element of the system is the choice of the non-linear operator. We utilize the Hyperbolic Tangent (\(\tanh\)), a function fundamental to two fields:
- Neural Networks: It is a primary activation function, representing the firing thresholds of artificial neurons, a nod to the "human-machine intersection."
- Nomenclature: The function's name, \(\tanh\), establishes a direct symbolic link to the system's inspiration.
The smooth saturation of \(\tanh(z)\): unbounded inputs compress to the range \([-1, +1]\).
2.2 The Narrative of Equations
The Tantara system gives its variables roles in a creative metaphor:
- \(x\) (Tension): The contrarian energy; the drive to diverge from the norm.
- \(y\) (Creativity): The generative output; the "art" produced by the system.
- \(z\) (Logic): The structural foundation; the technical truth or "world model."
In the equations, Logic (\(z\)) gives Tension (\(x\)) a bounded push through \(\mu\tanh(z)\). In the metaphor, that push stands for the pressure logic puts on an idea.
3. Mathematical Definition
The Tantara Attractor is defined by the following system of three coupled, autonomous, non-linear ordinary differential equations.
3.1 Parameters (The "Strange" Regime)
The visualizations use the following parameters:
| Parameter | Symbol | Value | Description |
|---|---|---|---|
| Interaction Rate | \(\sigma\) | 10.0 | The coupling strength between Tension and Creativity. |
| System Energy | \(\rho\) | 28.0 | The Rayleigh number equivalent in the classical Lorenz equations. |
| Dissipation | \(\beta\) | 8/3 | The rate at which Logic naturally decays. |
| The Shift Factor | \(\mu\) | 15.0 | Controls the magnitude of the logic saturation term. |
4. Analysis
4.1 Classification: The Asymmetric Lorenz Variant
Tantara is a Lorenz-like system whose added forcing breaks reflection symmetry.
- Classical Lorenz: The equations are invariant under the reflection \((x,y,z)\mapsto(-x,-y,z)\).
- Tantara: For nonzero \(\mu\), \(+\mu\tanh(z)\) breaks this symmetry: the added term is unchanged by reflection, whereas the first component would need to reverse sign.
- Near zero: \(\tanh(z)\approx z\), so the added forcing is approximately linear in \(z\).
- Far from zero: As \(z\to\pm\infty\), the forcing in the \(x\) equation approaches \(\pm\mu\). This bounded influence is the system’s “soft saturation.”
4.2 Behavior
- Boundedness: Let \(c=\sigma+\rho\) and \(V=x^2+y^2+(z-c)^2\). Differentiation along a trajectory gives \(V'/2=-\sigma x^2-y^2-\beta z(z-c)+\mu x\tanh(z)\). Since \(\lvert\tanh(z)\rvert\le 1\), Young’s inequality gives \(V'\le-kV+C\), where \(k=\min(\sigma,2,\beta)>0\) and \(C=\beta c^2+\mu^2/\sigma\). Thus \(V(t)\le V(0)e^{-kt}+(C/k)(1-e^{-kt})\), and every forward trajectory is bounded.
- Numerical behavior: The plotted path illustrates one choice of starting point. Long-time chaos, fractal dimension and topology are not established by the plot.
4.3 Stability & Jacobian Analysis
To analyze the local stability of the system, we compute the Jacobian Matrix \(J\). The eigenvalues of this matrix at equilibrium points reveal the nature of nearby trajectories.
Jacobian Matrix \(J(x,y,z)\):
Dissipation Criterion:
The trace of the Jacobian equals the divergence of the flow, which determines whether the system is dissipative (contracting phase space volume):
The negative constant divergence means a material volume contracts by the factor \(e^{-(\sigma+1+\beta)t}\). Volume contraction by itself does not establish bounded trajectories or a strange attractor.
4.4 Equilibrium Points
The equilibrium points of the system occur where all derivatives vanish simultaneously. Setting \(\dot{x} = \dot{y} = \dot{z} = 0\):
The Origin \((0, 0, 0)\):
The origin is always an equilibrium point. Evaluating the Jacobian at \((0,0,0)\) with \(\operatorname{sech}^2(0) = 1\):
The eigenvalues are approximately \(\lambda_1\approx11.83\), \(\lambda_2\approx-22.83\), and \(\lambda_3\approx-2.67\). The origin is a saddle, with one unstable and two stable directions. Local repulsion does not identify where other trajectories go.
Non-Trivial Equilibria:
Unlike the classical Lorenz system, which has symmetric equilibria at \((\pm\sqrt{\beta(\rho-1)}, \pm\sqrt{\beta(\rho-1)}, \rho-1)\), the Tantara system's \(\tanh\) term breaks this symmetry. The non-trivial equilibria satisfy the transcendental system:
At the published parameters, write \(x=1.5\tanh(z)/(z-27)\), \(y=x(28-z)\) and \(F(z)=xy-(8/3)z\). Interval evaluation gives \(F(27.16140158)>0\) and \(F(27.16140160)<0\), bracketing an equilibrium near \((9.29359,7.79359,27.16140)\). On the bracket, \(1-10^{-20}<\tanh(z)<1\). The Jacobian characteristic polynomial \(\lambda^3+a_1\lambda^2+a_2\lambda+a_3\) has \(a_1=41/3\), \(117.31813<a_2<117.31816\), \(1592.31584<a_3<1592.31626\), and \(a_1a_2-a_3>11.03\). The cubic Routh–Hurwitz criterion gives local asymptotic stability: nearby trajectories settle to this point. This rules out universal convergence to nonstationary chaotic motion without deciding what happens from other starting points.
5. Visual Characteristics
The numerical trajectory shown here resembles a “Tilted Butterfly.”
Three visual features of this example are its two lobes, an offset crossover and a pronounced vertical extent.
- The Fold: The pictured path traces two lobes.
- The Warp: In this view, the crossover between the lobes appears offset.
- The Spine: The vertical axis represents Logic (\(z\)). At large positive \(z\), the added forcing in the \(x\) equation approaches \(\mu\). The proof in Section 4.2, not the visual metaphor, establishes boundedness.
6. Implementation Notes
For researchers, artists, or developers wishing to simulate the Tantara Attractor, snippets are provided below for common environments.
6.1 Python (Scientific Computing)
For plotting trajectories and exploring their numerical behavior.
import numpy as np
from scipy.integrate import odeint
def tantara(state, t, sigma=10.0, rho=28.0, beta=8.0/3.0, mu=15.0):
x, y, z = state
dxdt = sigma * (y - x) + mu * np.tanh(z)
dydt = rho * x - y - x * z
dzdt = x * y - beta * z
return [dxdt, dydt, dzdt]
# Usage
state0 = [1.0, 1.0, 1.0]
t = np.arange(0.0, 40.0, 0.01)
result = odeint(tantara, state0, t)
6.2 Processing / Java (Creative Coding)
Built for real-time generative art visualizations.
float x = 1.0, y = 1.0, z = 1.0;
float sigma = 10.0, rho = 28.0, beta = 8.0/3.0, mu = 15.0;
void updateTantara(float dt) {
float dx = (sigma * (y - x) + mu * (float)Math.tanh(z)) * dt;
float dy = (rho * x - y - x * z) * dt;
float dz = (x * y - beta * z) * dt;
x += dx;
y += dy;
z += dz;
point(x * scale, y * scale, z * scale);
}
6.3 GLSL & WGSL (Shaders)
For high-performance rendering in web or game engines.
GLSL (WebGL)
vec3 tantara(vec3 p) {
// Note: Use exact floating point division for beta
float dx = 10.0 * (p.y - p.x) + 15.0 * tanh(p.z);
float dy = 28.0 * p.x - p.y - p.x * p.z;
float dz = p.x * p.y - (8.0 / 3.0) * p.z;
return vec3(dx, dy, dz);
}
WGSL (WebGPU)
fn tantara(p: vec3<f32>) -> vec3<f32> {
let sigma: f32 = 10.0;
let rho: f32 = 28.0;
let beta: f32 = 8.0 / 3.0;
let mu: f32 = 15.0;
let dx = sigma * (p.y - p.x) + mu * tanh(p.z);
let dy = rho * p.x - p.y - p.x * p.z;
let dz = p.x * p.y - beta * p.z;
return vec3<f32>(dx, dy, dz);
}
6.4 Mathematica (Interactive Exploration)
For interactive parameter exploration and bifurcation analysis. The Manipulate interface allows real-time adjustment of all system parameters.
Manipulate[
Module[{sol, x, y, z, t},
sol = NDSolve[{
x'[t] == sigma (y[t] - x[t]) + mu Tanh[z[t]],
y'[t] == rho x[t] - y[t] - x[t] z[t],
z'[t] == x[t] y[t] - beta z[t],
x[0] == 1, y[0] == 1, z[0] == 1
},
{x, y, z}, {t, 0, T}, MaxSteps -> 100000];
ParametricPlot3D[
Evaluate[{x[t], y[t], z[t]} /. sol], {t, 0, T},
PlotRange -> {{-30, 30}, {-30, 30}, {0, 60}},
Boxed -> False, Axes -> False,
PlotStyle -> {Directive[RGBColor[0, 0.8, 1], Thickness[0.003], Opacity[0.8]]},
ImageSize -> {500, 450},
Background -> Black,
ViewPoint -> {2.4, 1.3, 1.0}
]
],
{{sigma, 10, "Interaction (σ)"}, 1, 20, Appearance -> "Labeled"},
{{rho, 28, "System Energy (ρ)"}, 10, 50, Appearance -> "Labeled"},
{{beta, 8/3, "Dissipation (β)"}, 1, 5, Appearance -> "Labeled"},
{{mu, 15, "Shift Factor (μ)"}, 0, 30, Appearance -> "Labeled"},
{{T, 50, "Time"}, 10, 100, Appearance -> "Labeled"},
SaveDefinitions -> True,
TrackedSymbols :> {sigma, rho, beta, mu, T}
]
7. Final Thoughts
The Tantara Attractor was designed deliberately. Here the hyperbolic tangent is a metaphor for how tension (\(x\)), creativity (\(y\)), and technical logic (\(z\)) can meet and produce unexpected patterns.
✶✶✶✶
About the Author
Burton Rast is a designer, a photographer, and a public speaker who loves to make things.