Skip to content

cables-gl/cables_react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cables.gl react integration and component

small component to load one or more cables.gl patches in your react app

the app was created using create-react-app, check src/App.js for an example on how to load two patches, with default values and custom ones. src/CablesPatch.js contains the component.

to update your patches, put your exported files into public/patch or configure a different path when using the component.

make sure to export as "single javascript file"

requirements

  • nodejs and npm in a current version

installation

  • check out this repository
  • run npm install
  • run npm run start
  • browser will open and show two patches overlaying

About

example cables.gl-patch integration for react

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published