A tool for generating pixel art with Gemini AI and analyzing images to detect native resolution patterns. This application allows you to both create pixel art using Google's Gemini AI and analyze existing pixel art to determine its native resolution.
- Generate pixel art using Google's Gemini AI with customizable prompts
- Upload and analyze images to detect patterns using Fast Fourier Transform (FFT)
- Visualize FFT results with interactive graphs
- Identify dominant frequencies in pixel art
- Determine the native resolution of upscaled pixel art
- Display pixel art at its original resolution
- Clone this repository
- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and navigate to the URL shown in the terminal (usually http://localhost:5173)
- Upload an image and click "Analyze with FFT"
- View the results and analysis
To build the application for production:
npm run buildThe built files will be in the dist directory.
To preview the production build:
npm run previewThis project is configured for easy deployment to GitHub Pages using GitHub Actions:
- Push your changes to the
mainbranch - GitHub Actions will automatically build and deploy your site
- Your site will be available at
https://girllich.github.io/geft/
If you prefer to deploy manually:
- Build the project:
npm run build - Push the contents of the
distdirectory to thegh-pagesbranch of your repository
- React
- TypeScript
- Vite
- mathjs
- Tailwind CSS