---
url: /dyad/stable/stdlib/Dyad/connectors/Spline.md
description: >-
  Dyad Spline docs.  This connector represents a rotational spline with angle
  and torque as the potential and flow variables, respectively.
---

# `Spline` {#Spline}

This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively.

## Usage {#Usage}

`Dyad.Spline()`

## Source {#Source}

```dyad
"This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively."
connector Spline
  potential phi::Angle
  flow tau::Torque
metadata {
  "Dyad": {
    "labels": [{"label": "$(instance)", "x": 500, "y": 1100, "layer": "icon"}],
    "icons": {
      "default": "dyad://Dyad/SplinePortA.svg",
      "spline_a": "dyad://Dyad/SplinePortA.svg",
      "spline_b": "dyad://Dyad/SplinePortB.svg"
    },
    "path": {"stroke": "#aaa"}
  }
}
end
```

## Related {#Related}

* Examples

* Experiments

* Analyses

* Tests
