Curves & interpolation · 3 / 10
Catmull–Rom Spline
指定点を通る滑らかな経路を作る。
Compare in motion
Interactive demo
カメラの経路
AReference
通過点を折れ線で結ぶ
BCatmull–Rom Spline100%
指定点を通るカメラワークになる
Scrub to pause and inspect. At 0%, B matches A; at 100%, B shows the effect. The scene repeats every 8 seconds.
Look for: 途中の指定点を通る → 最後の点へ滑らかに進む。
A small visual example of a game use case. Games combine these techniques with assets and other effects.
Read the storyboard
例: カメラの経路
1. Start
最初の通過点
2. Change
途中の指定点を通る
3. Result
最後の点へ滑らかに進む
How it works
1. Input
通過させたい点
2. Process
隣点から接線を求める
3. Result
指定点を通る曲線
Further reading
The Book of Shaders — Shaping Functions ↗A general reference for this subcategory.