Skip to content

A framework that abstracts away from canvas2D and WebGL and is able to handle both transparent to the programmer

License

Notifications You must be signed in to change notification settings

ThomasAn73/OpenSource-Javascript-GeometryEngine-and-GraphicsFramework

Repository files navigation

Javascript Geometry Engine and Graphics framework

A geometry engine and graphics framework that abstracts away from canvas2D and WebGL and is able to handle either one transparent to the programmer

  • The following example game implements this framework on Canvas2D -> Example1
  • The following example game implements this framework on Canvas WebGL -> Example2

The JS files behind both example games are left intentionally readable (via Chrome-->DeveloperTools)

  • A brief explanation outlining the deisgn concept is shown --> here
  • A preliminary ToDO list can be seen --> here
  • An example "HelloWorld" project can be seen --> here Extract the ZIP file into a folder, drop the JS files and the two glsl shader files into the same folder and run the Example.html (you will need to load the html via localhost to avoid XMLHttpRequest denied" on the glsl files. For example if you have python installed on your system open a command prompt and run "python -m http.server")

Screenshot01 Screenshot02 Screenshot03

About

A framework that abstracts away from canvas2D and WebGL and is able to handle both transparent to the programmer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages