Trace Alchemy

Optimise for the laser

Turn the trace into laser points, and balance detail, brightness and flicker.

The Frame tab turns the traced shapes into the points a laser draws. Changes show at once in Laser: in the status bar, and on a laser if one is connected (see Check it on a laser). They also apply to vector files, which skip tracing.

How a laser draws a frame

The projector's mirrors steer the beam from point to point at a fixed rate. Along a line the beam is on; between lines it is turned off (blanked) while the mirrors jump to the start of the next line.

The mirrors have weight, so they can't start, stop or turn instantly. Left alone, the beam would light up before the mirrors arrive (a faint tail into the start of the line), round off every corner, and overshoot the end of each line. Trace Alchemy adds points to give the mirrors time:

  • Blanked points before a line: the beam stays off while the mirrors arrive.
  • Anchor points: the beam holds on the same spot for a few points at the start of a line, at sharp corners and at the end, so they come out crisp and bright.
  • Blanked points on each jump: the beam is off while the mirrors travel.

Every one of these points takes as long to draw as a point of the picture. That's what they cost (see Detail costs points, points cost flicker).

Point count

Max Number of Points (1,000 to 3,000) is the most points a frame should have. When a frame has more, Trace Alchemy simplifies it step by step until it fits: wider spacing on blanked jumps first, then wider spacing along lines, fewer bends treated as corners, and fewer anchor points. A low maximum makes a busy frame coarser; it doesn't cut lines off. If a frame still doesn't fit after every step, it keeps the extra points.

To choose it, divide the projector's scan rate by the redraws a second you want: at 30,000 points per second and 25 redraws a second, that's 1,200 points.

Point spacing

Control What it does
Visible Segment Length The distance between points along a lit line. Shorter: smoother curves and brighter lines, more points. Longer: fewer points, but curves turn into visible straight pieces.
Blanked Segment Length The distance between points on a beam-off jump. Longer: fewer points spent jumping, but the mirrors may lag behind, leaving tails at the start of the next line.

Anchors

Enable Anchors adds the blanked and anchor points described above. The defaults suit most projectors; adjust them on a real laser.

Control What it does
Blanked Points under Line Start Points Beam-off points before each line. Too few: a tail into the start of the line.
Anchor Points under Line Start Points Points held at the start of each line, for a clean, bright start.
Min. Corner Angle (10-180) How sharply a line must turn to get corner anchors. Higher: only the sharpest turns get them.
Corner Anchor Points Points held at each corner, so it stays sharp instead of rounding off.
Blanked Points under Line End Points Beam-off points after each line, so the light is off before the mirrors move away.
Anchor Points under Line End Points Points held at the end of each line, for a clean finish.

Anchors are added for every line and every corner. In a frame of many short lines, such as text or a traced photo, they can be most of the points: reduce them there before lowering the spacing.

Drawing order

Control What it does
Optimize Path Reorders the lines so the jumps between them are as short as possible: fewer blanked points and less work for the mirrors. Path Optimization Quality searches longer for a better order, which slows tracing, especially for video.
Simplify Segments Drops points that add little to a line's shape.
Join Adjacent Segments Draws lines whose ends are closer than Adjacent segment join threshold as one line, with no jump between them. Set too high, it joins lines that should stay apart and draws a stray line between them.

Line type

A laser can't fill an area, so a filled shape is drawn as the line around it. Vector artwork can also have a separate outline stroke along the same edge. Line Type picks which one is drawn where both run along the same edge, so it isn't drawn twice: Outlines draws the stroke (in its colour), Fill Lines the edge of the fill (in the fill's colour). It matters mostly for vector files.

Overlaps and the frame edge

Control What it does
Enable Overlays Shapes on top hide the parts of shapes underneath, as in the picture. Off, every shape is drawn whole and lines show through each other. Overlay masks need it on.
Enable Clipbox Cuts shapes off at the edge of the laser frame, so artwork bigger than the frame ends cleanly at its border.

Check it on a laser

The view shows the trace, not the laser path, so judge flicker, brightness, tails and corners on a real projector.

  1. Connect an EtherDream, IDN or Beyond DAC and open the DAC tab. Trace Alchemy scans when it starts; click Scan to look again.
  2. Click the controller in the list. If only one is found, it's selected for you.
  3. Click LASER OFF under the view. It turns red and reads LASER ON.

The laser shows the frame in the view, follows every change you make, and plays along with the frame slider and Play.