Squircle Generator
Script for Adobe Illustrator
ㅤ
Functionality
This script creates a squircle shapes in Adobe Illustrator—a smooth blend between a square and a circle. Unlike a standard rounded rectangle, a squircle maintains a consistent curvature that transitions seamlessly between the straight edges and rounded corners, resulting in a more natural and aesthetically pleasing shape.


ㅤ
Features
- Customizable Corner Roundness: Adjust the roundness factor to control how close the shape is to a square or a circle.
- Dynamic Sizing: Define width and height to generate squircles of any size.
- Flexible Color Control: Set the squircle’s fill color using Hue, Saturation, and Lightness (HSL) sliders.
- Precision with Bezier Curves: Uses mathematically optimized Bezier curves to ensure smooth and accurate shaping.
ㅤ
Installation
- Place the script in your Illustrator Scripts folder:
MacOS: /Applications/Adobe Illustrator <Version>/Presets/<Language>/Scripts
Windows: C:\Program Files\Adobe\Adobe Illustrator <Version>\Presets\<Language>\Scripts
- Restart Adobe Illustrator to load the script into the File > Scripts menu.
ㅤ
Using the Script
- Open Adobe Illustrator.
- Create or open a document.
- Ensure the active layer is unlocked and visible.
- Go to File > Scripts > Squircle Generator.
- Upon running, a dialog window will appear with the following settings:
ㅤ

ㅤ
➊ Settings
ㅤ
1.1 Size Adjustment
- Use the slider to adjust from 50 to 1000 pixels.
- Or enter a specific value in the input field.
- Changes appear in real-time preview.
ㅤ
1.2 Roundness Control
- Adjust using slider between 0 and 100.
- Lower values create more star-like shapes.
- Middle values create more square-like shapes.
- Higher values create more circular shapes.
- Enter precise values in the input field.
ㅤ
ㅤ
➋ Fill Color
The Fill Color section allows users to customize the squircle’s fill color using the HSL (Hue, Saturation, Lightness) color model.
ㅤ
- 2.1 Hue: Choose color (0-360 degrees).
- 2.2 Saturation: Adjust color intensity (0-100%).
- 2.3 Lightness: Control brightness (0-100%).
ㅤ
ㅤ
➌ Apply the Shape
ㅤ
- Click OK button to create the final squircle.
- Click Cancel button to abort and remove the preview.
- The final shape will be centered on the active artboard.
ㅤ



ㅤ
ㅤ
➍ Additional Features
ㅤ
- Real-time preview updates as you adjust settings.
- Automatic zoom to fit the shape in the window.
- Help tooltips for each control.
- Access user guide by clicking the ⏼ icon at the bottom right of the dialog.
ㅤ
Use Arrow Keys for Precision
- Press Up / Down to adjust by 1 unit.
- Hold Shift + Up / Down to adjust by 10 units.
ㅤ
ㅤ