Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Free Javascript for scaling with Golden Ratio

Engaged ,
Dec 11, 2021 Dec 11, 2021

What does the script do?
The script creates copy(s) of a selected object and reduces it with 68.2 % (figure for the golden ratio).

 

Where to find the Javascript ScalingGoldenRatio.jsx?

See https://www.behance.net/gallery/133015265/Javascript-for-Illustrator-Scaling-with-Golden-Ratio 

 

How to use Javascript ScalingGoldenRatio.jsx

(1) Select exactly one object or group in Illustrator.

(2) Start the script e.g. by dragging it onto the Illustrator.

(3) Enter the number of copies you want, e.g. "2", then you will get the object reduced twice with the factor 0.682.

 

A114-2D-AI-JS-GoldSchnitt0.png

 

Have fun with it.

– Jens

TOPICS
Scripting , Tools
1.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Engaged ,
Dec 15, 2021 Dec 15, 2021

New version 2.0 with user interface for all options. Link see above.

Have fun.

 

screen_EN.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 15, 2021 Dec 15, 2021

Forgive me if I'm being dense, but what is this doing that the transform effect doesn't already?

Screenshot 2021-12-15 162124.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 16, 2021 Dec 16, 2021

It is an exercise in programming in Javascript for Illustrator.

My script can also lighten the area colour per step and reduce the thickness of the edge per step.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 15, 2021 Dec 15, 2021

Well, Doug, I can imagine that it is just a harmless offer that may be useful sometimes.

 

On the other hand, there are a lot of scripts that do things that can also be done with built-in tools. Or bumpy actions.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 16, 2021 Dec 16, 2021

Of course I wouldn't mean to discourage such things Kurt. I'm more interested in the possibility that I am being dense.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 16, 2021 Dec 16, 2021

Jens,

 

As far as I know, the Golden (reduction) Ratio is 0.618034, rather than 0.682, in other words about 10% less. I believe you can also use 2 divided by 1 + the square root of 5 to have/keep it as close to exact as possible.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 16, 2021 Dec 16, 2021

Hi Jacob,

your are right. I have changed the value to 61.80339887 %. In the new user interface, any other value such as 50 % can also be entered.
Link: https://www.behance.net/gallery/125369255/Javascript-for-Illustrator-RotateArtboard 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 16, 2021 Dec 16, 2021

The exact number doesn't matter, because the Golden section is a myth anyway.

https://www.fastcompany.com/3044877/the-golden-ratio-designs-biggest-myth

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 16, 2021 Dec 16, 2021

is it not Divine in Nature?!! oh no!!! first Santa was a myth, then Flat Earth was a myth, what's next UFO's?!!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 16, 2021 Dec 16, 2021

Trump-Golden-Ratio.jpg

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 16, 2021 Dec 16, 2021

it can't get any more golden than that hahahah

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 17, 2021 Dec 17, 2021

It's so beautiful... it must be divine.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 17, 2021 Dec 17, 2021
LATEST

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 16, 2021 Dec 16, 2021

Can you see the difference now, Doug?

 

The script - unlike the Transform effect and despite some daring fake news claiming that the golden ratio is just a myth - finally led to the irrevocable insight that the golden ratio is there and of course true, just as Ton's striking proof shows.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines