modify triangle and animation