<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Alexandre Vacassin</title>
    <description>The latest articles on Forem by Alexandre Vacassin (@alexandrevacassin).</description>
    <link>https://forem.com/alexandrevacassin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1565834%2Fa74cb7a7-e1bf-44a9-a8e8-50305c22bdfa.png</url>
      <title>Forem: Alexandre Vacassin</title>
      <link>https://forem.com/alexandrevacassin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/alexandrevacassin"/>
    <language>en</language>
    <item>
      <title>CSS Art - Warholizer</title>
      <dc:creator>Alexandre Vacassin</dc:creator>
      <pubDate>Wed, 05 Jun 2024 15:30:21 +0000</pubDate>
      <link>https://forem.com/alexandrevacassin/warholizer-ee0</link>
      <guid>https://forem.com/alexandrevacassin/warholizer-ee0</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for &lt;a href="https://dev.to/challenges/frontend-2024-05-29"&gt;Frontend Challenge v24.04.17&lt;/a&gt;, CSS Art: June.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Inspiration
&lt;/h2&gt;

&lt;p&gt;June is a very lively month, with bright colors, warmth and energy.&lt;/p&gt;

&lt;p&gt;For the CSS Art of June contest, I created the "Warholizer", a project that takes ordinary images and transforms them to recreate the iconic, vibrant look of Marilyn Monroe in Andy Warhol's famous pop art paintings. &lt;/p&gt;

&lt;p&gt;Using CSS filters, the Warholizer  transforms any ordinary image into a brightly colored work of pop art to reflect the joyful, festive atmosphere of June.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/alexandrevacassin/embed/rNgwOZp?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Journey
&lt;/h2&gt;

&lt;p&gt;I set out to explore how to colorize specific parts of an image using filters. I incorporated SVG drawings directly into the HTML for various elements: background, hair, face, eyelids, and lips. I learned to blend CSS and SVG filters to create a distinctive look for an image.&lt;/p&gt;

&lt;p&gt;To optimize the HTML code, I worked with a single image that is duplicated four times using jQuery. The basic colors are then applied according to the image sequence (1, 2, 3, 4).&lt;/p&gt;

&lt;p&gt;I had fun creating functions that allow users to experiment with colors by varying the "hue-rotate" of each image, resulting in a unique artwork. The "Play" button changes the "hue-rotate" of the images randomly, and a "Show Original" button lets users view the original image.&lt;/p&gt;

&lt;p&gt;This project was fun and gave me a better understanding of CSS and SVG filters.&lt;/p&gt;

</description>
      <category>frontendchallenge</category>
      <category>devchallenge</category>
      <category>css</category>
    </item>
  </channel>
</rss>
