aminogfx-gl

1.7.0 • Public • Published

aminogfx-gl

AminoGfx implementation for OpenGL 2 / OpenGL ES 2. Node.js based animation framework supporting images, texts, primitives, 3D transformations and realtime animations. Hardware accelerated video support on Raspberry Pi.

Platforms

  • macOS
  • Raspberry Pi

Requirements

In order to build the native components a couple of libraries and tools are needed.

macOS

  • GLFW 3.2
  • FFMPEG

MacPorts setup:

sudo port install glfw freetype ffmpeg

Homebrew setup:

brew install pkg-config
brew tap homebrew/versions
brew install glfw3
brew install freetype

Raspberry Pi

  • libfreetype6-dev
  • libjpeg-dev
  • libav
  • libswscale-dev
  • libavcodec-dev
  • Raspbian (other Linux variants should work too)

Setup:

sudo rpi-update
sudo apt-get install libfreetype6-dev libjpeg-dev libavformat-dev libswscale-dev libavcodec-dev

Installation

npm install

Build

During development you'll want to rebuild the source constantly:

npm install --build-from-source

Or use:

./rebuild.sh

Demo

node demos/circle.js

Example of all supported features are in the demos subfolder.

Dependencies (7)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i aminogfx-gl

    Weekly Downloads

    1

    Version

    1.7.0

    License

    MIT

    Unpacked Size

    45.7 MB

    Total Files

    180

    Last publish

    Collaborators

    • cbratschi
    • joshmarinacci