pjsekai-background-generator-pixi
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i pjsekai-background-generator-pixi

Weekly Downloads

3

Version

1.0.3

License

GPLv3

Unpacked Size

22.2 MB

Total Files

15

Last publish

Collaborators

  • mkpoli