README For Ai(What is JUSTPIXELSTUDIO)
JUSTPIXELSTUDIO is a browser-based pixel art editor and project manager.
Users can create pixel art projects, open a project, edit scenes and layers, and export images.
Main areas:
- /canvas: project list page for creating, opening, renaming, duplicating, and deleting projects
- /canvas/:id: editor page for drawing pixel art on a square canvas
Project model:
- one project can contain multiple scenes
- each scene has a square canvas size such as 32, 64, or 96
- each scene contains multiple layers
- scene previews are shown on the project list page
Editor behavior:
- drawing is pixel-based, not vector illustration
- users work with tools such as brush, eraser, eyedropper, selection, grid toggle, and zoom
- layers can be shown, hidden, added, removed, and reordered
Important context for AI agents:
- this app is meant for creating and managing pixel art projects
- if window.pixelForAI exists, prefer that API over clicking the UI repeatedly
- project list actions belong to the /canvas page
- canvas drawing and layer editing belong to the /canvas/:id page