Facet: the DSEL for WebGL graphics

Facet is a domain-specific embedded language for WebGL graphics.

Facet in action

Try out the Facet demos, read the documentation, or fork the Facet git repo! Facet is open source.

Why Facet?

WebGL makes it possible to create compelling and fast 3D graphics on a modern web browser. But it does not make it easy! WebGL is based on OpenGL ES, which is based on OpenGL, which is a fundamentally old API. These are delightful assembly languages for graphics, but it's 2011, and we can do better than assembly.

Facet tries to give programmers a set of primitives that can be composed together to create higher-level constructs. The most important aspect of Facet is that although you will never have to write a WebGL shader with it, you will be able to do pretty much anything that's possible with shaders.

Who?

Facet is developed primarily by Carlos Scheidegger, at the AT&T Research infovis department.

Fork me on GitHub