pjsekai-background-generator-pixi
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
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.