bagl 0.3.1 copy "bagl: ^0.3.1" to clipboard
bagl: ^0.3.1 copied to clipboard

outdatedDart 1 only

Basic Graphics Library for Dart.

BaGL.dart: Basic Graphics Library for Dart. #

WIP: expect changes to public interfaces, missing features and bugs. Please feel free to open issues on missing functionality and changes to public interfaces.

BaGL is a low-level abstraction on top of WebGL. It aims to provide a simpler, safer and more declarative drawing alternative to plain WebGL. BaGL was inspired by Glium and Elm WebGL.

Usage #

Examples #

Some basic examples are available in the example folder:

  • Triangle: the "hello world" of the graphics world, drawing a single triangle.
  • Animated triangle: demonstrates an animation loop with a triangle whose size oscillates.
  • Textured triangle: demonstrates texturing with a 2D texture from a separate png file.
  • Cube: demonstrates drawing a 3D mesh.
  • Animated Cube: demonstrates an animation loop with a 3D mesh.
  • Textured Cube: demonstrates texturing a 3D mesh with a 2D texture from a separate png file.

Documentation #

API documentation is available here.

0
likes
0
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

Basic Graphics Library for Dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, quiver, rl_matrix

More

Packages that depend on bagl