A WebGL and canvas graphics engine for dynamic web graphics and animation