joshdjuric / Skatter

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:JavaScript 100.0%