Object Slicer
Script for Adobe Illustrator
✦ Available exclusively on Patreon for Pro supporters.
ㅤ
Description
Object Slicer is a powerful Adobe Illustrator script that slices any selected object into multiple segments with extensive customization options. Create stunning glitch effects, displaced designs, and artistic compositions by dividing objects into adjustable slices with control over rotation, spacing, randomization, and positioning.
ㅤ
Perfect for creating:
- Glitch art effects
- Displaced text and graphics
- Abstract geometric designs
- Motion-inspired compositions
- Experimental typography
- Creative poster designs
ㅤ
Features
- Flexible Slicing Patterns: Choose from Vertical, Horizontal, Square, or Circle slicing modes
- Adjustable Slice Count: Create 2-100 slices with precision control
- Rotation Control: Rotate slice masks up to ±3600 degrees
- Uniform & Random Widths: Toggle between uniform slices or randomized widths
- Position Offsets: Apply vertical and horizontal shifts to all slices
- Randomization: Add random vertical and horizontal displacement to individual slices
- Slice Gap Control: Create gaps or overlaps between slices
- Real-time Preview: See changes instantly before applying
- Non-destructive: Original object is preserved (masked) after slicing
- Auto-grouping: All slices are automatically grouped and selected for easy manipulation
ㅤㅤ
Installation
1. Download the Object Slicer.jsx script file.
2. Place the script in your Adobe Illustrator Scripts folder:
⮑ Mac: /Applications/Adobe Illustrator <Version>/Presets/<Language>/Scripts
⮑ Windows: C:\Program Files\Adobe\Adobe Illustrator <Version>\Presets\<Language>\Scripts
3. Restart Adobe Illustrator if it's already running
4. Access the script via File > Scripts > Object Slicer
5. Alternatively, run it directly via File > Scripts > Other Script... and browse to the file location
Tip: You can also drag and drop the .jsx file directly onto the Illustrator workspace to run the script instantly – no installation needed.
ㅤㅤ
Using the Script
ㅤ
Prepare Your Object
- Open Adobe Illustrator and create or open a document
- Select exactly one object you want to slice (text, shapes, images, groups, etc.)
- The script works with any vector or raster object
ㅤ
Launch the Script
- Go to File > Scripts > Object Slicer
- The Object Slicer dialog window will appear:
ㅤ

ㅤ
➊ Basic Settings Panel
Slices
- Controls how many slices to create from your object
- Use the slider for quick adjustments or type a specific number
- Right-click the slider to reset to minimum (2)
- Click the ✖ button to reset to default
ㅤ
Vertical Shift
- Applies uniform vertical offset to all slices
- Positive values shift up, negative values shift down
- Creates staggered or stepped effects
ㅤ
Horizontal Shift
- Applies uniform horizontal offset to all slices
- Positive values shift right, negative values shift left
- Creates cascading or offset effects
ㅤ
Rotation
- Rotates the slice masks (not available for Vertical/Horizontal patterns)
- Creates angled or diagonal slicing effects
- Disabled when using Vertical or Horizontal slicing patterns
ㅤ
Slice Gap
- Controls spacing between slices
- Positive values create gaps (separation)
- Negative values create overlaps
- Zero creates seamless slices
ㅤ
Slicing Pattern
- Square: Slices based on a square bounding box (supports rotation)
- Circle: Slices based on a circular bounding box (supports rotation)
- Vertical: Fixed vertical slices (no rotation)
- Horizontal: Fixed horizontal slices (no rotation)
ㅤ

➋ Randomize Panel
Randomize Slice Width
- When checked: Creates slices with random widths
- When unchecked: Creates uniform width slices
- Affects the visual rhythm and organic feel
Randomize Button
- Shuffles the randomization seeds
- Only enabled when Preview is on and at least one randomization is active
- Click to generate new random variations without changing settings
Vertical Shuffle
- Adds random vertical displacement to each individual slice
- Creates organic, hand-cut appearance
- Higher values = more chaotic displacement
ㅤ
Horizontal Shuffle
- Adds random horizontal displacement to each individual slice
- Creates scattered or exploded effects
- Combines with Vertical Shuffle for complex randomization
ㅤ

ㅤ
➌ Preview and Adjust
Preview
- Enabled by default
- Shows real-time preview of your slicing effect
- Uncheck to disable preview and improve performance with complex objects
ㅤ
Hide Edges
- Toggles visibility of object edges/outlines in Illustrator
- Useful for cleaner preview of the final effect
- Does not affect the final output
ㅤ
Zoom Button (✚)
- Automatically fits the selection in the viewport
- Helpful for seeing the entire effect after adjustments
ㅤ
ㅤ
➍ Apply or Cancel
OK Button
- Applies the slicing effect
- Original object is hidden (not deleted)
- All slices are grouped and selected for easy manipulation
- You can undo if needed (Cmd/Ctrl + Z)
ㅤ
Cancel Button
- Closes the dialog without applying changes
- Removes any preview effects
- Returns document to original state
ㅤ
ㅤ
Tips & Tricks
- Start Simple: Begin with fewer slices (5-10) to understand the effect, then increase
- Combine Effects: Use both uniform shifts and random shuffles for complex results
- Negative Gaps: Try negative Slice Gap values for interesting overlap effects
- Rotation Experiments: Extreme rotation values (beyond 90°) create unique patterns
- Pattern Selection: Square/Circle patterns work best for rotated effects
- Randomize Button: Click multiple times to find the perfect random variation
- Original Object: The original is hidden, not deleted—unhide it from the Layers panel if needed
- Group Management: All slices are grouped—ungroup (Cmd/Ctrl + Shift + G) for individual editing
- Performance: Disable Preview when working with very complex objects or many slices
- Undo Safety: You can always undo (Cmd/Ctrl + Z) if you don't like the result
ㅤ
Settings Persistence
The script automatically saves your current settings (slice count, offsets, randomization, etc.) when you click the OK button.
ㅤ
ㅤ
☻ Conclusion
With Object Slicer, you can effortlessly transform simple shapes into intricate, glitch-inspired masterpieces directly within Adobe Illustrator. We hope this tool enhances your creative workflow and inspires new artistic directions.