<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Canvas on Wayne X.Y. Blog</title>
    <link>/en/tags/canvas/</link>
    <description>Recent content in Canvas on Wayne X.Y. Blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Thu, 26 Feb 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="/en/tags/canvas/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Building a Micro-World: Playground Pixel Art and Pathfinding Implementation</title>
      <link>/en/2026/02/26/playground-pixel-art-implementation/</link>
      <pubDate>Thu, 26 Feb 2026 00:00:00 +0000</pubDate>
      <guid>/en/2026/02/26/playground-pixel-art-implementation/</guid>
      <description>&lt;h1 id=&#34;building-a-micro-world-playground-pixel-art-and-pathfinding-implementation&#34;&gt;Building a Micro-World: Playground Pixel Art and Pathfinding Implementation&lt;/h1&gt;&#xA;&lt;p&gt;&#xA;  &lt;img src=&#34;/img/playground/playground_overview.png&#34; alt=&#34;Playground Overview&#34;&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;Recently, while coding, I came across an interesting project on GitHub called &lt;a href=&#34;https://github.com/pablodelucca/pixel-agents&#34;&gt;Pixel Agents&lt;/a&gt;. It simulates AI agents during coding as tiny pixel-style characters working in an office, which looks incredibly cute 😆. Because I really love pixel art, I wondered if I could bring a similar vibe to my own website. That&amp;rsquo;s how this &lt;a href=&#34;/en/playground/&#34;&gt;Playground&lt;/a&gt; came to be.&lt;/p&gt;&#xA;&lt;p&gt;This post will share the implementation details behind this little world, covering how to render crisp pixel art using HTML5 Canvas, designing the states for the characters, and how they navigate the room (BFS pathfinding algorithm).&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
