IDK much about octonions, but quaternions have similar algebraic properties to rotation groups and can be used to encode rotations in 3D graphics.