Skip to content

This is an image generator website that allows users to generate, combine, and download images.

Notifications You must be signed in to change notification settings

JEKO10/Alpaca-Image-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alpaca Image Generator
(React)


Table of contents

Project task

This is a solution to the DevProjects. Created in React, using local alpacaConfig file. You are able to generate and download alpaca avatars.

Project overview

Firstly, I set up states for every single alpaca part. Then, displayed all image parts with the map method, and using the switch statement, parts are changing on the image. You are able to change its neck, mouth, hair, ears, eyes, leg, etc. There are 2 buttons, for generating random alpaca and downloading the image. Random generating was created by using the Math.floor(Math.random() * number of options) function. Downloading images is powered by DownloadJS and Html to image packages.

Built with

  • React
  • Sass
  • Downloadjs
  • Html to image
  • GitHub Pages

Lighthouse Score

Lighthouse Score

  • Performance: 99
  • Accessibility: 95
  • Best Practices: 100
  • SEO: 100

Last updated: 6/10/2024

I continuously strive to maintain and improve these scores with each update.

Live preview

Click for live preview

About

This is an image generator website that allows users to generate, combine, and download images.

Topics

Resources

Stars

Watchers

Forks