Circle With N Points
Script for Adobe Illustrator
ㅤ
Description
Circle With N Points is a versatile Adobe Illustrator script that allows you to easily generate circles and polygons with customized points. It comes with a live preview and extensive options including variable radii, adjustable stroke weight, specific point counts, customized color picking, and an ability to generate concentric shapes instantly.
ㅤ
Features
- Custom Points: Set exact number of points ranging from 3 up to 50 for unique shapes.
- Multiple Shape Types: Easily toggle between generating circles or polygons.
- Live Preview: See real-time visual updates of your shape and anchor points as you adjust settings.
- Concentric Rings: Create up to 20 equally spaced concentric rings at once.
- Custom Colors: Pick any stroke color from a dynamic palette, including RGB, Hex, CMYK, Gray, and Spot.
- Settings Persistence: Remembers all your last used preferences for the next time you use the script.
- Quick Reset: Right-click on any slider to instantly revert it to default settings.
ㅤ
Installation
1. Download the Circle With N Points.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 > Circle With N Points
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
ㅤ
General Setup
When you launch the script, a main dialog window appears. It displays all the settings required to create custom shapes.
- First, make sure you have an active document open.
- Make sure the active layer is unlocked and visible.
- If the current layer is locked or hidden, the script will automatically create a new layer for your shapes.
ㅤ ㅤ

ㅤ
ㅤ
➊ Choosing Shape Type
You can select the base style of your shape.
- Circle: Generates a curved path connecting your specified points.
- Polygon: Generates straight lines connecting your specified points.
ㅤ ㅤ

ㅤ
ㅤ
➋ Setting Number of Points
Adjust how many anchor points the shape will have.
- Use the slider or type a value between 3 and 50 into the text box.
- Right-click the slider to reset to the default value of 4 points.
- Use the Up and Down arrow keys inside the text box to fine-tune the value (Hold Shift to jump by 10).
ㅤ


ㅤ
➌ Adjusting Radius
Set the overall size of your shape.
- Use the slider or type a value between 10 and 1000 into the text box.
- Right-click the slider to reset to the default value of 100.
- Arrow keys also work here for precise adjustments.
ㅤ ㅤ
➍ Configuring Stroke Weight
Define the thickness of the shape's path.
- Change the stroke thickness from 0.1 to 100.
- Right-click the slider to reset to the default value of 1.
ㅤ ㅤ
➎ Generating Concentric Rings
Create multiple shapes within one another instantly.
- Enter a value or slide from 1 to 20 rings.
- The shapes will be spaced equally, starting from the full radius down towards the center.
- Right-click the slider to reset to a single shape.
ㅤ

ㅤ ㅤ
➏ Applying Stroke Color
Select the perfect outline color for your geometry.
- Type a valid Hex code directly into the input field (e.g., #FF0000).
- Click on the color swatch or the label text to open the native Illustrator Color Picker.
- The color picker supports all native formats, and your choice will apply seamlessly to the generated shapes.
ㅤ ㅤ
➐ Live Preview
Preview your changes directly on the artboard without committing to them.
- Check or uncheck the Preview box to toggle real-time rendering.
- When enabled, the script draws a temporary preview layer.
- Red dots will indicate the position of individual anchor points for better visual clarity.
ㅤ ㅤ
➑ Finalizing
Once you are happy with the preview:
- Click the OK button to generate the final path items on your artboard.
- The view will automatically center and fit your newly created shape(s) in the active window.
- Click Cancel if you wish to exit without generating the shape.
ㅤ ㅤ
☻ Wrap-Up
Circle With N Points gives you powerful, customizable geometry tools right within your workflow. The addition of saved preferences and concentric shape generation makes creating intricate patterns faster than ever. Enjoy experimenting with various point counts and rings to build complex vector artwork effortlessly!
ㅤ
ㅤ