Folly_Quincunx

Anything QL Software or Programming Related.
stevepoole
Super Gold Card
Posts: 714
Joined: Mon Nov 24, 2014 2:03 pm

Folly_Quincunx

Post by stevepoole »

Hi,

Renaissance artists painted romantic antique ruins. Victorian aristocrats built false ruins for their parklands, called 'follies'.

Here is a doodle screen-saver, based on the principle of the 'Galton NailBoard', that is, normal distribution of random values, also named 'Quincunx' !

Just LRUN it or ESCape to quit, Turbo-compiled with 5 Ko data, or interpreted. Tested on QPC2, SGC_qdos & SGC_smsq/e.

Builds your crazy follies for you...

Regards,
Steve.
folly_bas.zip
(614 Bytes) Downloaded 89 times


User avatar
NormanDunbar
Forum Moderator
Posts: 2273
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: Folly_Quincunx

Post by NormanDunbar »

Sounds interesting. Downloaded for lster investigation. Shame theres no QL emulator for my Android tablet! ;)

Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
stevepoole
Super Gold Card
Posts: 714
Joined: Mon Nov 24, 2014 2:03 pm

Re: Folly_Quincunx

Post by stevepoole »

Hi Norm,

Out of interest, can your tablet natively run programs written in Pascal or other languages ?

Steve.

________


User avatar
RalfR
Aurora
Posts: 872
Joined: Fri Jun 15, 2018 8:58 pm

Re: Folly_Quincunx

Post by RalfR »

NormanDunbar wrote:Sounds interesting. Downloaded for lster investigation. Shame theres no QL emulator for my Android tablet! ;)
Perhaps possible to run SMSQmulator under JBED.


4E75 7000
User avatar
Andrew
Aurora
Posts: 794
Joined: Tue Jul 17, 2018 9:10 pm

Re: Folly_Quincunx

Post by Andrew »

stevepoole wrote:Hi Norm,

Out of interest, can your tablet natively run programs written in Pascal or other languages ?

Steve.
Lazarus Free Pascal is a cross-platform compiler that can produce code for many operating systems, including Windows, Linux. Android. AmigaOS, MorphOS, AtariTOS, MacOS, iOS
Lazarus supports its own Object Pascal dialect, as well as the dialects of several other Pascal family compilers to a certain extent, including those of Turbo Pascal, Delphi, and some historical Macintosh compilers. The dialect is selected on a per-unit (module) basis, and more than one dialect can be used per program.


User avatar
NormanDunbar
Forum Moderator
Posts: 2273
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: Folly_Quincunx

Post by NormanDunbar »

Hi Steve,
stevepoole wrote:Out of interest, can your tablet natively run programs written in Pascal or other languages ?
well, I do have the gcc compiler suite running on it, yes, and I've compiled a couple of small test programs, but nothing much bigger than "Hello World" yet. Console based testing so far, I have no idea if it is possible to write GUI programs for Android in something that isn't HTML or Java. Mind you, I haven't paid much attention since I looked into development work on the Android platform some time back - and as it was all Java then, it was dire, slow and cumbersome. Maybe C/C++ will be better - I am aware that QT can be used to gevelop GUIs for Android. I use QT but I haven't installed any of the Android stuff. I also have no plans to do so either.


Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
User avatar
NormanDunbar
Forum Moderator
Posts: 2273
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: Folly_Quincunx

Post by NormanDunbar »

Hi Ralf,
RalfR wrote:Perhaps possible to run SMSQmulator under JBED.
Noted for later investigation, thank you.

Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
User avatar
NormanDunbar
Forum Moderator
Posts: 2273
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: Folly_Quincunx

Post by NormanDunbar »

Hi Andrew,
Andrew wrote:Lazarus Free Pascal is a cross-platform compiler that can produce code for many operating systems....
I used Lazarus many years ago on Linux when I was still coding with Delphi on Windows. Very similar indeed even back then. Unfortunately, I haven't used Pascal/Delphi for too many years and it may just have aged out of the cache!


Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
stevepoole
Super Gold Card
Posts: 714
Joined: Mon Nov 24, 2014 2:03 pm

Re: Folly_Quincunx

Post by stevepoole »

Hi Norman & All,

It is possible to transcribe some QL programs into JavaScript, and send them as email attatchments.

Then just click on the attatchment to run it (via the browser).

I have successfuly done this with the 'Shrink Travelling Salesman' program, which is quite long and complex !

Conversion is done by hand using Notepad++. 'QL' on a smartphone ?

Regards,
Steve.
___________


User avatar
NormanDunbar
Forum Moderator
Posts: 2273
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: Folly_Quincunx

Post by NormanDunbar »

stevepoole wrote:It is possible to transcribe some QL programs into JavaScript
I believe you, it's just that JavaScript and me, well, we don't get on very well. We never seemed to hit it off, even way back when it was still fun! ;)

Seriously, I just don't seem to be able to connect with JavaScript. I have a couple of books on the matter - somewhere, unless they are in the pile to go to the charity shop!


Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Post Reply