AWESOME AI MOTION
효과Effects / 입자·생성Generative / Nº 530

입자 힘장Particle Force Field

Particle Force Field
입자 힘장
다른 이름Also known as · Force Field Traces · 힘장 궤적 · Particle Attraction and Repulsion · 입자 끌림과 밀림
530
렌더 추가 예정CLIP COMING입자 힘장Particle Force Field정의·파라미터·프롬프트는 아래에 있다Definition, parameters and prompts are below
도판Fig. 530. 입자 힘장 · Particle Force Field · linear

입자들이 끌림, 밀림, 회전의 힘을 받아 중심 주위로 휘며 흔적을 남기는 효과Particles feel attraction, repulsion, and rotation forces, curving around a center and leaving trails.

01

무엇을 전하나What it tells

전달 효과ConveysCONVEYS
보이지 않는 힘의 작용을 시각화한다. 중력이나 자기장 같은 개념을 설명하고 생동감 있는 배경이 된다Visualizes unseen forces to explain gravity or magnetic fields, and works as a lively background.
언제 쓰나Use whenUSE WHEN
  • 중력, 자기력, 인력과 척력 개념을 설명할 때
  • 힘의 중심이 있는 인트로 배경을 만들 때
  • To explain gravity, magnetism, attraction, and repulsion
  • For intro backgrounds with a force center
과용 주의AvoidAVOID
  • 감쇠 0.96~0.995 범위 밖 금지
  • 적분은 고정 dt로 사전 계산하고 저장한다
02

좋은 예와 나쁜 예Good and bad use

좋은 사례GOOD

입자 300개가 힘점 3개(끌림 2, 밀림 1) 주위로 6초 동안 감쇠 0.98로 휘며 궤적 자국이 남는다

과용 · 나쁜 사례OVERUSE

감쇠 없이 속도가 누적되어 입자가 화면 밖으로 튀어나가거나, 실시간 적분이라 seek 결과가 다르다

03

파라미터Parameters

기본값은 클립에 쓴 값Defaults are the values used in the clip

항목PARAM기본DEFAULT범위RANGE메모NOTE
총 지속6000ms4000~9000ms궤적 재생
입자 수300개150~600개시드 고정
힘점3개1~4개끌림/밀림/회전
감쇠0.980.96~0.995프레임당 속도 곱
dt1/60고정사전 계산
GSAP
const traj=P.map(()=>[]);
for(let s=0;s<360;s++)P.forEach((p,i)=>{let ax=0,ay=0;F.forEach(f=>{const dx=f.x-p.x,dy=f.y-p.y,d=Math.hypot(dx,dy)+30;const k=f.k/(d*d);ax+=dx*k+f.spin*-dy*k;ay+=dy*k+f.spin*dx*k;});
 p.vx=(p.vx+ax/60)*.98;p.vy=(p.vy+ay/60)*.98;p.x+=p.vx/60;p.y+=p.vy/60;traj[i].push([p.x,p.y]);});
// draw(k): traj[i].slice(0,k) 선으로
04

에이전트 프롬프트Agent prompts

그대로 붙여 넣는다Paste as is

Claude Code

<배경>에 입자 힘장을 만들어줘. 입자 300개(시드 고정)를 힘점 3개(끌림 2, 밀림 1, 하나는 회전 성분 포함)의 영향으로 고정 dt 1/60, 감쇠 0.98로 360스텝 사전 계산해 궤적을 저장하고, 6초 동안 linear로 재생하며 궤적 자국을 alpha 0.3으로 그려. progress 순수 함수로 seek 가능하게 해.

Build a particle force field for <target>. Precompute 360 steps at fixed dt 1/60 and damping 0.98 for 300 seeded particles under 3 force points (two attractors, one repeller, one with a rotation component), store the trajectories, and play them over 6s linear with trails at alpha 0.3. Draw as a pure function of progress so it is seekable.

Codex

<파일>에 particle-force-field를 구현해. 입자 300개, 힘점 3개, 감쇠 0.98, 6000ms linear, 360스텝 사전 계산, seed 고정. 0초, 3초, 6초를 캡처해 입자가 힘점 주위로 휘는지, 화면 밖으로 튀지 않는지, 같은 시점 재렌더가 동일한지 확인해.

Implement particle-force-field in <file>: 300 particles, 3 force points, damping 0.98, 6000ms linear, 360 precomputed steps, fixed seed. Capture at 0s, 3s, and 6s to verify particles curve around force points, none fly off-screen, and re-rendering the same time is identical.

05

도구별로 쓰기In your tools

HyperFrames · ReelForge · Scrolline

HyperFramesVIDEO · GSAP
360스텝을 사전 계산해 궤적을 저장하고 draw(k)로 그린다. 적분 상태를 실행 중에 이어가지 않아 seek가 정확하다
ReelForgeBRIEF TO VIDEO
브리프에 particleCount, forces[], damping, durationMs, seed를 싣는다. 힘점 좌표를 텍스트 위치와 겹치지 않게 지정한다
Scrolline DeckSCROLL SCRUB
진행률을 궤적 스텝 인덱스에 선형 매핑한다. 스크롤을 되감으면 궤적이 줄어든다
06

잘 맞는 조합Pairs well with

07

출처Sources

개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo