A fun and interactive web application that lets you create custom alpaca avatars by mixing and matching different features like backgrounds, hair, eyes, mouth, and accessories.
- 🎨 Customizable alpaca parts:
- Backgrounds (18 color variations)
- Hair styles (7 options)
- Eyes (6 expressions)
- Ears (3 positions)
- Mouth (5 expressions)
- Neck (4 styles)
- Leg (6 poses)
- Nose
- Accessories (4 options)
- 🎲 Randomize feature to generate random combinations
- 💾 Download your creation as PNG
- 🖼️ Live preview canvas
- 📱 Responsive design
- React
- Vite
- HTML Canvas
- CSS3
- Node.js 16.x or higher
- npm or yarn
- Clone the repository or download the source code
- Navigate to the project directory:
cd alpacagen- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and visit
http://localhost:5173
To create a production build:
npm run buildThe built files will be in the dist directory.
To preview the production build locally:
npm run preview- Use the control panel on the right to customize your alpaca:
- Click on different options for each feature
- See the changes instantly in the preview
- Click "Randomize" to generate random combinations
- When satisfied, click "Download PNG" to save your creation
alpacagen/
├── public/
│ └── assets/ # Image assets for alpaca parts
├── src/
│ ├── components/ # React components
│ │ ├── AlpacaCanvas.jsx
│ │ └── Controls.jsx
│ ├── App.jsx # Main application component
│ └── main.jsx # Application entry point
└── index.html # HTML template
- Inspired by DevProjects
- Alpaca artwork and assets included in the project