vasilyoshev / plAIbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

license last-commit repo-top-language

Developed with the software and tools below.

React TypeScript Sass Redux Toolkit Material UI Prettier stylelint Framer Motion JSON React Player React Confetti React Zoom Pan Pinch


πŸ”— Quick Links


πŸ“ Overview

plAIbox is a playground for testing small projects.


πŸ“¦ Projects

Find the differences

Game about finding the differences in AI generated images.

Image generation logic:

  1. Topic and style of the image is determined in the level intro.
  2. An initial 1024x1024 image is generated using Stability AI API.
  3. A mask is generated locally for every level - 1024x1024 white image with black circles. Circle positions are random. Circle count and radius range is determined by the difficulty and level progression.
  4. The initially generated image and the mask are used for generating the second image.

Game flowchart

Flowchart

Game state

Game state


πŸš€ Getting Started

βš™οΈ Installation

npm install

πŸ€– Running plAIbox

Use the following command to run plAIbox:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

πŸ§ͺ Tests

To execute tests, run:

npm test

Launches the test runner in the interactive watch mode.

πŸ— Production build

To create a production build, run:

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.


πŸ“„ License

This project is protected under the MIT License. For more details, refer to the LICENSE file.

About

License:MIT License


Languages

Language:TypeScript 99.8%Language:HTML 0.1%Language:SCSS 0.1%