Anukari Logo
User manual · Objects & Properties

Spring

A 3D rendering of Anukari's Spring object

The Spring physically connects Body objects to one another, to Anchors, and to Resonators. Each Spring has a configurable neutral length that it is always trying to return to. If it is stretched beyond its neutral length, it will pull the two ends together; if it is compressed below its neutral length, it will push them apart.

Springs can be used to quickly connect objects by hovering the mouse over the first object, pressing Shift + C, and then clicking the next object to be connected.

The Spring has three relatives in the Core tab of the Object Palette, each with its own page: the Stable Spring, which stays stable at any stiffness; the Collision, which only pushes; and the Rigid Rod, which holds its ends at a fixed distance. All four share the Spring's panel, and its Type drop-down turns any of them into another.

Video tutorial · 1:27

Spring Properties#

  • Type: Which kind of spring this is. Spring pulls and pushes its ends toward its neutral length; Stable Spring is Spring with a damper, stable at any stiffness; Collision only pushes, and only while its ends are closer than that length; Rigid Rod holds its ends at the neutral length. When several springs of different types are selected, the panel shows every property any of them uses, and each property changes only the springs that use it. A change that would put more than 16 Stable Springs, Collisions and Rigid Rods in one group is refused with an explanation (see The Group Limit below).
  • Stiffness: The stiffness of the Spring. This controls how resistant the Spring is to compression or elongation, or in other words, how hard it will push/pull on connected Bodies to return to its resting length. Higher stiffness tends towards higher pitch, and vice versa. When attached to a Body with high mass, higher stiffness is required for the same pitch. A very high stiffness can make a Spring unstable; use a Stable Spring for very stiff connections.
  • Length: The neutral resting length of the Spring. This is the length that the Spring is always trying to return to. When the two Bodies connected by the Spring are at this distance apart, the Spring does not push/pull on them. As the Bodies get closer together than the neutral length, the Spring will push them apart, and as the Bodies get further apart than the neutral length, the Spring will pull them together.
  • Relax Spring Length: This button sets the neutral resting length of the Spring to its current length. This can be used to relax a Spring so that it is no longer under compression or elongation in its current configuration.

When a Spring connects to a Resonator, the panel also shows where the Spring touches the Resonator's surface. See Resonator for those settings.

The Group Limit#

Stable Springs, Collisions and Rigid Rods are solved together with the objects they connect, which costs much more CPU than a regular Spring. Those that share a moving end (a Body or a Resonator; Anchors don't count) form a group, and a group can hold at most 16 of them, in any mix. Regular Springs don't count toward the limit.

Anukari refuses any edit that would go past the limit instead of leaving some of them silently doing nothing: changing a Spring's Type, pasting, duplicating, and Duplicate in Pattern are refused with a message saying why, and a new one can't be connected into a full group. To make room, remove one from the group, or change it to a regular Spring. If a preset already has too many in a group, the extras do nothing, and a warning badge on each of them says so.