Skip to content

marmat/sketch-interpolate-paths

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

A Sketch plugin for a step-wise transformation of one path into another.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published