<commit_before>scriptographer-scripts
======================

Scripts I've written to automate Illustrator with Scriptographer - http://scriptographer.org/<commit_msg>Add description of SmoothBlend.js<commit_after># scriptographer-scripts

Scripts I've written to automate Illustrator with Scriptographer - http://scriptographer.org/

## SmoothBlend.js

The easiest way to create extrusion effects in Illustrator (like in the old Netflix logo) is to create a blend, expand it and use the Pathfinder Unite tool to merge into a single compound path.

The disadvantage of this technique is that because the shape was constructed from several 'in-between' shapes, you can end up with a stepping effect on paths that are meant to be straight.

SmoothBlend.js smooths these paths and removes the extraneous anchor points. When you run this script you'll be prompted for a tolerance. Any points which are closer than this tolerance will be removed from the selected object.

{'fraction_non_alphanumeric': 0.06514994829369183, 'fraction_numerical': 0.0, 'mean_word_length': 5.088050314465409, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4680800', 'n_tokens_mistral': 238, 'n_tokens_neox': 224, 'n_words': 127}