react-ogl
𦴠A barebones react renderer for ogl.
File Explorer
Download Latest Version (.zip)- CI.yml
- dark.svg
- FUNDING.yml
- light.svg
- Controls.tsx
- cubes.tsx
- draw-modes.tsx
- primitives.tsx
- index.html
- tsconfig.json
- Canvas.native.tsx
- Canvas.tsx
- constants.ts
- events.native.ts
- events.ts
- hooks.ts
- index.native.ts
- index.ts
- reconciler.ts
- renderer.tsx
- types.ts
- utils.ts
- native.test.tsx.snap
- utils.test.tsx.snap
- web.test.tsx.snap
- index.ts
- setupTests.ts
- WebGLRenderingContext.ts
- events.test.tsx
- hooks.test.tsx
- index.test.tsx
- native.test.tsx
- utils.test.tsx
- web.test.tsx
- .eslintrc
- .gitignore
- .prettierrc
- jest.config.js
- LICENSE
- package.json
- README.md
- tsconfig.json
- vite.config.js
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/pmndrs/react-ogl
Downloads the entire project code from GitHub to your computer.
cd react-ogl
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install ogl react-ogl
Downloads and installs the libraries listed in package.json.
yarn add ogl react-ogl
Type this command into your terminal and run it.
pnpm add ogl react-ogl
Type this command into your terminal and run it.
npm run start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
