A sophisticated code art generator that transforms any text or code into beautiful pixel art with advanced steganographic capabilities. Built with Next.js, React, and TypeScript.
- Intelligent Art Generation: Creates recognizable pixel art patterns including creatures, landscapes, geometric designs, cosmic scenes, and abstract art based on content analysis
- Universal Content Support: Accepts any text input - code, messages, poetry, or stories
- Multiple Art Styles: Deterministic algorithms generate distinct visual styles based on content characteristics
- Interactive Color Palettes: Live palette switching with visual preview
- LSB Steganography: Robust pixel-based embedding using Least Significant Bit encoding
- XOR Encryption: Optional password protection for embedded content
- Global Community Features: Real-time heart counter showing community engagement
- Production Ready: Zero dependencies, client-side processing, reliable PNG downloads
- Enter any text content in the input field
- Select from available color palettes using the interactive selector
- Generate pixel art with automatic style selection based on content
- Download high-quality PNG files
- Enable embedding to hide text within pixel data
- Optionally add encryption with custom password
- Generated images preserve embedded data through downloads and sharing
- Works with any content type - code, messages, or documents
- Use the decode feature to extract hidden content from Snippix images
- Enter decryption password if the image was encrypted
- Copy extracted text or download as file
- Art Engine: Five distinct algorithms (creature, landscape, geometric, cosmic, abstract)
- Steganography: UTF-8 compatible LSB encoding with error handling
- Encryption: XOR cipher with password-based security
- UI/UX: Professional interface with interactive elements and real-time feedback
/src
/lib
- artGenerator.ts # Multi-style pixel art generation
- steganography.ts # LSB encoding/decoding with UTF-8 support
- palettes.ts # Color palette definitions and selectors
/components
- CodeInput.tsx # Universal text input interface
- ArtCanvas.tsx # Canvas rendering and art generation
- DecodeArtModal.tsx # Content extraction interface
- DownloadButton.tsx # File download management
/app
- page.tsx # Main application with global state
- layout.tsx # Application layout and metadata
- /api/hearts # Global community counter API
npm install
npm run dev
npm run buildRead HOW_IT_WORKS.md for a detailed technical explanation of the algorithms and architecture.
Optimized for Vercel deployment with API routes for community features. All steganographic operations run client-side for privacy and reliability.
Built for Hack Club Summer of Code 2025