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.
This tool offers precise control over size, roundness, fill color, and stroke properties, allowing designers to create custom squircles with visual perfection.
ㅤ


ㅤ
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
ㅤ
Launch the Script
- Open Adobe Illustrator and 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ю
ㅤ
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.
ㅤ
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.
ㅤ
Stroke Settings
- Set the stroke weight (thickness) using the scrollbar (0-200 points).
- Click on the "Stroke Color" swatch to open the color picker and select your desired stroke color.
ㅤ
Fill Color
- Click on the "Fill Color" swatch to open the color picker.
- Select any color from Adobe's standard color picker.
ㅤ
ㅤ
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.
ㅤ
This powerful tool streamlines the creation of perfectly balanced squircles, saving time and ensuring mathematical precision in your designs.
ㅤ
ㅤ