メインコンテンツまでスキップ

quinticIn: Fifth-Power Acceleration

Maximum polynomial acceleration creating extremely delayed motion onset

The quinticIn function produces the most extreme polynomial acceleration through fifth-power scaling. This creates extraordinarily slow initial motion with explosive final acceleration.

f(t)=t5f(t) = t^5

The quintic relationship represents the highest polynomial power commonly used in easing curves, maximizing the contrast between initial stillness and final motion.

ライブエディター
const fragment = () => {
  const w = 0.01
  const t = iTime.fract()
  const y = quinticIn(t)
  const Y = quinticIn(uv.x)
  const a = vec3(0.7, 0.2, 0.9)
  const b = vec3(0.3, 0.9, 0.1)
  const c = a.mix(b, y).mul(uv.x.step(t))
  const lines = mmin2(smoothstep(0, w, uv.mod(0.1).min(uv.sub(vec2(t, y)).abs())))
  const curve = stroke(uv.y.sub(Y), 0, w).mul(c)
  const color = lines.oneMinus().mul(0.2).add(curve)
  return vec4(color, 1)
}