Skip to content

hm5-types (source format) / MotionBlur

Interface: MotionBlur ​

Motion blur of what a tween moves (plan 2026-10-28, owner answers 2026-10-30): set per tween in Properties, no document switch. The blur is the object's own path (its transform, 3D turn included) over the exposure — the time since the screen last drew (強制平滑) or one frame — times shutter / 360. See tween/motionBlur.ts.

Properties ​

PropertyTypeDescription
include?objectparts of the motion that blur; absent = every part
include.move?boolean-
include.rotate?boolean-
include.scale?boolean-
include.turn3d?boolean-
maxPxnumberlongest blur in screen pixels (very fast moves / jumps)
phase?"center" | "trail""trail" = behind the object (default), "center" = half before, half after
samplesnumberpictures averaged, 2..32
shutternumber0..360 degrees; 180 = half of the path between two pictures

HereSplash — 2D animation for the web