An attempt to rewrite the js anima visualization in Objective-C and C++ to improve performance