• Stars
    star
    128
  • Rank 281,044 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A plugin with tools (currently very basic tools) to assist with creating patterns out of shapes.

Skatter

Currently a work in progress. I'd like Skatter to be a plugin with tools to assist with creating randomised patterns out of pre-determined shapes.

Arrange skatter

Select the layers you'd like to Skatter and it will fill the artboard.

Shortcut key -> alt cmd A 🎉

Todo:

  • Better artboard support
  • Add UI to adjust entropy, spacing, rotation and opacity handles
  • What would be sweet is if there could be a Skatter object which retained the handle settings that you could tweak after the initial skatter; might need some smarts to help with that one.

Eventually, I'd like to implement some kind of dialog to adjust certain variables. Perhaps even extend the group class to allow adjusting handles after skattering. For the meantime; you can hack the plugin and edit the entropy and spaceScale variables for extra space and random positioning.

PreviewArrange

Random rotate

Select your layers and rotate them... randomly.

Shortcut key -> alt cmd R 💥

Todo:

  • add entropy handle

PreviewRotation

Beware

This is currently kinda shit and largely un-tested. Seems to work with groups, text layers, shapes. However, many apologies if it crashes Sketch for you.