Skip to content

khanzzirfan/pixi-node-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@pixi/node Example

This is a simple hello world example of using @pixi/node. This package is a lot like pixi.js, but excludes the DOM-specific behaviors, including interaction, accessibility.

GitHub Actions

@pixi/node can be run on GitHub Actions. There's a complete example here in nodejs.yml. There are two essential ingredients:

  • Installing the canvas dependencies as described in node-canvas
  • Running with XVFB

For example:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Install Canvas Dependencies
      run: sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
    # <-- checkout, install node, etc here
    - name: Execute
      uses: GabrielBB/[email protected]
      with:
        # Or whatever your excutable call is
        run: node .

Node: See GitHub Actions documentation for more information.

About

working on pixi video generation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%