Skip to content

davidisaaclee/react-video-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-video-graph

Renders a fragment shader graph as a React component.

Uses @davidisaaclee/video-graph to encode the graph.

Usage

<VideoGraph
  graph: this.state.myVideoGraph,
  outputNodeKey: 'master-output',
  runtimeUniforms: {
    'oscillator-node': {
      'currentTime': {
        identifier: 'currentTime',
        value: { type: 'f', data: Date.now() }
      }
    }
  },
  glRef: (glRenderingContext) => this.gl = glRenderingContext
/>

Install

yarn add @davidisaaclee/react-video-graph

Develop

# Build using tsc 
yarn build

# Run Storybook on port 9001
yarn run storybook

About

React component for rendering fragment shader graphs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published