comp.lang.ada
 help / color / mirror / Atom feed
From: Eryndlia Mavourneen <eryndlia@gmail.com>
Subject: Re: Marble Clock
Date: Tue, 2 Apr 2013 12:54:43 -0700 (PDT)
Date: 2013-04-02T12:54:43-07:00	[thread overview]
Message-ID: <b3a57b60-3f54-4be7-ae4a-364914b8b827@googlegroups.com> (raw)
In-Reply-To: <e20eda83-2320-48ca-83da-b13d7df3dc1c@googlegroups.com>

On Tuesday, April 2, 2013 2:46:10 PM UTC-5, gattamaneni abhiram wrote:
> On Tuesday, 2 April 2013 08:02:45 UTC-4, John B. Matthews  wrote:
> 
> > In article <7075541f-01b7-4cd4-997f-b0b8048f067d@googlegroups.com>,
> 
> > 
> 
> >  gattamaneni abhiram <abhiram.gattamaneni@gmail.com> wrote:
> 
> > 
> 
> > 
> 
> > 
> 
> > > A marble clock is a clock that indicates the current time in a 
> 
> > 
> 
> > > 24-hour day using marbles to represent portions of the hour and 
> 
> > 
> 
> > > day. There are many different kinds of marble clocks, 
> 
> > 
> 
> > > distinguished by variations in the way the marbles represent 
> 
> > 
> 
> > > portions of the day. Our marble clock consists of five shallow 
> 
> > 
> 
> > > "trays" arranged one above the other. The bottom tray (the fifth 
> 
> > 
> 
> > > tray) serves as a marble "reservoir." Every minute, a winding 
> 
> > 
> 
> > > mechanism picks up one marble from the bottom tray, carries it to 
> 
> > 
> 
> > > the top of the clock and drops it into the top tray of the clock. 
> 
> > 
> 
> > > As a tray fills up, marbles fall through to lower level trays, as 
> 
> > 
> 
> > > described below. The current state of the marbles in the upper 
> 
> > 
> 
> > > four trays tells the current time.
> 
> > 
> 
> > 
> 
> > 
> 
> > For reference, an elapsed-time video of a three-tier version is 
> 
> > 
> 
> > seen here:
> 
> > 
> 
> > 
> 
> > 
> 
> > <http://www.scientificsonline.com/time-machine-ball-bearing-click.html>
> 
> > 
> 
> > 
> 
> > 
> 
> > -- 
> 
> > 
> 
> > John B. Matthews
> 
> > 
> 
> > trashgod at gmail dot com
> 
> > 
> 
> > <http://sites.google.com/site/drjohnbmatthews>
> 
> 
> 
> Do I need to use timer functions in the program to depict the changes in the places of the marbles in different trays?

I believe that would be the simpler way to do it.  Of course, you always can simulate the materials and workmanship of an actual clock with masses, gravitational acceleration, etc.  :-)

Note that the non-realtime timer in Ada is the "delay" statement:  "delay 3.1", for example, will delay for 3.1 seconds.

-- Eryndlia



  reply	other threads:[~2013-04-02 19:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-02  0:09 Marble Clock gattamaneni abhiram
2013-04-02 12:02 ` John B. Matthews
2013-04-02 19:46   ` gattamaneni abhiram
2013-04-02 19:54     ` Eryndlia Mavourneen [this message]
2013-04-03  9:14       ` Simon Wright
2013-04-03 12:45         ` Eryndlia Mavourneen
2013-04-03 16:53         ` Simon Wright
2013-04-12 22:28         ` gattamaneni abhiram
2013-04-13  5:51           ` Simon Wright
2013-04-13 19:04           ` Dennis Lee Bieber
2013-04-03 11:52     ` John B. Matthews
2013-04-03  7:44 ` Mike H
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox