Skip to content

Instantly share code, notes, and snippets.

@Sheraff
Last active July 29, 2021 07:10
Show Gist options
  • Save Sheraff/9d8dc1c3537df4f557e0177c0d3b4fd1 to your computer and use it in GitHub Desktop.
Save Sheraff/9d8dc1c3537df4f557e0177c0d3b4fd1 to your computer and use it in GitHub Desktop.
unidirectional motion blur (SVG)$
{
"scripts": [],
"styles": []
}
<svg>
<filter id="verticalMotionBlur">
<feGaussianBlur in="SourceGraphic" stdDeviation="0 5" />
</filter>
<circle cx="60" cy="60" r="50" fill="green" />
</svg>
svg{
overflow: visible;
filter: url(#verticalMotionBlur);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment