pjsekai-background-generator-pixi
Version:
Generate PJSekai background by PixiJS.
50 lines (38 loc) • 1.68 kB
Markdown
# pjsekai-background-generator-pixi
[](https://badge.fury.io/js/pjsekai-background-generator-pixi)
A simple tool for generating PJSekai style background with a jacketImage.
## Example
```javascript
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
```bash
$ pnpm install
$ pnpm watch
```
### Commit Message Convention
```regex
(F|R|D|S|V|I): <Verb Phrase>
```
- **F** for **F**eature (Additions, Fixes, Ajustments of functionalities, etc.)
- **R** for **R**efactor (Adjustments of code structure, naming, typing, comments, etc.)
- **D** for **D**ocumentation (Documentation, README, etc.)
- **S** for **S**tyle (Styling, Visual Design Adjustments, etc.)
- **V** for **V**ersion (Versioning, Dependencies, Licensing, etc.)
- **I** for **I**18n (Translation, Localisation, etc.)
## Acknowledgement
- Some of the data and assets are from [FriedPotato](https://github.com/sevenc-nanashi/FriedPotato) server.
[](https://github.com/sevenc-nanashi/FriedPotato)