Updated 7 May 2023
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: http://en.wikipedia.org/wiki/Binary_clock
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.
Giampiero Campa (2023). bvrclock (https://github.com/giampy1969/binary-vr-clock/releases/tag/v1.2), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- Simulink > Simulation >
- MATLAB > Graphics > 2-D and 3-D Plots > Animation >
- MATLAB > Language Fundamentals > Data Types > Dates and Time > Clocks and Timers >
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
See release notes for this release on GitHub: https://github.com/giampy1969/binary-vr-clock/releases/tag/v1.2
Now checks whether the virtual reality toolbox exist and whether the java machine is running before launching the clock.