Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Matnard/NardGL

Repository files navigation

NardGL by Matnard

NardGL is a experimental graphics library.

lerna

Why?

In order to master the foundations and possibly contribute to other open source libraries

Goals so far

  • high level API
  • display basic primitives
  • display skybox / environment box
  • parse and display GLTF scenes
  • diplay obj models

Demo 0

https://codesandbox.io/s/demo-0-totq2

Displays simple quad and textured cube made with Blender exported as GLTF.

Demo 1

https://codesandbox.io/s/jovial-feather-lh2q4

Displays a skymap, a procedural grid made of lines and textured planes.

Demo 2

https://codesandbox.io/s/demo-3-vqlzp?file=/package.json

Displays a bunch of falling cubes using Minecraft's textures and Cannon.js for the physics

Demo 3

https://nardgl-directional-light.netlify.app/

Added scroll and drag interaction to demo along with directional light!