Demos and examples on this page require
browser with at least WebGL 1 working. All recent versions of major browsers
should work, see the introductory blog post
for more information. You can also use the
Magnum GL Info utility to see if your
browser is capable of running the demos; if you are unlucky and your browser
isn’t capable, you can at least try the
asm.js version of the Triangle example.
Spotted a bug?
It’s impossible to verify that all examples work on all browsers. If you
have a problem running the demos or the website is behaving weirdly, please
report a bug either for the
a particular example or
for the website. Feedback welcome!
Loose octree for accelerating collision detection
A viewer and player for animated glTF scenes. Drag&drop a file to load it.
Builds a pyramid out of cubes and allows you to destroy it after.
Loads an OGG file and shows how to play spatialized audio with the Magnum
Uses scene importer plugins to load a 3D scene for interactive viewing.
Shows how to use builtin primitives and how to do simple input handling.
Displays an interactive cube.
Looking for more? Not all demos are ported to HTML5 yet. See
Examples and Tutorials and Utilities
in the documentation — there’s an Oculus VR demo, shadow mapping, shader
effects, various tools and apps and more.