# ogl-typescript **Repository Path**: sunrise17/ogl-typescript ## Basic Information - **Project Name**: ogl-typescript - **Description**: 轻量级WebGL 3D框架,演示: http://nshen.gitee.io/ogl-typescript - **Primary Language**: TypeScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 24 - **Created**: 2022-09-02 - **Last Updated**: 2022-09-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
Minimal WebGL library.
## Install
```bash
npm i ogl-typescript
```
## Usage
Same as OGL, just change
```typescript
import { ... } from 'ogl';
```
to
```typescript
import { ... } from 'ogl-typescript'
```
You can find [ogl-typescript-starter](https://github.com/nshen/ogl-typescript-starter) here, it's very easy to get start.
## Examples
[Show me what you got!](https://nshen.github.io/ogl-typescript/examples) - Explore a comprehensive list of examples, with comments in the source code.
## Build
build library
```bash
yarn build # npm run build
```
build examples
```bash
yarn build:examples # npm run build:examples
```
## Versions
| OGL-TypeScript | OGL | |
| -------------- | ------ | ------------------------------------------ |
| 0.1.20 | 0.0.60 | |
| 0.1.19 | 0.0.59 | |
| 0.1.18 | 0.0.58 | |
| 0.1.17 | 0.0.57 | |
| 0.1.16 | | add computeVertexNormal method to Geometry |
| 0.1.15 | 0.0.56 | |
| 0.1.14 | 0.0.55 | |
| 0.1.13 | 0.0.54 | |
| 0.1.12 | 0.0.53 | |
| 0.1.11 | 0.0.52 | |
| 0.1.10 | 0.0.51 | |
| 0.1.9 | 0.0.50 | |
| 0.1.8 | 0.0.49 | |
| 0.1.7 | 0.0.48 | |
| 0.1.6 | 0.0.47 | |
| 0.1.5 | 0.0.46 | |
| 0.1.4 | 0.0.45 | |
| 0.1.3 | 0.0.43 | |
| 0.1.2 | 0.0.42 | |
| 0.1.1 | 0.0.40 | |