Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.33 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.33 KB

Sketch Interpolate Paths Plugin

This plugin attempts to recreate the "interpolate path" feature which may be known from tools like Adobe Illustrator for the otherwise brilliant Sketch app.

The plugin will eventually be able to generate a stepwise interpolation between two selected paths. Below is a demo animation showing the current capabilities of the script:

Demo

The interpolation seen in the animation is by no means perfect yet.

Usage

  • Put the .sketchplugin file into the Plugins folder of your Sketch app.
  • Execute from Sketch's Plugin menu after selecting two paths.

Features

The following attributes are regarded when doing the interpolation:

  • Position of points
  • Position of curve anchors
  • Path opacity
  • Path size (thickness)

Todo:

  • All other path-level properties (Color, ...)

Can't really be done:

  • Blending modes: interpolation does not make sense here

Currently, both paths must have the same number of points. This restriction might be lifted in the future. There's no guarantee of proper working if corresponding points have differing curve modes in the two paths. Generally, it should work fine, though.

Generally the plugin copies the properties of the hierarchy wise bottom-most path selected (i.e. the one furthest in the back).