SVG Filters: The Crash Course

I always try to customize in-house client workshops to my client’s needs. That sometimes also means that if my client’s design and dev team is interested in learning something that is not covered in my workshop, I will tweak the content of the worksh…


This content originally appeared on Writing on SaraSoueidan.com and was authored by Writing on SaraSoueidan.com

I always try to customize in-house client workshops to my client’s needs. That sometimes also means that if my client’s design and dev team is interested in learning something that is not covered in my workshop, I will tweak the content of the workshop to make sure they learn what they need to make their work better.

One such example is when I ran my SVG Workshop for the design and engineering team at Netflix last year. Elijah told me he’d be interested in learning more about SVG Filters. I hadn’t dug into SVG filters before that, so I took his request as an opportunity to finally do it, so that I could customize the workshop for them.

I learned all the basics of SVG filters in time for the workshop, and then spent the following two months learning more. The material I gathered, learned and created turned out to be useful enough to share with others, so I thought I’d write a series of articles on the topic, maybe even give them their own URL somewhere. I also thought they’d be good material for an interesting talk, so I created a talk and gave that talk twice this year: the debut was at Beyond Tellerrand Munich in January, and the second one was at CSS Day in Amsterdam last month.

If you know me, you know that my talks tend to be fast, packed with practical and technical goodies and tips. This talk was no exception. And the feedback to both talks was mind-blowing.

I had not shared the slides for the talk before today. The main reason was that I wanted to create that series of articles that I’d been meaning to write on the topic. But that plan never saw the day of light, and, to be quite frank, I don’t think that it will any time soon because I don’t feel as excited to write long, deep dives about SVG as I used to. My interest and excitement is shifting to other aspects of the front-end. I’m still very much into SVG but only as one of the many tools in our front-end arsenal, and my future articles are going to reflect that.

So I decided to write this article to share the video(s) of the talk(s), the slides, and some links for if you’re interested in learning more about SVG Filters from further resources.

The Video Recording

The following is the video recording of my talk at btconf:

SVG Filters: The Crash Course - Sara Soueidan - btconfMUC2018 from beyond tellerrand on Vimeo.

I don’t want to slow this page down too much by embedding two videos, so here’s a link to the CSS Day talk recording.

You may want to watch the videos at a slower pace than the default. ?

If you run an event and would like me to give this talk at it, please feel free to drop me a line and request it.

The Talk Slides

You can find the slides online here.

Further Resources

I Googled a lot while learning about filters. I jumped between the official specification and a bunch of articles that were not specifically about SVG filters, but more about the concepts that you need to know about in order to understand SVG filters. So I learned about noise generation, turbulence, random math functions, color matrices, color functions, Gaussian and other blur operations, and so, so much more. But there were a few resources that I found myself coming back to, and those include:

I learned everything else by picking up small tips and pieces of information from here and there and sewing them together.

So Many Possibilities

I only scratched the surface of what is possible with SVG Filters. You can do so much with SVG Filters. As I showed in my talk, you can recreate many graphic editor capabilities using almost exactly the same steps in SVG using filter primitives. But there are also limitations. I was particularly interested in recreating one particular Photoshop color glitch effect when I was working on the demos for the talk, but I don’t think there’s a way to do that using SVG’s filter primitives. I could be wrong, though. After all, I only scratched the surface and stopped halfway through my research because I had to focus on client work. So if you know a way to do this, please feel free to share and tweet at me.

After my talk, many people expressed their interest in experimenting with SVG filters, and many of them already started sharing great demos on Codepen. Yoksel has been tweeting about her SVG filter experiments lately that I highly recommend checking out. Others have requested more resources after my talk, which prompted me to write this article today. So, I hope you too find it useful and are excited enough to experiment with SVG filters today.

Cheers,
Sara


This content originally appeared on Writing on SaraSoueidan.com and was authored by Writing on SaraSoueidan.com


Print Share Comment Cite Upload Translate Updates
APA

Writing on SaraSoueidan.com | Sciencx (2018-08-11T00:47:34+00:00) SVG Filters: The Crash Course. Retrieved from https://www.scien.cx/2018/08/11/svg-filters-the-crash-course/

MLA
" » SVG Filters: The Crash Course." Writing on SaraSoueidan.com | Sciencx - Saturday August 11, 2018, https://www.scien.cx/2018/08/11/svg-filters-the-crash-course/
HARVARD
Writing on SaraSoueidan.com | Sciencx Saturday August 11, 2018 » SVG Filters: The Crash Course., viewed ,<https://www.scien.cx/2018/08/11/svg-filters-the-crash-course/>
VANCOUVER
Writing on SaraSoueidan.com | Sciencx - » SVG Filters: The Crash Course. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2018/08/11/svg-filters-the-crash-course/
CHICAGO
" » SVG Filters: The Crash Course." Writing on SaraSoueidan.com | Sciencx - Accessed . https://www.scien.cx/2018/08/11/svg-filters-the-crash-course/
IEEE
" » SVG Filters: The Crash Course." Writing on SaraSoueidan.com | Sciencx [Online]. Available: https://www.scien.cx/2018/08/11/svg-filters-the-crash-course/. [Accessed: ]
rf:citation
» SVG Filters: The Crash Course | Writing on SaraSoueidan.com | Sciencx | https://www.scien.cx/2018/08/11/svg-filters-the-crash-course/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.