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

outdatedDart 1 only

A simple, minimal and elegant scene graph for WebGL written in Dart

ChronosGL #

A scene graph for WebGL written in Dart #

Features:

  • MIT licensed
  • very high focus on simple, minimal and elegant code and API
  • lightweight and fast
  • capture keyboard and mouse events
  • all scene graph nodes position and rotation are based on a single matrix4 variable. this is likely the main differentiator to other scene graphs
  • space ship camera included
  • shapes: cube, cylinder, icosahedron and torusknot
  • pickray
  • points sprites ( very basic particles )
  • skybox
  • async texture loader with progress feedback
  • only Matrix4 and Vector3 math

Some basic ideas:

  • ChronosGL contains getters for all important objects.
  • The main loop iterates over all ShaderPrograms
  • A ShaderProgam contains all Meshes that shall use its Shader
  • Camera extends Spatial
  • Node extends Spatial
  • Mesh extends Node
  • Nodes can contain child nodes and they inherit their parents transformation.
7
likes
0
pub points
28%
popularity

Publisher

unverified uploader

A simple, minimal and elegant scene graph for WebGL written in Dart

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

browser

More

Packages that depend on chronosgl