python3, display flex, keyframes