Emscripten compiles projects written in C++ into asm.js format and run them on all modern web browsers at near-native speed.

This site demonstrates the performance of browser-based computation.

 

Compute-intensive application

Genefer.js is a port of the basic version of Genefer.

It performs Probable Primality tests of Generalized Fermat numbers.

Download c++ source code.

3D rendering software

gl.js is a 4D function grapher made with SDL and OpenGL ES 2.0.

It generates a three-dimensional plot of f as a function of x, y and t.

The function is computed in the vertex shader and the color in the fragment shader.

Download c++ source code.