Code covered by the BSD License  

Highlights from
Bouncy Ball Clock

4.33333

4.3 | 3 ratings Rate this file 4 Downloads (last 30 days) File Size: 4.04 KB File ID: #15534
image thumbnail

Bouncy Ball Clock

by Brian Cody

 

09 Jul 2007 (Updated 25 Aug 2011)

Bouncy Ball Clock is a novel clock representation that uses four chambers of elastically colliding b

| Watch this File

File Information
Description

Bouncy Ball Clock uses four chambers of bouncing balls to represent the time. The upper-left hand chamber contains the same number of balls as the hour. The upper-right hand chamber contains the same number of balls as the minutes past the hour. The lower-left hand chamber has the same number of balls as the seconds past the minute. The lower-right hand chamber has one ball during the AM and two balls during the PM.

MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
09 Jul 2007 Xu maibi

good

10 Jul 2007 John D'Errico

Disappointing. In the release I tested it in (2006b, Mac) no figure actually appears, at least until I hit ctrl-c. Of course then ctrl-c tends to inhibit the clock activity.

Beyond that, use of a global variable (named data!) here for no good reason seems to be poor programming style. I'd expect better here. I won't offer a rating because I could not actually test the clock.

10 Jul 2007 Duane Hanselman

An observation: The programming expertise of new Mathworks employees does not match the minimum expectations of long MATLAB users. Maybe Brian is working in food service, building maintenance, or is a summer college intern at TMW. A disclaimer acknowledging his position would help sooth the feelings of the long timers here who find this submission well below minimum expectations.

31 Jan 2012 vj

Amazing work!!!!!!!!!!!!!!!!!!!!!!!!

03 Apr 2012 Mr Smart  
Please login to add a comment or rating.
Updates
11 Jul 2007

Updating per suggestion to not leave timer object when the CloseRequestFcn is bypassed.

25 Aug 2011

Updated copyright.

Tag Activity for this File
Tag Applied By Date/Time
clock Brian Cody 22 Oct 2008 09:18:48
fun Brian Cody 22 Oct 2008 09:18:48
clock collision Brian Cody 22 Oct 2008 09:18:48
novel Brian Cody 22 Oct 2008 09:18:48
utilities Brian Cody 22 Oct 2008 09:18:48
ball Brian Cody 22 Oct 2008 09:18:48
bouncy Brian Cody 22 Oct 2008 09:18:48
fun Patrick Kalita 17 Apr 2009 13:57:30
ball Bassam 13 Dec 2010 17:37:58

Contact us at files@mathworks.com