Coder Social home page Coder Social logo

tesskerb / skatter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joshdjuric/skatter

0.0 0.0 0.0 954 KB

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

License: MIT License

JavaScript 100.00%

skatter's Introduction

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.

skatter's People

Contributors

joshdjuric avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.