Added H and I parameters
Added G parameter
Made animation controls interactive