<?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: Saurabh Kanyal</title>
    <description>The latest articles on DEV Community by Saurabh Kanyal (@saurabh_kanyal).</description>
    <link>https://dev.to/saurabh_kanyal</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%2F3502685%2Fb01c7bd1-2d9e-46d3-a8cc-680305be568d.png</url>
      <title>DEV Community: Saurabh Kanyal</title>
      <link>https://dev.to/saurabh_kanyal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/saurabh_kanyal"/>
    <language>en</language>
    <item>
      <title>Sprite Canvas</title>
      <dc:creator>Saurabh Kanyal</dc:creator>
      <pubDate>Mon, 15 Sep 2025 06:36:28 +0000</pubDate>
      <link>https://dev.to/saurabh_kanyal/sprite-canvas-172d</link>
      <guid>https://dev.to/saurabh_kanyal/sprite-canvas-172d</guid>
      <description>&lt;p&gt;&lt;strong&gt;Sprite Canvas&lt;/strong&gt; is an AI-powered web application designed to be a game developer's creative assistant. Its primary purpose is to streamline the creation of 2D game assets. Users can generate unique, high-quality sprite sheets and tilemaps simply by describing what they want in plain text. It combines AI generation with a hands-on editing environment, allowing for both rapid prototyping and detailed customization of game graphics.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What Problem This Solves&lt;/strong&gt;&lt;br&gt;
This application directly addresses a major bottleneck in game development, especially for independent developers, small teams, or participants in game jams: the creation of custom art assets.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Skill Gap: Not every developer is a skilled artist. SpriteCanvas empowers programmers and designers to create professional-looking graphics without needing artistic expertise.&lt;/li&gt;
&lt;li&gt;Time and Budget: Creating art is time-consuming and can be expensive if outsourced. This tool drastically reduces the time and cost associated with asset creation, allowing developers to focus on gameplay and other core mechanics.&lt;/li&gt;
&lt;li&gt;Prototyping: It enables rapid prototyping of visual ideas. A developer can quickly generate placeholder or even final-quality assets to see how they look and feel in their game engine.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Tech Stack&lt;/strong&gt;&lt;br&gt;
The application is built with a modern, performant, and maintainable tech stack:&lt;/p&gt;

&lt;p&gt;-Frontend Framework: Angular (v20+), utilizing its latest features like standalone components for a modular architecture and signals for efficient, fine-grained state management. It runs in a zoneless configuration for improved performance.&lt;br&gt;
-Styling: Tailwind CSS is used for the utility-first styling, loaded directly from a CDN. This is supplemented with custom CSS to achieve the app's unique "neo-brutalist" aesthetic (e.g., hard shadows, bold borders).&lt;br&gt;
-Language: TypeScript.&lt;br&gt;
-AI Integration: Google's Gemini API is accessed through the official @google/genai JavaScript SDK.&lt;/p&gt;

&lt;p&gt;This application built with Google AI Studio. The application leverages Gemini's powerful text-to-image generation capabilities.&lt;br&gt;
-Model: It specifically uses the imagen-3.0-generate-002 model, which is optimized for generating high-quality images from text prompts.&lt;/p&gt;

&lt;p&gt;App Link : &lt;a href="https://ai.studio/apps/drive/1PIpT6FjGNBvpWA3Hr0s4O-6BeTwbNX2k" rel="noopener noreferrer"&gt;https://ai.studio/apps/drive/1PIpT6FjGNBvpWA3Hr0s4O-6BeTwbNX2k&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;YouTube Demo :   &lt;iframe src="https://www.youtube.com/embed/ey_xHVIs6g8"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Functionality:&lt;/strong&gt;&lt;br&gt;
In the Sprite Generator, it takes a detailed character description and a list of animations to create a complex sprite sheet.In the Tile Canvas, it generates individual, context-aware tiles that are designed to fit seamlessly within a larger tilemap.The application is a prime example of using a generative model to create structured, usable content (game assets) from unstructured text input.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsb6tnlu7zzfxypo1sa7a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsb6tnlu7zzfxypo1sa7a.png" alt=" "&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Features&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;AI Sprite Sheet Generator:
Generate multi-frame sprite sheets from a text prompt.
Select from common animation types (Idle, Walk, Attack, etc.) to include in the sheet.The AI is prompted to create assets with transparent backgrounds, suitable for in-game use.&lt;/li&gt;
&lt;li&gt;Interactive Tilemap Editor:&lt;/li&gt;
&lt;li&gt;Image-to-Tilemap: Automatically slice an existing image into a 3x3 tile grid to start your map.&lt;/li&gt;
&lt;li&gt;AI Tile Generation: Select any tile on the canvas and generate its content using a specific prompt.&lt;/li&gt;
&lt;li&gt;Dynamic Canvas: Add or remove rows and columns to create maps of any dimension.&lt;/li&gt;
&lt;li&gt;Seamless View: The editor grid is designed without borders or gaps to provide a true preview of the final, continuous tilemap.&lt;/li&gt;
&lt;li&gt;Transparency Support: A checkerboard background is used to clearly visualize transparent areas.&lt;/li&gt;
&lt;li&gt;Unified Asset Management:
-Asset Gallery: All generated assets (spritesheets, individual tiles, and downloaded tilemaps) are automatically saved to a central gallery.
-Asset Re-use: Click any asset in the gallery to load it back into the appropriate editor for viewing or further modification.&lt;/li&gt;
&lt;li&gt;Usability &amp;amp; UX:
-Canvas Controls: Zoom in/out and reset zoom for precise editing.
-Download: Combine the tiles on the canvas into a single PNG image and download it.
-Modern UI: A clean, responsive, and visually distinct "neo-brutalist" interface.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/google-ai-studio-2025-09-03"&gt;Google AI Studio Multimodal Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>googleaichallenge</category>
      <category>ai</category>
      <category>gemini</category>
    </item>
  </channel>
</rss>
