๐Ÿชž

Mirror Positions

โ—
This script is still in development.
  • It may not function as intended or cause unexpected errors.
  • When using scripts, make sure to back up your projects as thoroughly as possible.
notion image
notion image
ย 
KR version of this content (ํ•œ๊ตญ์–ด ์„ค๋ช…)
โ—
์ด ์Šคํฌ๋ฆฝํŠธ๋Š” ํ˜„์žฌ ๊ฐœ๋ฐœ ์ค‘์ž…๋‹ˆ๋‹ค.
  • ์˜๋„ํ•œ ๋Œ€๋กœ ์ž‘๋™ํ•˜์ง€ ์•Š๊ฑฐ๋‚˜ ์˜ˆ๊ธฐ์น˜ ์•Š์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์‚ฌ์šฉํ•  ๋•Œ๋Š” ํ”„๋กœ์ ํŠธ๋ฅผ ๊ฐ€๋Šฅํ•œ ํ•œ ๋ฐฑ์—…ํ•˜์‹ญ์‹œ์˜ค.

Mirror Positions๋Š” ์„ ํƒํ•œ ๋ ˆ์ด์–ด์˜ ์œ„์น˜๋ฅผ ํ™”๋ฉด์˜ ์ค‘์‹ฌ์„ ๊ธฐ์ค€์œผ๋กœ ๋ฐ˜์ „์‹œํ‚ค๋Š” ์Šคํฌ๋ฆฝํŠธ์ž…๋‹ˆ๋‹ค.

After Effects๋กœ ๋‹ค์–‘ํ•œ ๋ชจ์…˜๊ทธ๋ž˜ํ”ฝ์„ ๋งŒ๋“ค๋‹ค ๋ณด๋ฉด ํ™”๋ฉด ์ค‘์‹ฌ์„ ๊ธฐ์ค€์œผ๋กœ ๋ ˆ์ด์–ด๋ฅผ ๋ฐ˜๋Œ€ํŽธ์œผ๋กœ ๋ณด๋‚ด์•ผ ํ•  ์ผ์ด ์ƒ๊ฐ๋ณด๋‹ค ๋งŽ์ฃ . ๋Œ€์นญ ๊ตฌ์กฐ๋ฅผ ์ด๋ฃฌ๋‹ค๋˜๊ฐ€, ๋ณ€ํ™”๋ฅผ ์ฃผ๊ธฐ ์œ„ํ•ด ํ™”๋ฉด์„ ๋ฐ˜์ „์‹œ์ผœ์•ผ ํ•œ๋‹ค๋˜๊ฐ€.
ํ•˜์ง€๋งŒ ํ™”๋ฉด ๋ฐ˜๋Œ€์ชฝ์œผ๋กœ ๋ณด๋‚ด๋Š” ๊ฒƒ๋„ ์‰ฝ์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋งˆ์šฐ์Šค๋กœ ์ง์ ‘ ๋Œ์ž๋‹ˆ ์ด ์œ„์น˜๊ฐ€ ๋งž๋Š”์ง€๋„ ๋ชจ๋ฅด๊ฒ ๊ณ , ๊ทธ๋ ‡๋‹ค๊ณ  ์ด๋ฅผ ์œ„ํ•ด์„œ ์‚ฌ์ „ ๊ตฌ์„ฑ(pre-comp)๋ฅผ ํ•˜๋Š” ๊ฒƒ๋„ ๋ฒˆ๊ฑฐ๋กœ์šฐ๋ฉฐ, ๊ทธ๋‚˜๋งˆ ๊ฐ€์žฅ ํ™•์‹คํ•˜๊ณ  ํŽธํ•œ ๋ฐฉ์‹์ด Position ๊ฐ’์„ ์ง์ ‘ ๊ณ„์‚ฐ(์ปดํฌ์ง€์…˜ ๋„ˆ๋น„ ๋˜๋Š” ๋†’์ด์˜ ์ ˆ๋ฐ˜ a+(a-ํ˜„์žฌ ์œ„์น˜)ํ•˜์—ฌ ์„ค์ •ํ•˜๋Š” ๊ฒƒ์ธ๋ฐ, ์ด๋งˆ์ €๋„ ๋ ˆ์ด์–ด๊ฐ€ ์—ฌ๋Ÿฌ ๊ฐœ๋ผ๋ฉด ์—ญ์‹œ ๊ณ ํ†ต์ด๊ธฐ ๋•Œ๋ฌธ์ž…๋‹ˆ๋‹ค.
Mirror Positions๋Š” ํด๋ฆญ ํ•œ ๋ฒˆ์œผ๋กœ ์ด ๊ณผ์ •์„ ๋Œ€์‹ ํ•ด ์ค๋‹ˆ๋‹ค. ์‹ฌ์ง€์–ด ๋ ˆ์ด์–ด ์—ฌ๋Ÿฌ ๊ฐœ๋ฅผ ํ•œ๊บผ๋ฒˆ์— ์ฒ˜๋ฆฌํ•  ์ˆ˜๋„ ์žˆ์ฃ .
์ด ์ž‘์€ ์Šคํฌ๋ฆฝํŠธ๊ฐ€ ์—ฌ๋Ÿฌ๋ถ„์˜ ์ž‘์—… ์‹œ๊ฐ„์„ ์ ˆ์•ฝํ•ด ์ค„ ์ˆ˜ ์žˆ๊ธฐ๋ฅผ ๋ฐ”๋ž๋‹ˆ๋‹ค.
JP version of this content (ๆ—ฅๆœฌ่ชžใฎ่ชฌๆ˜Ž)
โ—
ใ“ใฎใ‚นใ‚ฏใƒชใƒ—ใƒˆใฏใพใ ้–‹็™บไธญใงใ™ใ€‚
  • ๆ„ๅ›ณใ—ใŸ้€šใ‚Šใซๅ‹•ไฝœใ—ใชใ„ๅ ดๅˆใ‚„ใ€ไบˆๆœŸใ—ใชใใ‚จใƒฉใƒผใŒ็™บ็”Ÿใ™ใ‚‹ๅฏ่ƒฝๆ€งใ‚‚ใ‚ใ‚Šใพใ™ใ€‚
  • ใ‚นใ‚ฏใƒชใƒ—ใƒˆใ‚’ไฝฟ็”จใ™ใ‚‹ๅ‰ใซใ€ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆใฎใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ใ‚’ใŠๅ‹งใ‚ใ—ใพใ™ใ€‚

Mirror Positionsใฏใ€้ธๆŠžใ—ใŸใƒฌใ‚คใƒคใƒผใฎไฝ็ฝฎใ‚’ ็”ป้ขใฎไธญๅฟƒใ‚’ๅŸบๆบ–ใซใ—ใฆใ€ๅ่ปขใ•ใ›ใ‚‹ใ‚นใ‚ฏใƒชใƒ—ใƒˆใงใ™ใ€‚

After Effectsใ‚’ไฝฟ็”จใ—ใฆๆง˜ใ€…ใชใƒขใƒผใ‚ทใƒงใƒณใ‚ฐใƒฉใƒ•ใ‚ฃใƒƒใ‚ฏๆ˜ ๅƒใ‚’ๅˆถไฝœใ™ใ‚‹้š›ใ€ ็”ป้ขใฎไธญๅคฎใ‚’ๅŸบๆบ–ใจใ—ใ€ใƒฌใ‚คใƒคใƒผใ‚’ๅๅฏพๅดใซ้…็ฝฎใ—ใŸใ„ๅ ดๅˆใŒใ‚ˆใใ‚ใ‚Šใพใ™ใ€‚
ไพ‹ใˆใฐใ€ใ‚ทใƒณใƒกใƒˆใƒชใƒผใซ้…็ฝฎใ—ใŸใ„ๆ™‚ใ‚„ใ€็”ป้ขใ‚’ๅ่ปขใ—ใŸๆผ”ๅ‡บใŒไฝœใ‚ŠใŸใ„ๆ™‚ใชใฉใŒๆŒ™ใ’ใ‚‰ใ‚Œใพใ™ใ€‚
ใ—ใ‹ใ—ใ€ใƒฌใ‚คใƒคใƒผใ‚’ๅ่ปขใ•ใ›ใ‚‹ใฎใฏใใ‚Œใปใฉ็ฐกๅ˜ใซใฏใ„ใ‹ใชใ„ใงใ™ใ€‚
ใƒžใ‚ฆใ‚นใง็›ดๆŽฅ็งปๅ‹•ใ•ใ›ใ‚ˆใ†ใจใ—ใฆใ‚‚ๅŽณๅฏ†ใชๅ€คใ‹ๅˆ†ใ‹ใ‚‰ใชใ„ใ—ใ€ใƒ—ใƒชใ‚ณใƒณใƒใ‚ธใ‚ทใƒงใƒณใ‚’ไฝœๆˆใ™ใ‚‹ใ“ใจใ‚‚ๆ‰‹้–“ใงใ™ใ€‚
ๆ‰‹ๅ‹•ใงไฝœๆฅญใ™ใ‚‹ๆ™‚ใซใฏใ€Positionใฎๅ€คใ‚’็›ดๆŽฅ่จˆ็ฎ—ใ™ใ‚‹ใ“ใจใงใ€ ็พๅœจใฎไฝ็ฝฎใ‚’่ถณใ—็ฎ—ใ‚„ๅผ•ใ็ฎ—ใชใฉใงๆธฌๅฎšใ™ใ‚‹ๆ–นๆณ•ใ—ใ‹ใชใ„ใฎใงใŒใ€ ใ“ใ‚Œใ‚‚่ค‡ๆ•ฐใฎใƒฌใ‚คใƒคใƒผใฎๅ ดๅˆใฏใ‚ˆใ‚Šๆ‰‹้–“ใŒใ‹ใ‹ใ‚Šใพใ™ใ€‚
Mirror Positionsใฏใ€ไธ€ๅ›žใฎใ‚ฏใƒชใƒƒใ‚ฏใงใ“ใ‚Œใ‚‰ใฎใƒ—ใƒญใ‚ปใ‚นใ‚’่‡ชๅ‹•ๅŒ–ใ—ใ€ ่ค‡ๆ•ฐใฎใƒฌใ‚คใƒคใƒผใซใ‚‚ไธ€ๆฐ—ใซ้ฉๅฟœใ™ใ‚‹ใ“ใจใŒใงใใพใ™๏ผ
ใใ‚Œใปใฉๅคงใ—ใŸๆฉŸ่ƒฝใงใฏใ‚ใ‚Šใพใ›ใ‚“ใŒใ€ ็š†ๆง˜ใฎไฝœๆฅญๆ™‚้–“ใŒ็Ÿญ็ธฎใงใใ‚‹ใชใ‚‰ๅนธใ„ใงใ™ใ€‚

Mirror Positions is a script that reverses the position of layers based on the center of the composition.

When creating various motion graphics in After Effects, there are often situations where I need to send layers to the opposite side based on the center of the screen. This could be for creating symmetrical structures or introducing changes by flipping the screen.
However, sending layers to the opposite side of the screen is not always easy. Dragging them manually with the mouse can be uncertain, and setting up pre-comps for this purpose can be cumbersome. The most reliable and convenient method is to calculate the Position values directly by using half of the composition width or height and adding/subtracting the current position. But even this becomes a hassle when dealing with multiple layers.
Mirror Positions simplifies this process with just one click. It can even handle multiple layers at once.
I hope that this small script will save you time in your work.
ย 
ย 
ย 

Download


ย 
ย 

User Guide


ย 
ย 

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย