# Animated drawing backgrounds

Compose the finished scene first. In Folvra the bridge sits below the headline, the ferry anchors the lower right, and most of the sky is open paper. Pick one landmark you can keep in view at both desktop and phone sizes.

## Prepare the drawing and wash

Create a landscape plate with empty space reserved for live type. Seedream 5.0 Pro can make the composition. Export the paper separately when the illustration needs to sit under a heading. Derive the ink proof from the finished plate or trace it on the same artboard. Overlay the two at half opacity and align a specific detail, such as the ferry mast. Give both layers the same aspect ratio, crop and focal point at every breakpoint.

## Give the brush a path

Use a fixed arrival map in which each pixel records when the brush reaches it. Lay out a few broad, overlapping strokes and break their advancing edges into fine bristles. The paper is visible from the start. Reveal the ink contours first, then send the softer wash through a little later. Leave enough time to recognize the line drawing. A single fade makes both impressions appear everywhere at once.

For a one-time reveal, start when the illustrated area enters view. Decode the images and brush mask before hiding the finished plate. Stop the animation after the last stroke and discard the masks so the final drawing stays sharp. Keep all movement inside the illustration. Offer the finished scene immediately with reduced motion or when an asset fails. If a scroll-scrubbed reveal is requested, map the same brush progress to scroll distance in both directions.

## Working example

Open [the ferry landing](demo/index.html) and use **Replay brushwork** to inspect the line and wash passes. The small mask atlas stores the shape of each brush pass. Swap the registered plates to reuse it. On a narrow screen, check the ferry, the title and the point where the water meets the paper at the same time.

![Preview of Animated drawing backgrounds](demo/preview.jpg)

---

Copyright (c) 2026 Meng To

The license files are attached. [MIT](https://knowen.md/f/3c02f208-fea4-4055-a09c-593a4f764a38)

The attached ZIP contains the pinned supporting files cleared for import. Applicable license notices are attached or included when cleared.