![]() ![]() I guess there're more mathematically convincing methods. But it produces the fastest and the most accurate result for now. The following image is a web browser version. ![]() There're some variations inside "variations" folder. This is an example image which applied path-offset effect after generated circles. (Make sure not to select the rectangle frame at this time.) example If you feel the error is still noticeable, you can select drawn circles and run this script again to continue adjusting process. If you don't like this coloring, edit the beginning part of the script to set " mark_with_red_for_max_dist_err_circle" to false. The circle which has "max dist err" is marked with red like the following image. If it keeps growing or is seemed hard to converge, something is wrong. ![]() But 2.0 or lower value seemed good enough. It means the maximum distance between circles. While running, this script displays " max dist err" in the window. Please think them like the heel of bread. You can edit the number of random points and other settings. Mode-2 : if 3 or more path is selected : arranges selected circles. Mode-1 : if only 1 object is selected : generates random points inside it. USAGE: Select a rectangle path or circles, and run this script.Ī window with an output field and buttons will open. This is a script for Adobe Illustrator that draws non overlapping tangent circles, in Euclidean geometry. If you use right click on each file to save, you'll get an HTML file. Use Download button (on the right side of this page) to download ZIP file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |