mhulse / illy-anim

ExtendScript used to animate Illustrator’s layers in order to test animation frames.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Illustrator Layer Animation

ExtendScript (.jsx) used to animate Adobe Illustrator’s layers in order to preview sequenced layer frames for animation.

demo

Here’s a close-up of the script’s dialog window:

dialog

Features

  1. Animates layers based on user-defined frame rate.
  2. Skips non-printable (template) layers.
  3. Ascending or descending layer animation.
  4. Automatic direction reversal (ping pong).
  5. Restores layer visibility when done.

Installation

Put Layer Animation ⭐⭐⭐⭐⭐.jsx in /Applications/Adobe\ Illustrator\ CC\ 2014/Presets.localized/en_US/Scripts and run it directly in Illustrator via the File > Scripts menu.

Development

There’s a couple of ways to develop/test this script:

  1. See installation instructions above (not recommended).
  2. Use Adobe’s free ExtendScript Toolkit (ESTK) app (see animated gif below).

estk

Limitations of ESTK

  1. Using a dialog window, from what I have discovered, there’s no way to let the user cancel a loop (tried this, didn’t work).
  2. Related to the above, the built-in method $.sleep() blocks all other scripts from executing; that means spinning beach ball hell.
  3. Once a palette displays it will break its connection with the Application; this limits the kind of interactivity a palette UI offers.

Links


LEGAL

Copyright © 2015 Micky Hulse.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

ExtendScript used to animate Illustrator’s layers in order to test animation frames.

License:Apache License 2.0


Languages

Language:JavaScript 100.0%