<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by codebro.io on Medium]]></title>
        <description><![CDATA[Stories by codebro.io on Medium]]></description>
        <link>https://medium.com/@codebro?source=rss-772cca9d6141------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*p9Ew21Nmsa8m8ADyGsAJ6w.jpeg</url>
            <title>Stories by codebro.io on Medium</title>
            <link>https://medium.com/@codebro?source=rss-772cca9d6141------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 01:08:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@codebro/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Ultimate Static Site Starter]]></title>
            <link>https://medium.com/@codebro/ultimate-static-site-starter-552569092a97?source=rss-772cca9d6141------2</link>
            <guid isPermaLink="false">https://medium.com/p/552569092a97</guid>
            <category><![CDATA[gatsby]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[starter]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[styled-components]]></category>
            <dc:creator><![CDATA[codebro.io]]></dc:creator>
            <pubDate>Thu, 05 Dec 2019 21:39:40 GMT</pubDate>
            <atom:updated>2019-12-14T08:40:05.240Z</atom:updated>
            <content:encoded><![CDATA[<h4>Seven Steps to { Web Development } Heaven</h4><h3><strong>Packages</strong></h3><h4><strong>Gatsby / React / Typescript / Prettier</strong></h4><p>This combo is popular, has a large dev community and offers a very fast development environment.</p><p>Gatsby also offers a large selection of plugins for seamless scalability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZpOkCP1iyiTynuKb_96S4A.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@hudsoncrafted?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Debby Hudson</a> on <a href="https://unsplash.com/s/photos/build?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h4>Styled Components</h4><p>Goes with React like Mac and Cheese. One file for both style and structure, automatic className prefixing and dynamic prop passing. Easy to scope, scale and share cross-module.</p><h4>Framer Motion</h4><p>The most fun library I have ever used. With useful props like whileHover and whileTap for instant gratification. Can handle mount, key change and chained animations + much more.</p><pre>—— <strong>Gatsby / React / Typescript </strong>——</pre><pre><strong>step 1 Install Gatsby CLI </strong><em>(if you don&#39;t already have the Gatsby CLI)</em><br>yarn global add gatsby-cli</pre><pre><strong>step 2 Initialize our Gatsby / React<br></strong>gatsby new gatsby-site &amp;&amp; cd gatsby-site</pre><pre><strong>step 3 Add Typescript<br></strong>yarn add gatsby-plugin-typescript</pre><pre><em>(After adding this to gatsby.config.js (see step 5) you are free<br>to change .js files to .ts and so on...)</em></pre><pre>—— <strong>Styled Components </strong>——</pre><pre><strong>step 4 Add Styled Components<br></strong>yarn add gatsby-plugin-styled-components styled-components babel-plugin-styled-components --save</pre><pre><strong>step 5 Add to our plugins list</strong></pre><pre>in gatsby.config.js</pre><pre>module.exports = {<br>  ...<br>  plugins: [<br>    ...<br>    `gatsby-plugin-typescript` &lt;---------- Insert these lines<br>    `gatsby-plugin-styled-components` &lt;--- inside plugins array<br>  ],<br>}</pre><pre>—— <strong>Framer Motion </strong>——</pre><pre><strong>step 6 Add Framer Motion<br></strong>yarn add framer-motion --save</pre><pre><strong>step 7 Hello World!<br></strong>npm run develop</pre><p>The above gives you the foundation to make a seriously cutting-edge website or web app in seven easy steps.</p><p>Who says front-end tooling in 2019 has to be complicated?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=552569092a97" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Next.js + Expo (Nextpo)⚡]]></title>
            <link>https://medium.com/@codebro/next-js-expo-nextpo-8b53d18a1d69?source=rss-772cca9d6141------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b53d18a1d69</guid>
            <category><![CDATA[development-environment]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[monorepo]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[expo]]></category>
            <dc:creator><![CDATA[codebro.io]]></dc:creator>
            <pubDate>Fri, 29 Nov 2019 17:27:20 GMT</pubDate>
            <atom:updated>2020-04-26T13:54:37.489Z</atom:updated>
            <content:encoded><![CDATA[<h4>Fastest way to a web + mobile monorepo</h4><p>⚠ This technology is experimental ⚠</p><p>In spite of the above warning, if you are thinking of making a web + mobile app, seriously consider giving “Nextpo” your next go!</p><h3>Web productivity for mobile development</h3><p>Whether you use an emulator or your own device, developing for mobile is slow. Particularly when you are used to the lightening fast web development environment of <em>Next.js</em>, <em>Gatsby</em> or even <em>Create React App</em>.</p><p>By setting up a monorepo you are not only saving time by writing code once for both mobile <em>and</em> web, but you are also saving time by taking advantage of the speed of the Next.js dev environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*id3tWggfvOyzuABFMz2gVA.jpeg" /><figcaption>Expo riding Next.js</figcaption></figure><h3>What does it look like?</h3><p>You will be writing React Native code. This compiles into browser-ready code and renders HTML.</p><h4>Hot loading</h4><p>When a change is made, the update is instant.</p><p>In contrast with the Expo-only mobile development environment which would often take significant time to update and many times would crash, requiring me to shake my device (shake to refresh), in order to see changes.</p><h4>Error Messages</h4><p>Quite bad (just like Expo-only). For example, if you try to read an undefined object you browser will crash with no specific explanation.</p><h4>Compared to an emulator?</h4><p>Miles better. I have never had much luck with emulators, especially the tablet emulators. They were always crazy slow.</p><h4><strong>Compared to a device?</strong></h4><p>A lot better. Real devices are a huge improvement over emulators but still slow and crash-prone.</p><p>Of course it is recommended that you check the way your app looks on a real device(s) at regular intervals. There is no substitute for the real thing when <em>testing</em> a mobile app.</p><h3>Web app drawbacks — what about desktop?</h3><p>Monorepos sound amazing, but keep in mind that with Nextpo you will be developing a <strong><em>very</em></strong> <em>mobile-first app </em>and won’t have control over what it will look like on a <em>desktop sized viewport</em>.</p><p>This may not be a big issue in the future due to the steady increase in touch device popularity, although at the time of writing, the idea of making a web app without a desktop-specific layout is somewhat deficient.</p><h3>How to get started?</h3><p>Either way I recommend anyone interested to give it a try. Getting started is straight-forward and well-explained in the Expo docs.</p><p>Should take 30 to 60 minutes to have your “Hello World” mobile app running in the browser!</p><p><a href="https://docs.expo.io/versions/latest/guides/using-nextjs/">Using Next.js with Expo for Web</a></p><p>And for anyone interested, yes, I did come up with the term “Nextpo”. Feel free to use it around the office 😁.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b53d18a1d69" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React animations / Framer Motion — Part]]></title>
            <link>https://medium.com/@codebro/react-animations-framer-motion-part-9d8d6f17481c?source=rss-772cca9d6141------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d8d6f17481c</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[codebro.io]]></dc:creator>
            <pubDate>Mon, 25 Nov 2019 20:08:44 GMT</pubDate>
            <atom:updated>2019-12-03T18:24:50.028Z</atom:updated>
            <content:encoded><![CDATA[<h3>React animations / Framer Motion — Part II</h3><h4>Making a laser sight button — mouse move/enter/exit</h4><p>The end result:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fcodebro%2Fembed%2Fpreview%2Fpooqrww%3Fheight%3D600%26slug-hash%3Dpooqrww%26default-tabs%3Djs%2Cresult%26host%3Dhttps%3A%2F%2Fcodepen.io&amp;url=https%3A%2F%2Fcodepen.io%2Fcodebro%2Fpen%2Fpooqrww&amp;image=https%3A%2F%2Fscreenshot.codepen.io%2F429574.pooqrww.small.ac4abc11-d67e-467e-a7f0-0eac3153e929.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/f7c5622a69f5d9b18b435c946efe4f45/href">https://medium.com/media/f7c5622a69f5d9b18b435c946efe4f45/href</a></iframe><h3>So how did I animate the laser dot movement?</h3><p>Framer Motion’s motion component accepts two props we can use for this initial and animate.</p><h3>Move Animation</h3><p>This is actually <em>very </em>easy. Simply pass your mouse coordinates mx and my to their corresponding coordinates in Framer Motion’s animate property.</p><pre>&lt;motion.div<br>  animate={{<br>    x: mx,<br>    y: my,<br>  }}<br>/&gt;</pre><p>It’s important to note the <strong>x</strong> and <strong>y</strong> in animate are shortcuts for the corresponding values intranslate3(<strong>x</strong>, <strong>y</strong>, z).</p><p>By default, Framer Motion uses a spring animation, which although maybe unrealistic, suits the movement of a laser sight quite nicely. It kind of gives the impression of trailing light.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y-4ZTgJq9ouNuiUML5r34w.png" /><figcaption>Photo by <a href="https://unsplash.com/@emilianovittoriosi?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Emiliano Vittoriosi</a> on <a href="https://unsplash.com/s/photos/laser-sight?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h3>Enter/Exit</h3><p>Let’s say we want our cursor to fade in when our cursor enters our button and fades out when our cursor leaves it.</p><p>There are two ways we can achieve this.</p><ol><li><strong>The easy way — toggle in </strong><strong>animate</strong></li></ol><p>That is, simply toggle opacity inside our animate property.</p><p>Our component then becomes</p><pre>&lt;motion.div<br>  animate={{<br>    x: mx,<br>    y: my,<br>    <strong>opacity: isActive ? 1 : 0<br>  </strong>}}<strong><br></strong>/&gt;</pre><p>For our example this is totally sufficient, because we have a variable isActive available. If, however, you wish to learn how to animate by keys or “mount”/”unmount”, keep reading.</p><p><strong>2. The React </strong>😎<strong> way — </strong><strong>initial and </strong><strong>&lt;AnimatePresence/&gt;</strong></p><p>The initial property is very useful and makes “mount” animations trivial.</p><pre>&lt;motion.div<br><strong>  initial={{opacity: 0}}<br></strong>  animate={{<br>    x: mx,<br>    y: my,<br>    opacity: 1<br>  }}<br>/&gt;</pre><blockquote>NB: If you want to cancel the initial “mount” animation you can set initial={false}.</blockquote><p>This, however, only takes care of <em>“mount”</em>.</p><p>For “unmount” animations we need an additional component namely <strong>&lt;AnimatePresence/&gt;</strong>. This is because React doesn’t have lifecycles that sufficiently handle unmounted components.</p><p>To animate both “mount” and “unmount” our component becomes</p><pre><strong>&lt;AnimatePresence&gt;<br>  {isActive &amp;&amp; (</strong><br>    &lt;motion.div<br><strong>      key=&quot;laser-dot&quot;<br></strong>      initial={{opacity: 0}}<br>      animate={{<br>        x: mx,<br>        y: my,<br>        opacity: 1<br>      }}<br><strong>      exit={{opacity: 0}}<br></strong>    /&gt;<br>  )}<br><strong>&lt;/AnimatePresence&gt;</strong></pre><blockquote>NB: Our component now requires a key!</blockquote><p>This animation depends on the components presence and because a component’s presence will change when you change its key, we can use this to animate components by changing keys. <a href="https://www.framer.com/api/motion/animate-presence/">There are some nice examples in the Framer Motion docs for this</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d8d6f17481c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React animations ╳ Framer Motion]]></title>
            <link>https://medium.com/@codebro/react-animations-framer-motion-dbd72eefa154?source=rss-772cca9d6141------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbd72eefa154</guid>
            <category><![CDATA[framer-motion]]></category>
            <category><![CDATA[whiletap]]></category>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[whilehover]]></category>
            <dc:creator><![CDATA[codebro.io]]></dc:creator>
            <pubDate>Fri, 22 Nov 2019 22:38:48 GMT</pubDate>
            <atom:updated>2019-11-25T20:09:13.873Z</atom:updated>
            <content:encoded><![CDATA[<h3>React animations / Framer Motion — Part I</h3><h4>Making a laser sight button — hover/tap</h4><p>The end result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9QBTiiDUnm7dGGajM2FZMA.png" /><figcaption>Our laser sight button (image)</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fcodebro%2Fembed%2Fpreview%2Fpooqrww%3Fheight%3D600%26slug-hash%3Dpooqrww%26default-tabs%3Djs%2Cresult%26host%3Dhttps%3A%2F%2Fcodepen.io&amp;url=https%3A%2F%2Fcodepen.io%2Fcodebro%2Fpen%2Fpooqrww&amp;image=https%3A%2F%2Fscreenshot.codepen.io%2F429574.pooqrww.small.ac4abc11-d67e-467e-a7f0-0eac3153e929.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/f7c5622a69f5d9b18b435c946efe4f45/href">https://medium.com/media/f7c5622a69f5d9b18b435c946efe4f45/href</a></iframe><h3>Fire and forget made easy</h3><p>One great thing about Framer Motion is that it makes the useful stuff easy. Hover and tap animations are some of the most ubiquitous on the web and are a great way to show the user that they are interacting with your application’s UI.</p><h4>Hover</h4><p>The whileHover property allows us to add an animation when our user hovers our component.</p><pre>&lt;motion.div<br>  whileHover={{ backgroundColor: &quot;#424242&quot; }}<br>/&gt;</pre><h4>Tap</h4><p>The whileTap property allows us to add an animation when a user taps or clicks on our component.</p><pre>&lt;motion.div<br>  whileTap={{ backgroundColor: &quot;#212121&quot; }}<br>/&gt;</pre><p>The above can also be achieved fairly easily using CSS pseudo-selectors such as :hover and :active along with transition. So… <strong>Why is this better than plain old CSS?</strong></p><h3>Accuracy</h3><p>They are much more customizable and run smoother than their CSS counterparts.</p><p>For example, all of CSS’s transition animations are timed, wheras with Framer Motion you can have timed or spring (no set time because based on physics) animations.</p><h3><em>Intention</em></h3><p>Using “hover” and “tap” seem better suited to the modern world of web where about 50% is accessed via touch device.</p><p><a href="https://www.statista.com/statistics/277125/share-of-website-traffic-coming-from-mobile-devices/">Global mobile traffic 2024 | Statista</a></p><p>CSS seems to have been primarily implemented for non-touch devices and have added touch (tap) interactions as an afterthought.</p><p>As an example :hover interactions are triggered by <em>touch</em> and <em>mouse hover </em>and :active interactions are triggered by <em>touch</em> and <em>mouse click</em>, which is a little confusing and not the easiest to fine-tune.</p><h3>Readability</h3><p>Another nice feature of Framer Motion is that it uses shortcuts for transforms eg/ x, scale, rotate.</p><p>Personally, I will often set a variable such asconst interaction={opacity: 0.9} and use this within my component to create some nice consistent behaviour for my UI between mouse and touch devices.</p><pre>&lt;motion.div<br>  whileHover={interaction}<br>  whileTap={interaction}<br>/&gt;</pre><blockquote>NB both of these attributes can also be passed down the component tree using “variants” which we will discuss in another post</blockquote><p>In the next post we will finish our button by implementing the mouse animations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbd72eefa154" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SVG noise filter — Part V]]></title>
            <link>https://medium.com/@codebro/svg-noise-filter-part-v-6836c8351c45?source=rss-772cca9d6141------2</link>
            <guid isPermaLink="false">https://medium.com/p/6836c8351c45</guid>
            <category><![CDATA[femorphology]]></category>
            <category><![CDATA[svg]]></category>
            <category><![CDATA[filters]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[feturbulance]]></category>
            <dc:creator><![CDATA[codebro.io]]></dc:creator>
            <pubDate>Thu, 21 Nov 2019 17:32:38 GMT</pubDate>
            <atom:updated>2019-11-22T22:52:42.410Z</atom:updated>
            <content:encoded><![CDATA[<h3>SVG noise filter — Part V</h3><h4>Thicc noise</h4><p>We can further finesse our noise by <em>thickening</em> or <em>thinning</em> our shape. An easy-to-understand example of what this does is by thinking of <strong>“bold text” </strong>and “regular text”.</p><p>The filter primitive we use for this is</p><pre>&lt;feMorphology/&gt;</pre><h3>Attributes</h3><p>Only two — operator and radius.</p><ul><li>operator accepts one of two values dilate (thicker) and erode (thinner).</li><li>radius affects the scale of the effect.</li></ul><p>Although the transformation is simple, it becomes especially powerful when combining it with our noise. Particularly when you play around with the feTurbulence attributes and the feDisplacementMap scale.</p><h3>Let’s (again) think of our raw noise as spagetti in rainbow sauce</h3><h4>Dilating noise</h4><p>By increasing the radius with operator=&quot;dilate” we get thicker + more-rectangular sauce. This looks a bit like skin cells seen through a microscope. Raising the baseFrequency makes the effect start to look like a bunch of small random blocks. The blocky effect is great for making computer glitch effects over our shapes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vPm43HU28bdoAKcfRHLpvw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@pawel_czerwinski?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Paweł Czerwiński</a> on <a href="https://unsplash.com/s/photos/blood-cells?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h4>Eroding noise</h4><p>Increasing the radius with operator=&quot;erode” we get thicker spagetti. Looks a bit like glowing intestines. Applying this effect to our shape accentuates the space between the curvy lines so can produce wispy, flame-like patterns.</p><h3>A little goes a long way</h3><p>It is important not to underestimate &lt;feMorphology/&gt;. Yes, its attributes sound underwhelming on paper, but nesting the filter primitive at different points inside your filter can create some truly amazing results, particularly when playing with noise.</p><h3>SVG noise filter series</h3><p>Part I — Introduction — <a href="https://medium.com/@codebro/svg-noise-filter-45b5edbbc28d">https://medium.com/@codebro/svg-noise-filter-45b5edbbc28d</a></p><p>Part II — Applying noise to shapes — <a href="https://medium.com/@codebro/svg-noise-filter-fd5a5edfba86">https://medium.com/@codebro/svg-noise-filter-fd5a5edfba86</a></p><p>Part III — Bells and whistles — <a href="https://medium.com/@codebro/svg-noise-filter-f38a9327f66c">https://medium.com/@codebro/svg-noise-filter-f38a9327f66c</a></p><p>Part IV — Animating the noise — <a href="https://medium.com/@codebro/svg-noise-filter-bc6247ba4399">https://medium.com/@codebro/svg-noise-filter-bc6247ba4399</a></p><p>Part V — Thicc noise — <a href="https://medium.com/@codebro/svg-noise-filter-part-v-6836c8351c45">https://medium.com/@codebro/svg-noise-filter-part-v-6836c8351c45</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6836c8351c45" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SVG noise filter]]></title>
            <link>https://medium.com/@codebro/svg-noise-filter-bc6247ba4399?source=rss-772cca9d6141------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc6247ba4399</guid>
            <category><![CDATA[noise]]></category>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[svg]]></category>
            <category><![CDATA[animate]]></category>
            <category><![CDATA[feturbulence]]></category>
            <dc:creator><![CDATA[codebro.io]]></dc:creator>
            <pubDate>Wed, 20 Nov 2019 19:09:17 GMT</pubDate>
            <atom:updated>2019-11-22T22:50:30.333Z</atom:updated>
            <content:encoded><![CDATA[<h3>SVG noise filter — Part IV</h3><h4>Animating the noise</h4><blockquote>NB: This article is basically an explanation of Michael Mullany’s stackoverflow answer here <a href="https://stackoverflow.com/questions/29966256/how-to-animate-feturbulence-to-appear-continuous">https://stackoverflow.com/questions/29966256/how-to-animate-feturbulence-to-appear-continuous</a>. A big thank you to Michael for providing such a clever solution.</blockquote><h3>Recap</h3><p>Previously we looked at the effects of animating seed, baseFrequency and numOctaves. <a href="https://medium.com/@codebro/svg-noise-filter-f38a9327f66c">https://medium.com/@codebro/svg-noise-filter-f38a9327f66c</a></p><p>Although producing interesting results, they don’t create a smooth and continuous animation of our noise.</p><h3>Let the smoke, smoke and the water, ripple</h3><p>If you look closely at our <em>raw noise</em> you will see a lot of rainbow colors, this is the key to animating noise continuously.</p><h4>What is the Color Matrix?</h4><pre>&lt;feColorMatrix/&gt;</pre><p>This is a highly versatile <em>filter primitive</em>, useful for finely tuning and manipulating colors (especially useful for making sophisticated image filters).</p><h3>Attributes</h3><p>We have two main corresponding attributes for type and values.</p><p>For our animation we will use <em>two</em> <em>different</em> color matrix types.</p><h4><strong>Hue Rotate</strong></h4><p>This allows us to smoothly and continuously change our rainbow colors through a full spectrum of color.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kpbg-lckO_Pj_FjQF9Q8FQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@sharonp?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Sharon Pittaway</a> on <a href="https://unsplash.com/s/photos/color?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h4>Color Matrix</h4><p>While cycling through our color spectrum we will want to isolate a single color in order to access and apply our noise.</p><h3>Let’s make some noise</h3><ol><li>Nest our <strong>color matrix </strong>inside our filters under our turbulence.</li></ol><pre>&lt;svg&gt;<br>  &lt;filter id=&quot;noise&quot;&gt;<br>    &lt;feTurbulence baseFrequency=&quot;0.05&quot;/&gt;<br><strong>    &lt;feColorMatrix type=&quot;hueRotate&quot; values=&quot;0&quot;/&gt;<br></strong>    &lt;feDisplacementMap in=&quot;SourceGraphic&quot; scale=&quot;10&quot;/&gt;<strong><br></strong>   &lt;/filter&gt;<br>  &lt;rect filter=&quot;url(#noise)&quot; width=&quot;100&quot; height=&quot;100&quot;/&gt;<br>&lt;/svg&gt;</pre><p>2. Nest our animation inside our color matrix. Setting repeatCount to indefinite will create a continuous loop. You will notice the rainbow colors changing.</p><pre>&lt;svg&gt;<br>  &lt;filter id=&quot;noise&quot;&gt;<br>    &lt;feTurbulence baseFrequency=&quot;0.05&quot;/&gt;<br>    &lt;feColorMatrix type=&quot;hueRotate&quot; values=&quot;0&quot;&gt;<br><strong>      &lt;animate<br>        attributeName=&quot;values&quot;<br>        from=&quot;0&quot;<br>        to=&quot;360&quot;<br>        dur=&quot;2s&quot; <br>        repeatCount=&quot;indefinite&quot;<br>       /&gt;</strong><br>     &lt;/feColorMatrix&gt;<br>     &lt;feDisplacementMap in=&quot;SourceGraphic&quot; scale=&quot;10&quot;/&gt;<strong><br></strong>   &lt;/filter&gt;<br>  &lt;rect filter=&quot;url(#noise)&quot; width=&quot;100&quot; height=&quot;100&quot;/&gt;<br>&lt;/svg&gt;</pre><p>3. Add our second color matrix to isolate a color channel. We <strong>only</strong> need the alpha value of either the <em>R, G or B</em> channels to be present.</p><pre>&lt;svg&gt;<br>  &lt;filter id=&quot;noise&quot;&gt;<br>    &lt;feTurbulence baseFrequency=&quot;0.05&quot;/&gt;<br>    &lt;feColorMatrix type=&quot;hueRotate&quot; values=&quot;0&quot;&gt;<br>      &lt;animate<br>        attributeName=&quot;values&quot;<br>        from=&quot;0&quot;<br>        to=&quot;360&quot;<br>        dur=&quot;2s&quot; <br>        repeatCount=&quot;indefinite&quot;<br>       /&gt;<br>     &lt;/feColorMatrix&gt;<br><strong>     &lt;feColorMatrix <br>       type=&quot;matrix&quot; <br>       values=&quot;0 0 0 0 0<br>               0 0 0 0 0<br>               0 0 0 0 0<br>               1 0 0 0 0&quot;<br>      /&gt;</strong><br>      &lt;feDisplacementMap in=&quot;SourceGraphic&quot; scale=&quot;10&quot;/&gt;<strong><br></strong>    &lt;/filter&gt;<br>  &lt;rect filter=&quot;url(#noise)&quot; width=&quot;100&quot; height=&quot;100&quot;/&gt;<br>&lt;/svg&gt;</pre><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fcodebro%2Fembed%2Fpreview%2FqBBLRGY%3Fheight%3D600%26slug-hash%3DqBBLRGY%26default-tabs%3Dhtml%2Cresult%26host%3Dhttps%3A%2F%2Fcodepen.io&amp;url=https%3A%2F%2Fcodepen.io%2Fcodebro%2Fpen%2FqBBLRGY&amp;image=https%3A%2F%2Fscreenshot.codepen.io%2F429574.qBBLRGY.small.0501e76a-5623-414d-b384-5d38fb854374.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/a31a0056fcb436459d1ebdd1e203615e/href">https://medium.com/media/a31a0056fcb436459d1ebdd1e203615e/href</a></iframe><h3>Keep the noise down</h3><p>It is important to keep in mind that animating SVG filters are generally very expensive and should be used sparingly. On Google Chrome they look and perform ok, but on Safari, for example, they have the potential to bulldoze your webpage into the 1990s.</p><h3>SVG noise filter series</h3><p>Part I — Introduction — <a href="https://medium.com/@codebro/svg-noise-filter-45b5edbbc28d">https://medium.com/@codebro/svg-noise-filter-45b5edbbc28d</a></p><p>Part II — Applying noise to shapes — <a href="https://medium.com/@codebro/svg-noise-filter-fd5a5edfba86">https://medium.com/@codebro/svg-noise-filter-fd5a5edfba86</a></p><p>Part III — Bells and whistles — <a href="https://medium.com/@codebro/svg-noise-filter-f38a9327f66c">https://medium.com/@codebro/svg-noise-filter-f38a9327f66c</a></p><p>Part IV — Animating the noise — <a href="https://medium.com/@codebro/svg-noise-filter-bc6247ba4399">https://medium.com/@codebro/svg-noise-filter-bc6247ba4399</a></p><p>Part V — Thicc noise — <a href="https://medium.com/@codebro/svg-noise-filter-part-v-6836c8351c45">https://medium.com/@codebro/svg-noise-filter-part-v-6836c8351c45</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc6247ba4399" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SVG noise filter]]></title>
            <link>https://medium.com/@codebro/svg-noise-filter-f38a9327f66c?source=rss-772cca9d6141------2</link>
            <guid isPermaLink="false">https://medium.com/p/f38a9327f66c</guid>
            <category><![CDATA[svg]]></category>
            <dc:creator><![CDATA[codebro.io]]></dc:creator>
            <pubDate>Tue, 19 Nov 2019 21:57:45 GMT</pubDate>
            <atom:updated>2019-11-22T22:47:40.701Z</atom:updated>
            <content:encoded><![CDATA[<h3>SVG noise filter — Part III</h3><h4>Bells and whistles</h4><h3>Recap</h3><p>So far we have made some noise and displaced it using a square shape.</p><pre>&lt;svg&gt;<br>  &lt;filter id=&quot;noise&quot;&gt;<br>    &lt;feTurbulence baseFrequency=&quot;0.05&quot;/&gt;<br>    &lt;feDisplacementMap in=&quot;SourceGraphic&quot; scale=&quot;10&quot;/&gt;<strong><br></strong>   &lt;/filter&gt;<br>  &lt;rect filter=&quot;url(#noise)&quot; width=&quot;100&quot; height=&quot;100&quot;/&gt;<br>&lt;/svg&gt;</pre><p><a href="https://medium.com/@codebro/svg-noise-filter-fd5a5edfba86">https://medium.com/@codebro/svg-noise-filter-45b5edbbc28d</a></p><h3>More attributes</h3><p>Here we will look at what else we can do with our noise.</p><p>feTurbulence has a few other attributes that are useful for creating the perfect noise.</p><h4><strong>Seed</strong></h4><p>seed gives our noise a starting point from which the noise is created. It has no influence on the size or intensity of the noise and will provide a unique version of your noise every time you increase it.</p><h4>Number of Octaves</h4><p>IncreasingnumOctaves gives your noise more depth, complexity and a more natural look, however it also negatively impacts performance.</p><p>One way to think of this is comparing the sound of a single flute (low octave range, but easy to pick up and play) to that of an entire orchestra (high octave range, but not cheap).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-qDvITqmlh3QXy3Fn1aFpQ.jpeg" /><figcaption>Photographer: Pixabay</figcaption></figure><h4>Stitch Tiles</h4><p>stitchTiles accepts two values - noStitch and stitch. When set to stitch the <em>x</em> and <em>y</em> values at the border of our noise will alter so that they appear to continuously flow or “stitch” to an adjacent “tile” of noise with the same noise filter. noStitch makes no attempt to alter these aforementioned <em>x</em> and <em>y</em> values.</p><h4>Type</h4><p>The two type values available are turbulence and fractalNoise. So far we have only used turbulence and as you can see it looks like electric spagetti in rainbow sauce. It is ideal for creating cracked surfaces, water ripples (think light shining through clear water disturbed by wind). Fractal noise looks more like rainbow smoke and is ideal for making natural looking textures (sand, brick, concrete, mud) and smoke/fog effects.</p><h3>Animating the Noise (precap)</h3><p>baseFrequency, seed and numOctaves are all animatable and can create some interesting effects.</p><p><strong>Base Frequency</strong></p><p>baseFrequency will change a shape from having curvy edges to fuzzy edges.</p><p><strong>Seed</strong></p><p>seed creates a chaotic effect similar to the black and white static on a TV screen (especially with a high baseFrequency).</p><p><strong>Number of Octaves</strong></p><p>numOctaves doesn’t animate smoothly and looks a bit like a camera suddenly zooming out/in several times, also the effect diminishes at each increment.</p><p>Animating seed and numOctavesis not smooth. Animating baseFrequency is smooth but not continuous. In the next article we will look at how we can animate our noise in a smooth and continuous way using a new filter native &lt;feColorMatrix/&gt;.</p><h3>SVG noise filter series</h3><p>Part I — Introduction — <a href="https://medium.com/@codebro/svg-noise-filter-45b5edbbc28d">https://medium.com/@codebro/svg-noise-filter-45b5edbbc28d</a></p><p>Part II — Applying noise to shapes — <a href="https://medium.com/@codebro/svg-noise-filter-fd5a5edfba86">https://medium.com/@codebro/svg-noise-filter-fd5a5edfba86</a></p><p>Part III — Bells and whistles — <a href="https://medium.com/@codebro/svg-noise-filter-f38a9327f66c">https://medium.com/@codebro/svg-noise-filter-f38a9327f66c</a></p><p>Part IV — Animating the noise — <a href="https://medium.com/@codebro/svg-noise-filter-bc6247ba4399">https://medium.com/@codebro/svg-noise-filter-bc6247ba4399</a></p><p>Part V — Thicc noise — <a href="https://medium.com/@codebro/svg-noise-filter-part-v-6836c8351c45">https://medium.com/@codebro/svg-noise-filter-part-v-6836c8351c45</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f38a9327f66c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SVG noise filter]]></title>
            <link>https://medium.com/@codebro/svg-noise-filter-fd5a5edfba86?source=rss-772cca9d6141------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd5a5edfba86</guid>
            <category><![CDATA[svg]]></category>
            <category><![CDATA[feturbulence]]></category>
            <category><![CDATA[displacement-mapping]]></category>
            <category><![CDATA[filters]]></category>
            <category><![CDATA[fedisplacementmap]]></category>
            <dc:creator><![CDATA[codebro.io]]></dc:creator>
            <pubDate>Mon, 18 Nov 2019 22:36:15 GMT</pubDate>
            <atom:updated>2019-11-22T22:45:10.459Z</atom:updated>
            <content:encoded><![CDATA[<h3>SVG noise filter — Part II</h3><h4>Applying noise to shapes</h4><h3>Recap</h3><p>So far we have only added a filter over the top of our element using the following code.</p><pre>&lt;svg&gt;<br>  &lt;filter id=&quot;noise&quot;&gt;<br>    &lt;feTurbulence baseFrequency=&quot;0.05&quot;/&gt;<br>  &lt;/filter&gt;<br>  &lt;rect filter=&quot;url(#noise)&quot; width=&quot;100&quot; height=&quot;100&quot;/&gt;<br>&lt;/svg&gt;</pre><p><a href="https://medium.com/@codebro/svg-noise-filter-45b5edbbc28d">https://medium.com/@codebro/svg-noise-filter-45b5edbbc28d</a></p><h3>Displacement Map</h3><p>Now we will “displace” the noise over our shape.</p><p>To do this we need to use an additional <em>filter primitive</em> along with our feTurbulence.</p><p>For this example we will use</p><pre>&lt;feDisplacementMap/&gt;</pre><h4>Analogy</h4><p>One way to think about this is to imagine spray paint as our <em>noise</em> and a stencil as our <em>shape</em>, the <em>stencil</em> kind of displaces the noise to form a new <em>shape</em> — unique and independant of our stencil or spray paint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kn1wsK4jRTDj2Fs2IroTWw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@photoart2018?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Andrew Buchanan</a> on <a href="https://unsplash.com/s/photos/stencil?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h4>The formula</h4><p>The &lt;feDisplacementMap/&gt; filter primitive takes each <em>pixel coordinate</em> (x, y) of one input and “displaces” it using a formula based on a <em>scale</em> value and the <em>pixel cordinate</em> of a second input.</p><p>The transformation function looks something like this (if it were written in ECMAScript)</p><pre>const displacementMapCoordinates = (<br>  scale,<br>  in,<br>  in2,<br>  <a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xChannelSelector">xChannelSelector</a>,<br>  y<a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xChannelSelector">ChannelSelector</a><br>) =&gt; {<br>  return {<br>    x: in.x + scale * (in2[<a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xChannelSelector">xChannelSelector</a>] - 0.5),<br>    y: in.y + scale * (in2[y<a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xChannelSelector">ChannelSelector</a>] - 0.5),  <br>  }<br>}</pre><h4>Attributes</h4><ul><li>scale affects the size of the displacement effect<em>.</em></li><li>in first input (our shape).</li><li>in2 second input (our noise).</li><li>xChannelSelector and yChannelSelector the channel of the second input to be applied to the x and y pixel value of the first input respectively.</li></ul><h3>Let’s make some noise</h3><ol><li>Nest our <strong>displacement map </strong>inside our filters.</li></ol><pre>&lt;svg&gt;<br>  &lt;filter id=&quot;noise&quot;&gt;<br>    &lt;feTurbulence baseFrequency=&quot;0.05&quot;/&gt;<br><strong>    &lt;feDisplacementMap/&gt;<br></strong>   &lt;/filter&gt;<br>  &lt;rect filter=&quot;url(#noise)&quot; width=&quot;100&quot; height=&quot;100&quot;/&gt;<br>&lt;/svg&gt;</pre><p>2. Add a <strong>scale</strong> attribute.</p><pre>&lt;svg&gt;<br>  &lt;filter id=&quot;noise&quot;&gt;<br>    &lt;feTurbulence baseFrequency=&quot;0.05&quot;/&gt;<br><strong>    &lt;feDisplacementMap scale=&quot;10&quot;/&gt;<br></strong>   &lt;/filter&gt;<br>  &lt;rect filter=&quot;url(#noise)&quot; width=&quot;100&quot; height=&quot;100&quot;/&gt;<br>&lt;/svg&gt;</pre><p>3. Add our shape (the default name is SourceGraphic) as the <strong>first input </strong>attribute.</p><pre>&lt;svg&gt;<br>  &lt;filter id=&quot;noise&quot;&gt;<br>    &lt;feTurbulence baseFrequency=&quot;0.05&quot;/&gt;<br><strong>    &lt;feDisplacementMap in=&quot;SourceGraphic&quot; scale=&quot;10&quot;/&gt;<br></strong>   &lt;/filter&gt;<br>  &lt;rect filter=&quot;url(#noise)&quot; width=&quot;100&quot; height=&quot;100&quot;/&gt;<br>&lt;/svg&gt;</pre><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fcodebro%2Fembed%2Fpreview%2FgOOZLjo%3Fheight%3D600%26slug-hash%3DgOOZLjo%26default-tabs%3Dhtml%2Cresult%26host%3Dhttps%3A%2F%2Fcodepen.io&amp;url=https%3A%2F%2Fcodepen.io%2Fcodebro%2Fpen%2FgOOZLjo&amp;image=https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fm.cdpn.io%2Fscreenshot-coming-soon-small.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/67e25e056387611ac52a52fdd11c2f47/href">https://medium.com/media/67e25e056387611ac52a52fdd11c2f47/href</a></iframe><h3>Addendum</h3><p>In the above examples there are some details that you may not be aware of so in the interest of full disclosure please note the following</p><ul><li>scale defaults to 0 so it is essentially required.</li><li>Both in and in2 default to the result of the previous filter primitive (our noise) so only changing in (the first input) is required for what we want to do.</li><li>xChannelSelector and yChannelSelector default to A this is our noise’s alpha channel.</li></ul><p>In the next article we will look at the other attributes associated with the &lt;feTurbulence/&gt; filter primitive.</p><h3>SVG noise filter series</h3><p>Part I — Introduction — <a href="https://medium.com/@codebro/svg-noise-filter-45b5edbbc28d">https://medium.com/@codebro/svg-noise-filter-45b5edbbc28d</a></p><p>Part II — Applying noise to shapes — <a href="https://medium.com/@codebro/svg-noise-filter-fd5a5edfba86">https://medium.com/@codebro/svg-noise-filter-fd5a5edfba86</a></p><p>Part III — Bells and whistles — <a href="https://medium.com/@codebro/svg-noise-filter-f38a9327f66c">https://medium.com/@codebro/svg-noise-filter-f38a9327f66c</a></p><p>Part IV — Animating the noise — <a href="https://medium.com/@codebro/svg-noise-filter-bc6247ba4399">https://medium.com/@codebro/svg-noise-filter-bc6247ba4399</a></p><p>Part V — Thicc noise — <a href="https://medium.com/@codebro/svg-noise-filter-part-v-6836c8351c45">https://medium.com/@codebro/svg-noise-filter-part-v-6836c8351c45</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd5a5edfba86" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SVG noise filter]]></title>
            <link>https://medium.com/@codebro/svg-noise-filter-45b5edbbc28d?source=rss-772cca9d6141------2</link>
            <guid isPermaLink="false">https://medium.com/p/45b5edbbc28d</guid>
            <category><![CDATA[svg]]></category>
            <category><![CDATA[perlin]]></category>
            <category><![CDATA[noise]]></category>
            <category><![CDATA[feturbulance]]></category>
            <category><![CDATA[filters]]></category>
            <dc:creator><![CDATA[codebro.io]]></dc:creator>
            <pubDate>Sun, 17 Nov 2019 13:57:17 GMT</pubDate>
            <atom:updated>2019-11-22T22:41:53.319Z</atom:updated>
            <content:encoded><![CDATA[<h3>SVG noise filter — Part I</h3><h4>Introduction</h4><h3>What’s that noise?</h3><p>Normally when we speak of “noise” we mean <em>sound</em>.</p><p>Today we will be speaking about “noise” in the context of <em>graphics,</em> and applying it to some SVG elements.</p><p>There is only one <em>filter primitive</em> available for applying noise to SVGs and that is</p><pre>&lt;feTurbulance/&gt;</pre><p>Under the hood it uses the popular Perlin noise algorithm developed by Ken Perlin.</p><p>This produces a natural-looking noise effect and is commonly used to create graphics such as land, clouds, fire and water kind of like Captain Planet’s — earth, air, fire, water, (and heart?).</p><figure><img alt="Captain Planet flying through Perlin noise" src="https://cdn-images-1.medium.com/max/1024/1*Upk4zMoHvPCh85hajATVCg.jpeg" /><figcaption>Captain Planet flying through our noise.</figcaption></figure><h4>Base Frequency</h4><p>feTurbulance requires a baseFrequency attribute.</p><pre>&lt;feTurbulance baseFrequency=&quot;&lt;NUMBER&gt; | &lt;NUMBER NUMBER&gt;&quot;/&gt;</pre><p>To put it simply, the input represents a “multiplier” for the noise algorithm.</p><p>The higher the baseFrequency, the more “noisy” your noise gets. If you supply a single number, this number will be used for both the <em>x</em> and <em>y</em> frequency.</p><p>Alternatively you can provide two numbers separated by a space representing <em>x</em> and <em>y</em> respectively.</p><h3>Let’s make some noise</h3><ol><li>Make an <strong>SVG.</strong></li></ol><pre><strong>&lt;svg&gt;<br>  &lt;rect width=&quot;100&quot; height=&quot;100&quot;/&gt;<br>&lt;/svg&gt;</strong></pre><p>2. Add a <strong>filter</strong> element to it.</p><pre>&lt;svg&gt;<br>  <strong>&lt;filter&gt;&lt;/filter&gt;</strong><br>  &lt;rect width=&quot;100&quot; height=&quot;100&quot;/&gt;<br>&lt;/svg&gt;</pre><p>3. Nest your <strong>filter primitive</strong><em> </em>inside this and apply a <strong>base frequency.</strong></p><pre>&lt;svg&gt;<br>  &lt;filter&gt;<br><strong>    &lt;feTurbulance baseFrequency=&quot;0.05&quot;/&gt;<br></strong>  &lt;/filter&gt;<br>  &lt;rect width=&quot;100&quot; height=&quot;100&quot;/&gt;<br>&lt;/svg&gt;</pre><p>4. Use an <strong>id</strong> to reference your filter primitive on whatever element you are trying to apply the noise to.</p><pre>&lt;svg&gt;<br>  &lt;filter <strong>id=&quot;noise&quot;</strong>&gt;<br>    &lt;feTurbulance<strong> </strong>baseFrequency=&quot;0.05&quot;/&gt;<strong><br></strong>  &lt;/filter&gt;<br>  &lt;rect <strong>filter=&quot;url(#noise)&quot;</strong> width=&quot;100&quot; height=&quot;100&quot;/&gt;<br>&lt;/svg&gt;</pre><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fcodebro%2Fembed%2Fpreview%2FVwwqvKQ%3Fheight%3D600%26slug-hash%3DVwwqvKQ%26default-tabs%3Dhtml%2Cresult%26host%3Dhttps%3A%2F%2Fcodepen.io&amp;url=https%3A%2F%2Fcodepen.io%2Fcodebro%2Fpen%2FVwwqvKQ&amp;image=https%3A%2F%2Fscreenshot.codepen.io%2F429574.VwwqvKQ.small.75dedba0-888d-4f35-9623-6df978d7e289.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/1924bbdc5b79a51ee272cb850b8fb9b7/href">https://medium.com/media/1924bbdc5b79a51ee272cb850b8fb9b7/href</a></iframe><p>Right now we have simply added the noise over the top of our shape, in the next article we will merge it into our shape.</p><h3>SVG noise filter series</h3><p>Part I — Introduction — <a href="https://medium.com/@codebro/svg-noise-filter-45b5edbbc28d">https://medium.com/@codebro/svg-noise-filter-45b5edbbc28d</a></p><p>Part II — Applying noise to shapes — <a href="https://medium.com/@codebro/svg-noise-filter-fd5a5edfba86">https://medium.com/@codebro/svg-noise-filter-fd5a5edfba86</a></p><p>Part III — Bells and whistles — <a href="https://medium.com/@codebro/svg-noise-filter-f38a9327f66c">https://medium.com/@codebro/svg-noise-filter-f38a9327f66c</a></p><p>Part IV — Animating the noise — <a href="https://medium.com/@codebro/svg-noise-filter-bc6247ba4399">https://medium.com/@codebro/svg-noise-filter-bc6247ba4399</a></p><p>Part V — Thicc noise — <a href="https://medium.com/@codebro/svg-noise-filter-part-v-6836c8351c45">https://medium.com/@codebro/svg-noise-filter-part-v-6836c8351c45</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45b5edbbc28d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>