acarapetis / ricci_rot

An *incomplete* WebGL port of Robert Sinclair's ricci_rot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ricci_rot

In their 2005 paper, J. Hyam Rubenstein and Robert Sinclair proposed the visualization of Ricci flow via isometric embeddings of axially symmetric metrics, which have the nice property of remaining embeddable when acted upon by the flow. The paper was accompanied by Sinclair's ricci_rot program, which neatly demonstrated this visualization using OpenGL.

This project is a (partial) adaptation of the ricci_rot demonstration to run in the browser, made possible by WebGL and Emscripten. The numerical simulation uses the original C code, while (some of) the visual and interactive components have been rewritten in Javascript using THREE.js. (Many of the others remain unimplemented.)

Building

Once you have installed a recent version of emscripten and configured your environment accordingly (e.g. via source /path/to/emsdk_env.sh), run ./build.sh to compile ricci_rot.c to ricci_rot.js.

About

An *incomplete* WebGL port of Robert Sinclair's ricci_rot

License:GNU General Public License v3.0


Languages

Language:JavaScript 65.5%Language:C 31.5%Language:HTML 1.9%Language:Python 1.0%Language:Shell 0.1%