After many years of being a member here, I have finally produced my first tutorial.
Many languages come with Quaternion functions built in. This tutorial has been made for the benefit of those who are coding in languages without Quaternion capabilities.
The Yabasic version is a bit sloppy, but runs smoother than the Actionscript version. Even if you don't have Flash, you can still view the ActionScript code using Notepad++ or Notepad by looking in the .as files.
You'll need Jim's Yabasic Emulator to edit or run the Yabasic version, or Flash 8 or higher to edit & recompile the AS version Flash Player 8 or higher to veiw the AS version.