pixel-shape-tessellation-from-image

pixel-shape-tesselation-from-image

🖼️✨ Convert images into tessellating pixel shape art! Upload an image to generate a pixel layout with customizable shapes and colors. Perfect for printing custom building instructions. 🎨🔲🖨️

Pixel Shape Tessellation from Image (Early Development)

An upcoming simple web tool that converts an image into a 2D pixel art design. Users can upload an image, and the tool generates a tessellated pixel art layout based on a chosen tesselating single-colored pixel shape in a set of available colors and quantities. The tool will support various pixelated shapes that tessellate together to create a cohesive design.

This project aims to be generic, supporting different pixel shapes. A separate project may focus on specific tessellating pixel shapes whose names are not mentioned here.

View the current version deployed here

Planned Features

  1. Load an image: Upload an image using an input field
  2. Draw image on canvas: Render the uploaded image on an HTML5 canvas
  3. Define tessellating pixel shape: Load or define a pixel shape that tessellates
  4. Extract pixel data: Extract pixel data from the image and fit it to the defined shape
  5. List available colors: Display a list of available colors and their quantities
  6. Generate pixel art layout: Create a tessellated layout of pixel shapes over the image, mapping pixel areas to the best-fitting shapes and colors
  7. Display result: Show the final pixel art design on the canvas
  8. CSS for printing: Include styling for printing the pixel art instructions

Future Ideas

Tech Stack

Usage

  1. Open the project in your browser
  2. Upload an image
  3. The tool will:
    • Draw the image on the canvas
    • Extract pixel data from the image
    • Generate a tessellated pixel art layout based on the defined shapes
    • Display the result with matching pixel shapes and colors
  4. Print the result using the print button (if available)

Roadmap