GithubHelp home page GithubHelp logo

palette-2-gradient's Introduction

palette-2-gradient


what is it?

It's a script for Photoshop that adds a new gradient to your gradients palette by reading the colors from your swatches panel. The resulting gradient will be evenly distributed with no alphas and all midpoints at 50%.

The idea is that after you have carefully chosen a palette, you sometimes need the colors in between. Please see this interesting collection for an example. Palette Jacks

You only need palette2gradient.flat.jsx, I included the unflattened palette2gradient.jsx for archival purposes but you'll need the latest version xbytor's amazing xtools suite in order to run it. There are some issues with the latest xtools (2_1 as of this writing) version of Gradient.jsx and ColorSwatches.jsx so you may need to contact the author for the fixed versions.


usage

  1. Download palette2gradient.flat.jsx
  2. In Photoshop, go to File -> Scripts -> Browse...
  3. Choose the .jsx file.
  4. Open your gradients palette to see your new gradient

Known Issues

The script currently fails if more than around 100 colors are in your swatches panel. I don't currently have any plans to fix this since you would probably never need that many flags in your gradient.

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.