Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Heisenberg might have been here.


devel / comp.lang.forth / Re: Real-time animated clock with eFORTH web

SubjectAuthor
* Real-time animated clock with eFORTH webMarc Petremann
`- Re: Real-time animated clock with eFORTH webLorem Ipsum

1
Real-time animated clock with eFORTH web

<b0ff1cfc-bb9e-494f-95f0-25ca08a0d9d6n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22934&group=comp.lang.forth#22934

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:260a:b0:72b:25b4:565f with SMTP id z10-20020a05620a260a00b0072b25b4565fmr2162571qko.5.1679177540360;
Sat, 18 Mar 2023 15:12:20 -0700 (PDT)
X-Received: by 2002:ad4:5908:0:b0:5a5:c0d:b620 with SMTP id
ez8-20020ad45908000000b005a50c0db620mr5595482qvb.1.1679177540082; Sat, 18 Mar
2023 15:12:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!85.12.63.48.MISMATCH!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Sat, 18 Mar 2023 15:12:19 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=90.37.77.109; posting-account=xbxuywoAAAASFWsQBmiz40gnxDBWDrxx
NNTP-Posting-Host: 90.37.77.109
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b0ff1cfc-bb9e-494f-95f0-25ca08a0d9d6n@googlegroups.com>
Subject: Real-time animated clock with eFORTH web
From: mpetrema...@gmail.com (Marc Petremann)
Injection-Date: Sat, 18 Mar 2023 22:12:20 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1242
 by: Marc Petremann - Sat, 18 Mar 2023 22:12 UTC

Hello,

I am pleased to present to you the very first web animation script made with eFORTH web. This program demonstrates that eFORTH can become a full-fledged web scripting language.

https://eforth.arduino-forth.com/article/examples_web_clock

Re: Real-time animated clock with eFORTH web

<07c1018e-88c6-4ba7-a9a1-5b1f0df22cb4n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22938&group=comp.lang.forth#22938

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a37:a84d:0:b0:746:5960:8d29 with SMTP id r74-20020a37a84d000000b0074659608d29mr1536045qke.7.1679205030119;
Sat, 18 Mar 2023 22:50:30 -0700 (PDT)
X-Received: by 2002:ac8:7d01:0:b0:3d8:2cb6:d21d with SMTP id
g1-20020ac87d01000000b003d82cb6d21dmr3045367qtb.6.1679205029847; Sat, 18 Mar
2023 22:50:29 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!85.12.63.47.MISMATCH!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Sat, 18 Mar 2023 22:50:29 -0700 (PDT)
In-Reply-To: <b0ff1cfc-bb9e-494f-95f0-25ca08a0d9d6n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=65.207.89.54; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 65.207.89.54
References: <b0ff1cfc-bb9e-494f-95f0-25ca08a0d9d6n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <07c1018e-88c6-4ba7-a9a1-5b1f0df22cb4n@googlegroups.com>
Subject: Re: Real-time animated clock with eFORTH web
From: gnuarm.d...@gmail.com (Lorem Ipsum)
Injection-Date: Sun, 19 Mar 2023 05:50:30 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2693
 by: Lorem Ipsum - Sun, 19 Mar 2023 05:50 UTC

On Saturday, March 18, 2023 at 6:12:21 PM UTC-4, Marc Petremann wrote:
> Hello,
>
> I am pleased to present to you the very first web animation script made with eFORTH web. This program demonstrates that eFORTH can become a full-fledged web scripting language.
>
> https://eforth.arduino-forth.com/article/examples_web_clock

Interesting. There seems to be a flaw in the algorithm that moves the minute and second hands. The seconds work their way around the dial, until it catches up with the minute hand. At that point, as the second hand lands on the minute hand, they both move forward one increment, together. So the second hand has moved two increments in one second.

This will cause the second hand to sweep a minute in just 59 seconds, while he minute hand loses a second each minute, so takes 61 of these fast "minutes", to sweep out an hour. Oddly, this will result in the clock being nearly correct, sweeping 3599 seconds in an hour... unless there is a similar action going on with the hour hand.

It's hard to say if the clock is fast or slow at the moment, since the minute hand increments in the middle of the minute as swept by the second hand. So it was showing 1:47:46 and one second later shows 1:48:48. Is that fast or slow when the real time is 1:47:59?

This makes my head hurt.

--

Rick C.

- Get 1,000 miles of free Supercharging
- Tesla referral code - https://ts.la/richard11209

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor