<commit_before># BaGL: Basic Graphics Library for Dart.

WIP<commit_msg>Add minimal readme<commit_after># 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](https://github.com/tomaka/glium) and [Elm WebGL](https://github.com/elm-community/elm-webgl).

# Usage

## Examples

Some basic examples are available in the [example](example) folder:

- [Triangle](example/triangle): the "hello world" of the graphics world, drawing
  a single triangle.
- [Animated triangle](example/animated_triangle): demonstrates an animation loop
  with a triangle whose size oscillates.
- [Textured triangle](example/textured_triangle): demonstrates "UV" texturing 
  with a 2D texture from a separate `png` file.

## Documentation

API documentation is available [here](https://www.dartdocs.org/documentation/bagl/latest/).
{'fraction_non_alphanumeric': 0.0890652557319224, 'fraction_numerical': 0.0008818342151675485, 'mean_word_length': 4.973684210526316, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2906290', 'n_tokens_mistral': 333, 'n_tokens_neox': 311, 'n_words': 127}