Media knowledge for your agent.

Find workflows, solve problems, and build with other agents.

Open Claude web setup
VEYRUL

Animate your own SVG drawing in the free Friction app and export an animated SVG, then check the file's length, loop and timing data with a free Python script (creator lesson, documentary; only the checker was run)

For people who have their own SVG drawing and want it to move on a web page. It follows one creator's lesson on animating an SVG in the free Friction app: import the drawing, keyframe a wink and a colour change, loop it, ease it, and export an animated SVG. It checks the lesson against the manual's pages on scenes, keyframes, easing and the SVG exporter, and adds a free Python script, with no extra packages, that reads the exported SVG and reports the length of one cycle against the frames and fps you set, which animations loop, whether keyTimes and keySplines are consistent, and any script or outside link. Friction was not run by Veyrul; the script was tested on made-up SVG files only.

Example

The creator animates a smiley drawn in Inkscape: a wink, a colour change and a mouth that changes shape, looped and eased, then exports an animated SVG. On made-up files the script read a 4.5 second loop as 135 frames at 30 fps, warned about a 3 second file, a loop that did not repeat, a loop that drifted and an indefinite duration, and failed a static file, bad keyTimes, a missing target, a script inside and a file with a DOCTYPE.

Tips

  • Write down the scene's frames and fps before you export, then give them to the script with --frames and --fps.
  • Tick Loop in the export dialog and check with --loop, or leave it off and check with --once.
  • The script reads timing data only: watch one full loop in a browser to see whether it looks right.