# @dioramajs/text/orbit

Exports of @dioramajs/text/orbit.

## Functions and values

- [default](/docs/api/text-orbit/default.md): The text wrapped round a 3D form that turns: a drum like a spinning label, a globe of rows or a tilted ring round the element's centre, passing in front of and behind its image. The letters bend with the form and are lit by their normals, so those turning away darken and the ones at the back show mirrored through the gaps, dimmed by depth. The turn follows the scroll, a drag with inertia or runs by itself. The DOM text stays once for screen readers.
- [MAX_LETTERS](/docs/api/text-orbit/max-letters.md): Most letters drawn, copies included.
- [wrap](/docs/api/text-orbit/wrap.md): Lays the letters of `atlas` round a form of radius `size` px: each line on a band (cylinder, ring) or a row of a globe (sphere), its first copy centred in front. With `repeat` a line is copied to fill its circle, its letters spread a little so the copies close up; a globe also fills its surface with rows of the lines from pole to pole. The form grows when a line would not fit.

## Types

- [By](/docs/api/text-orbit/types/by.md)
- [Style](/docs/api/text-orbit/types/style.md)
- [Wrapped](/docs/api/text-orbit/types/wrapped.md): The letters laid out on the form.
