# aframe-gif-shader **Repository Path**: wavef/aframe-gif-shader ## Basic Information - **Project Name**: aframe-gif-shader - **Description**: A gif shader for A-Frame VR v1.6.0. Inspired by: @mayognaise aframe-gif-shader @gtk2k's awesome sample. - **Primary Language**: JavaScript - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-06-15 - **Last Updated**: 2024-09-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AFrame GIF Shader **A gif shader for [A-Frame](https://aframe.io) VR - v1.6.0** [DEMO](https://ax.minicg.com/demo/aframe-gif-shader/index.html) ![demo](images/demo.gif) Inspired by: - [@gtk2k - animation_gif](https://github.com/gtk2k/gtk2k.github.io/tree/master/animation_gif) - [mayognaise - aframe-gif-shader](https://github.com/mayognaise/aframe-gif-shader/tree/master) ## Properties | Property | Description | Default Value | | -------- | ----------- | ------------- | | src | image url | '' | | speed | limited to 1 at the beginning, can change after init | 1 | | play | play or pause | true | | repeat | texture repeat | 1,1 | | blending | none, normal, additive, multiply, subtract | 'none' | ## Usage ### Browser Install and use by directly including the [browser files](dist): ```html My A-Frame Scene ``` ### ES Module ```js import 'aframe' import 'aframe-gif-shader' ```