Virtual Reality Implementation of a Binary Clock


Updated 7 May 2023

From GitHub

View License on GitHub


View bvrclock on File Exchange

Binary virtual reality clock

Note: this should work on all versions with java machine until 23a. I'll revise it at some point to make sure it works for later versions.

Just type bvrclock at the command line to create and start this binary virtual reality clock.

The function opens a window in a virtual world, where 6 columns of appearing and disappearing golden balls are used to display the binary-coded sexagesimal time. Additional explanation is available in the function help as well as here:

Besides the (subjective) coolness factor, this function might be a good example on how to interact with a vrml file and on how to use timers and persistent variables. Finally it might be useful in acquiring and maintaining a practical knowledge of binary numeration.

Cite As

Giampiero Campa (2023). bvrclock (, GitHub. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

See release notes for this release on GitHub:

Now checks whether the virtual reality toolbox exist and whether the java machine is running before launching the clock.

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.