spin_cube example