chronosgl 3.2.0 copy "chronosgl: ^3.2.0" to clipboard
chronosgl: ^3.2.0 copied to clipboard

outdatedDart 1 only

A simple WebGL2 engine written in Dart

ChronosGL #

A simple WebGL2 engine written in Dart #

Features: #

  • MIT licensed
  • straight-forward API
  • lightweight (close to "baremetal")
  • fully based on WebGL2 and GLSL 3.00es
  • keyboard and mouse event capture
  • support for canvas based textures including skybox
  • focus on procedural content generation
  • optional basic scenegraph
  • importer for several file formats
  • bone animations
  • few dependencies

Code #

Examples #

Usage #

You must use Dartium (Version 50 or later) and Dart SDK (Version 1.24.0 or later)

Create a new Dart webapp project, add this as a pubspec.yaml dependency: dependencies: chronosgl: any

You also need the vector_math library which is the only library that ChronosGL is dependent on.

Copy the example from above and run it in Dartium.

It should look like this:

If you need dart:html, it is recommended to add dart:html as HTML like this, due to a naming conflict regarding Node: import 'dart:html' as HTML;

7
likes
0
pub points
28%
popularity

Publisher

unverified uploader

A simple WebGL2 engine written in Dart

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

vector_math

More

Packages that depend on chronosgl