Scanimation Workbench canvas 2D · barrier-grid animation

A few frames are cut into thin stripes and shuffled into one striped print. A sheet of black bars with one clear slit per set of stripes shows a single frame at a time, and sliding the sheet sideways plays them in turn.

Starting…

Things to try

  • Base alone. Switch the view to Base: every frame is there at once, as a striped mess. The overlay adds nothing, it only hides.
  • Drag the offset. Whole numbers are clean frames. Halfway between, each slit straddles two stripes and you see both.
  • Frame count. Go from 4 to 8. Motion gets smoother, but each frame keeps fewer columns and the bars cover more of the page.
  • Slit opening. At 70% the changeover between frames sharpens and the whole thing dims.
  • Greyscale. Try it with a photo, then switch back. See below.

Keys: Space play, [ and ] step a frame, V cycle the view, B base PNG, O overlay PNG, S overlay SVG, F full screen.

Interleave

k(x)    = floor(x / w) mod N
base(x, y) = frame[k(x)](x, y)
overlay(x) = clear if k(x − offset) = 0, else opaque

w is the stripe width in printer pixels and N the frame count. Output column x is taken from frame k, at the same x: frames are sampled, not squeezed. With the overlay slid by offset = j·w, only the columns of frame j sit under a slit.

The stripe pitch is N·w pixels, or 25.4·N·w / dpi mm. Both files are built at the print resolution, so w is a whole number of printer pixels and the two prints agree to the pixel.

Why silhouettes

The overlay hides (N − 1)/N of the page, so the picture you see is mostly black bar. A black figure on white survives that: its outline is still carried by the edges that show through the slits. Greys do not. Seen through bars, a mid grey and a white are both just "dark with lighter streaks".

A printer also has no grey ink. It draws greys as a halftone screen of dots about as coarse as the stripes, and two fine patterns at nearly the same pitch beat against each other as moiré. Solid black and white need no screen at all. Greyscale is here to try, with bold, contrasty frames, but expect mud.

Printing

  • 100% scale. Print at actual size, with "fit to page" and "scale to fit" off. Any resampling moves the stripes off the printer's pixel grid and the effect falls apart. The PNGs carry their resolution, so "actual size" comes out right.
  • Check the scale bar. Both sheets print one in the margin. Measure it; if it is off by even 1%, base and overlay drift apart across the page.
  • Same printer for both. Then any small error is the same on each sheet and cancels.
  • Overlay. Laser printer onto laser transparency film, or an inkjet onto film made for inkjets, at the darkest setting. Thin bars let the hidden frames ghost through. The SVG is the same overlay as vectors, with the slits as a hidden layer of cut outlines for a laser cutter.
  • Pitch. Home printers manage a stripe of about 0.3 to 0.5 mm, a pitch of 1.5 to 3 mm with six frames, roughly 8 to 16 lines per inch. Finer than that and toner spread closes the slits.
  • Registration. Line up the corner marks and frame 1 shows. Keep the bars parallel to the stripes; a small tilt gives moiré bands.