Home > By category > Scripts >Development Tools > Quaternion belt-trick

Quaternion belt-trick

  • Downloads: 
  • Views: 
  • Rating:

This program demonstrates the quaternion belt-trick, also known as the Dirac belt-trick and the waiter trick. It generates an AVI movie file (also included) which shows a stereo movie of the belt-trick in action.


(1) If you want to save time and see the end-result, just watch the included AVI movie. It opens in Windows Explorer with Windows Media Player. The program is really included just to show you how it was done.

(2) The movie is stereoscopic. If you sit back at least a meter from the screen and cross your eyes slightly to fuse the two images in your "mind's eye", you should get a nice stereoscopic effect.

(3) The program takes a few minutes to generate the AVI movie - about 10 minutes on a 3GHz machine. It produces one figure for each frame of video and takes a little software snapshot of each one. There are 96 frames in the movie, the msximum allowed. Any screensavers, pop-up windows, or moving about on the desktop while the program is running can mess up the resulting movie. This problem is due to the way MatLab does its movies and it seems to be unavoidable.

(4) The program utilizes a quaternion data class for the quaternion calculations. I wrote the data class and it is very compact but also full-featured. You can separately download it for free from the same place in Matlab Central where you got this program. Matlab data classes, while a somewhat obscure topic, are very powerful, easy, and interesting and are well worth learning about. With data classes you can create a working algebra with nearly any properties you can imagine. My motivation for writing the quaternion data class was to fully understand something mathematicians call the "Cayley-Dickson Construction" which defines quaternions as recursive complex numbers.

(5) The AVI file included is a compressed version of the original AVI output, which was quite large, about 140Mb.

Credits: The general idea for this program came from the book, Knots and Physics, by Louis H Kauffman, World Scientific. Dr Kauffman included a clever BASIC program in that book that inspired this program.

Free download from Shareware Connection - This program demonstrates the quaternion belt-trick, also known as the Dirac belt-trick and the waiter trick

Publisher: Bill Davidson | License: Freeware | Price: 0.00
Version: 1.0 | Size: 3738 KB | Platform: Matlab, Scripts
Released Date: 23-06-2013 | Rating: 0 | Title: Quaternion belt-trick

Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/22109/1/quaternion_belt_trick.zip

More downloads from Quaternion belt-trick publisher Bill Davidson:

Hurst exponent - This is an implementation of the Hurst exponent calculation that is smaller, simpler

pop-up file viewer - This is a little pop-up file viewer.

Call a waitbar from within a DLL written in C - When a DLL takes a long time to run, things go silent

candlesticks - This is a little function that charts financial data using Japanese candlesticks

Quaternion data class - This is an implementation of quaternions based upon the Cayley-Dickson construction.

Quaternion belt-trick keywords:
Quaternion belt-trick related downloads:

BELT Student - BELT Student is an application that shows the progress of a student working on Binary Logic's BELT Online. BELT Online is the ideal solution for the ELT / ESL classroom and a valuable supplement to any English language teaching course. BELT ...

Quaternion toolbox for Matlab - Quaternion toolbox for Matlab was developed as an accessible and open source tool that enables you to perform quaternion calculations in Matlab.

Euler angle, DCM, Quaternion, and Euler Vector Conversion/Teaching GUI - This is an instructional GUI to be used for learning how Euler angles, DCMs, quaternions, and Euler vector parameters relate in the rotation of cartesian frames (A to B).

Quaternion data class - This is an implementation of quaternions based upon the Cayley-Dickson construction.

BJJ Blue Belt Requirements - The key to effective Brazilian Jiu Jitsu (BJJ) is a solid understanding of the fundamentals. In this app, Roy Dean outlines his blue belt requirements for BJJ. Mount escapes, sidemount escapes, armlocks, chokes, leg locks, guard passes and ...

Shareware Connection periodically updates pricing and software information of 'Quaternion belt-trick' from company source 'Bill Davidson' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'Quaternion belt-trick' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Quaternion belt-trick.

New Reviews

SnapCrab - Nearly every PC users need to take screenshots from time to time, whether it is for personal or professional needs. While using the basic Windows screenshot capture method is available, it is not adequate for everyone. When you want to capture ...

Trend Micro HouseCall - With time, PC users find it increasingly difficult to keep their systems free of malware and rogue apps, despite using latest and feature packed security software. This is mostly owing to the evolving nature of malware and newer types of ...

PhoXo - Even a few years back, it was mostly graphic design professionals or people involved in print media were seen using image editing applications. With digital camera prices nose-diving and mobile imaging reaching new heights, things have undergone ...

ChrisPC Free Video Converter - Even a few years back, video conversion was not commonplace among average PC users. However, with tremendous progress made in computer software and hardware things have changed. Now, it is quite common to see your neighborhood college student ...

Haihaisoft HUPlayer .4.5v - People use various types of media software to play back audio and video files in their PCs. While a majority of users stick with the bundled Windows Media player, some others opt for commercial and third party alternatives. If you want something ...

Norton Security with Backup - Symantec is an old time player in PC security and its various security suites with Norton brand name are used all over the world. With time, Norton security apps have been tweaked to consume fewer resources and they come with several bells and ...

PotPlayer - When it comes to selecting a suitable media player application, the profuse options can leave most PC users baffled. While the bundled WMP has become far more polished than its predecessors in latest releases of Windows, a section of users prefer ...

TinyWall - Nowadays, it is quite hard to locate a computer user who does not need to access the web. While you browse the web for any need, it is imperative that you use security applications to safeguard your computer from various online threats. The ...

Norton Power Eraser - Getting rid of malware and other types of rogue applicationlications with a regular antivirus can prove to be a tough task nowadays. The way malicious users are becoming smarter with time; it makes sense to use an additional layer of protection ...

HandBrake - Nearly every PC user gets into a situation when they fail to understand what to do with a DVD that will not play back on DVD player or PC owing to format restrictions. Some users may also feel irked about a video file downloaded from web refusing ...

New Downloads

Callback Widget

Looking for an effective still
affordable way to increase
conversions and make your
company more open to
customers? By ...

Free MP3 WMA Cutter

Free MP3 WMA Cutter can cut
MP3/WMA/WAV/OGG sound piece
from big audio format files
directly. You can add fade-in,


This module allows you to zip
all the attached files
contained in the nodes
displayed in the content


for details and for a 96-page
PDF format manual.


This plugin allows users to
express sentiments (a la
getsatisfaction.com, e.g.
happy, neutral, outraged etc.)

Figure to Simulink
subsystem mask icon

Creates a mask icon for a
Simulink subsystem from a
given figure


Creates a file in kmz format
that can be opened into Google

PHP Streamcast for Music
and Sound

PHP Streamcast is a front end
for a version of streamcast
(called stream-db) that will
use a database as a backend
for ...

Mathematical Modeling of

The project discusses the
problematics of making a
system of differential
equations describing the
transition processes ...

Double Sideband Amplitude

Double Sideband Amplitude
Modulation is a basic

Loved.by Pro

Would you like to be paid for
blogging or writing on your
website? It's simple! Loved.by
Pro will make any link to a


level shifting --> dct