<?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>DEV Community: Aaron</title>
    <description>The latest articles on DEV Community by Aaron (@iaaron).</description>
    <link>https://dev.to/iaaron</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%2F2013254%2Fc7d0ce43-2729-4583-8f58-a3fa347080b6.jpeg</url>
      <title>DEV Community: Aaron</title>
      <link>https://dev.to/iaaron</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iaaron"/>
    <language>en</language>
    <item>
      <title>Visualize the preferences of cats</title>
      <dc:creator>Aaron</dc:creator>
      <pubDate>Mon, 02 Sep 2024 04:33:12 +0000</pubDate>
      <link>https://dev.to/iaaron/visualize-the-preferences-of-cats-14al</link>
      <guid>https://dev.to/iaaron/visualize-the-preferences-of-cats-14al</guid>
      <description>&lt;p&gt;Occasionally, I saw an article named &lt;a href="https://whydocatsanddogs.com/cats" rel="noopener noreferrer"&gt;"Why do cats...?"&lt;/a&gt;, which analyzed some preferences and behaviors of cats. The visual design in it attracted me very much. Its feature was the use of hand-drawn style and bubble-like layout. Besides, the lovely font was also pleasing. I like cats very much. I have a cat named Guagua (meaning cute and silly). Similarly, I am a front-end developer. I developed a graph visualization framework named &lt;a href="https://github.com/antvis/g6" rel="noopener noreferrer"&gt;AntV G6&lt;/a&gt;. Therefore, I thought I could achieve a similar design through this framework, and it turned out that I did!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc3rdnxcyfoxbp1ownphr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc3rdnxcyfoxbp1ownphr.png" alt="Image description" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;G6 is based on a rendering engine named &lt;a href="https://github.com/antvis/g" rel="noopener noreferrer"&gt;G&lt;/a&gt;. It provides a plugin that can convert shapes into a hand-drawn-like style (essentially based on &lt;a href="https://github.com/rough-stuff/rough" rel="noopener noreferrer"&gt;roughjs&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fic3iieu5h68wf1d4ni88.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fic3iieu5h68wf1d4ni88.png" alt="Image description" width="800" height="628"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Moreover, I used the pack layout provided by &lt;a href="https://github.com/d3/d3-hierarchy" rel="noopener noreferrer"&gt;d3-hierarchy&lt;/a&gt;. Thanks to the registration mechanism of G6, it is very easy to access various third-party libraries.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs6mzpuk7eg7wxri1oz14.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs6mzpuk7eg7wxri1oz14.png" alt="Image description" width="800" height="281"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The complete example can be seen at &lt;a href="https://g6-next.antv.antgroup.com/en/examples/scene-case/default#why-do-cats" rel="noopener noreferrer"&gt;Why do cats?&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you like it, welcome to give &lt;a href="https://github.com/antvis/g6" rel="noopener noreferrer"&gt;my project&lt;/a&gt; a star. It is very important to me.&lt;/p&gt;

</description>
      <category>frontend</category>
      <category>javascript</category>
      <category>graph</category>
      <category>visualization</category>
    </item>
  </channel>
</rss>
