1.0.3 • Published 2 years ago

pjsekai-background-generator-pixi v1.0.3

Weekly downloads
-
License
GPLv3
Repository
github
Last release
2 years ago

pjsekai-background-generator-pixi

npm version

A simple tool for generating PJSekai style background with a jacketImage.

Example

import { generate } from 'pjsekai-background-generator-pixi'

(async () => {
  const response = await fetch('./examples/jacket.png')
  const image = await response.blob()
  return await generate(image)
})().then(image => {
  const img = document.createElement('img')
  img.src = URL.createObjectURL(image)
  document.body.appendChild(img)
})

Input

Example input

Output

Example output

Development

$ pnpm install
$ pnpm watch

Commit Message Convention

(F|R|D|S|V|I): <Verb Phrase>
  • F for Feature (Additions, Fixes, Ajustments of functionalities, etc.)
  • R for Refactor (Adjustments of code structure, naming, typing, comments, etc.)
  • D for Documentation (Documentation, README, etc.)
  • S for Style (Styling, Visual Design Adjustments, etc.)
  • V for Version (Versioning, Dependencies, Licensing, etc.)
  • I for I18n (Translation, Localisation, etc.)

Acknowledgement

  • Some of the data and assets are from FriedPotato server. Readme Card