Mosaicus
Contents›Selections›Warp and extrude

Warp and extrude

The Warp tool (D) reshapes the selection itself: it can tip it back in perspective, bend it into an arc, bulge it as if on a ball, wrap it into a ring, or give it depth as a classic 3D logo does. You build the result in steps, each with handles on the picture, and every step stays changeable until you apply it. The result is a selection again, ready to fill. An extrusion also saves its face and sides as separate saved selections, so you can fill each part in its own colors.

The word LOGO selected with the Text tool, bent into an arc and extruded down and to the right: the face tinted blue, under a light from above right the sides facing right tinted yellow, those facing down brown and those between orange, the extrusion's handle out beyond the word's lower right; the options bar shows the steps Arc and Extrude
An Arc, then an Extrude, still live

Starting

Select something, then take up the Warp tool (D, or Select ▸ Warp…, Ctrl+T). The warp starts at once from the selection. If the tool is already in hand, press on the picture or click Warp the selection to start from the selection you have now.

The selection is taken as outlines, so the steps bend smooth lines rather than pixels. Edges on the options bar says how:

  • Smooth (the default) draws the outline through the middles of the selection's pixel edges, so a staircase becomes a straight diagonal and a curve stays a curve.
  • Pixel keeps the outline along the pixel edges, staircases and all.

Either way, a warp with no steps gives back exactly the selection it started from. Text selected with the Text tool's Selects in an installed font brings the font's own letter outlines instead, so Edges doesn't show for it (see Text).

While a warp is live, the picture shows what it will select: the pixels tinted, with a white outline. Pointing at a handle names what it does. A wide-pixel picture is warped as the screen shows it, so a circle is round on the screen, and Depth and Rings are measured that way too, a line's height being 1.

Steps

Add a step… on the options bar adds one. Its handles appear on the picture, and its own options on the bar. The steps run in order, each bending what the one before it made. The step buttons on the bar show which step's handles are showing; click one to change that step again, even after adding others. × (or Del) removes the step shown.

Corners

Four corner handles around the shape, and a smaller one in the middle of each edge. A corner stops where the four would fold over, and an edge where it would meet the one opposite.

  • Drag a corner anywhere to slant or stretch the shape, or put it in perspective.
  • Shift-drag a corner for a symmetric perspective: the corner at the other end of its edge moves the opposite way by the same amount. Drag a top corner inward to tip the shape back, as a scrolling text crawls into the distance; drag it up or down to turn the shape left or right.
  • Alt-drag a corner to scale all four from the middle.
  • Drag an edge's handle (shown where the edge is long enough on the screen) to move that edge straight in or out; its corners slide along the sides beside it, so a perspective stays as it is. With Alt, the opposite edge moves the other way too, sizing the shape about its middle.
  • Drag inside the corners to move the shape, outside them to turn it (Shift: whole 15° turns).

Tilt sets the tip exactly: how much shorter the top edge is than the bottom one, in percent (−99 to 99; below 0, the bottom edge is shorter and the shape tips forward). Reset puts the corners back.

Envelope

The whole shape bent by one amount, in a Style:

Style What it does
Arc Bends it round a curve, as text along the top of a circle. On a shape tall for its width it stops before its inner rows would meet in the middle.
Arch Raises the middle, keeping uprights upright.
Bulge Makes the middle taller, bowing the top and bottom out.
Flag One wave across.
Wave Two waves across.
Rise The right side up and the left down, in a smooth curve.
Squeeze Narrows the middle row.

Bend (−100 to 100; 50 to start) is how much; below 0 bends the other way. Drag the diamond on the line above the shape, or type it. Vertical bends down the shape instead of across; the diamond moves to the line at its left.

Radial

Changes the shape inside a circle around a center; outside the circle nothing changes.

  • Spherize pushes it out from the middle, as if on a ball; an Amount below 0 pinches it in toward the middle instead.
  • Twirl turns it, the middle most and the circle's edge not at all. An Amount of 100 is a whole turn.
  • Ripple makes rings, as on water. Rings sets their spacing (2 to 200).

Drag the center (or anywhere inside the circle) to move it, the handle on the circle's right to change its size, and the diamond on the line below it to set the Amount (−100 to 100).

Ring

Bends the shape round a circle: its left edge to its right goes round the ring, its top on the outer circle and its bottom on the inner. A line of text becomes a ring of text. A new ring makes its middle circle as long as the shape is wide, so the letters keep their proportions (a short shape gets a bigger circle, keeping a hole in the middle), and puts the middle of the shape at the top.

Drag the center (or inside the inner circle) to move it, the handles on the outer and inner circles to change their sizes, the diamond outside the ring's end to change how far round it reaches (Sweep, 10° to 360°), and the band itself to turn it (Shift: whole 15°). Inside out puts the top on the inner circle, for a ring read from the inside.

Extrude

Gives the shape depth: its sides go back from its face, which stays in front. An Extrude is always the last step: the warps before it shape the face, then it's extruded. Adding a warp while there is one puts the warp before it.

  • Straight: every side goes back the same way, by the same amount. Drag the handle beyond the face's lower right corner to set which way and how far (it moves twice as far as the sides go, for finer control), or type Depth (0 to 200).
  • To a point: the sides narrow toward a vanishing point. Drag the point anywhere; near a Radial or Ring step's center, or the middle of the face, it snaps there. Depth (the diamond on the line below the face, or typed as 0 to 100) is how far toward the point the sides go. Spherize the shape, then extrude it toward the center of the spherize, and each letter's sides face the middle, as on a ball.

Sides that face away are hidden behind the face, as on a solid. The sides that show are split by which way each faces against a Light (from Above right to start, or any of eight directions): with Tones at 3, the sides facing the light, those across it and those facing away from it; at 2, facing it or not. On the picture they're tinted yellow, orange and brown, and the face blue.

Applying

Enter or Apply (✓) makes the result the selection; Esc or Cancel (✕) drops the warp, leaving the selection as it was. Choosing another tool applies it too; if you cancel an extrusion's name then, the Warp tool comes back with the warp still being made. The Hand and Zoom tools (or Space) move the view without applying it: the warp still shows, and Enter, Esc, Del and Undo still work on it (not on the picture); its handles come back with the Warp tool.

With an Extrude, applying first asks for a Name: the text, when the selection is a short text from the Text tool, or else Extrusion 1 and so on. The parts are saved as selections:

Saved as What it is
NAME face The front.
NAME sides All the sides that show.
NAME sides light The sides facing the light.
NAME sides middle The sides across it (with 3 tones).
NAME sides dark The sides facing away from it.

A part with no pixels isn't saved. If any of the names are taken, you're asked first: they're replaced, and a part an earlier extrusion of that name had that this one doesn't make (its sides middle, when this one has 2 tones) is deleted, so the parts always match. Saving them is one undo step, Extrude “NAME”, and the selection becomes the whole shape, face and sides.

To finish a logo, load each part (Select ▸ Load selection, or the Selections panel) and fill it: a gradient across the face, light colors on the light sides, dark ones on the dark sides. The Light tool's Bevel on the face adds to it.

Pixels too

Usually a warp changes only the selection. With Pixels too on, applying also moves the selected pixels with it. Each pixel of the result takes its color from where the steps brought it from, so no new colors appear, and where the pixels were is cleared to the background color first, as Edit ▸ Clear does. With an Extrude, only the face carries pixels; the sides are left for you to fill. Moving the pixels is one undo step, Warp, keeping the cell limits as painting does (see Cell limits). With an Extrude too, that's two steps: Extrude “NAME”, then Warp.

Undo while warping

While a warp is live, Ctrl+Z and Ctrl+Y step through its own changes: each drag, each change to a step's options, each step added or removed, and Edges (not Pixels too, which only says what applying does). With nothing left to undo, Ctrl+Z drops the warp. Esc during a drag puts just that drag back.

A warp is dropped when something else changes the selection (Select ▸ All, a saved selection loaded), or when the picture changes size or format.